Skip Navigation

This is the technical support forum for WPML - the multilingual WordPress plugin.

Everyone can read, but only WPML clients can post here. WPML team is replying on the forum 6 days per week, 22 hours per day.

Tagged: 

This topic contains 3 replies, has 2 voices.

Last updated by Prosenjit Barman 1 year, 8 months ago.

Assisted by: Prosenjit Barman.

Author Posts
September 25, 2023 at 10:46 am #14457237

trineR-6

I am trying to translate the website to Persian and Arabic, but the alignment and reading direction of those languages messes with the alignment and skews the entire site.
I have attached three pictures.
What the layout is supposed to look like (ignore the mix of Danish and English, that's a different issue)
And what happens when i duplicate this website to Persian.

hidden link
hidden link
These two links should help you see the issue further.

What do I do?

Persian 5.png
Persian 4.png
engelsk.png
September 27, 2023 at 7:12 am #14470635

Prosenjit Barman
WPML Supporter since 03/2023

Languages: English (English )

Timezone: Asia/Dhaka (GMT+06:00)

Hello There,
Thanks for contacting WPML Support.

I understand the issue you're having and will try my best to assist you in this matter.

Please be aware that for RTL languages, it's essential for the theme to offer proper RTL support to make sure the text is presented correctly on the Frontend. While WPML assists you in proper RTL language translation, the correct visualization and presentation on the frontend rely solely on the theme's RTL capabilities.

However, I checked your site but haven't found the Persian or Arabian language in the Language Switcher. Could you please share the link to an Arabic/Persian page where I can see the issue that you've mentioned? I will check properly and let you know the next steps.

Looking forward to your response.

Best regards,
Prosenjit

September 27, 2023 at 7:54 am #14471081

trineR-6

I have Persian hidden from users, I figured sending a link to that version would be enough.
I can unhide it for a few hours today so you can look around, would that suffice?
I don't mind doing it now if you have the time to take a look.

September 28, 2023 at 7:48 am #14479387

Prosenjit Barman
WPML Supporter since 03/2023

Languages: English (English )

Timezone: Asia/Dhaka (GMT+06:00)

Hello There,
Thanks for unhiding the Persian language.

I have thoroughly checked and found that the issue is happening due to not defining the CSS code properly for the RTL version in the Theme. Upon adjusting them from the browser console, everything started to show properly. Please check this video for a better understanding: hidden link

Since the CSS needs to be adjusted for the RTL version within the theme, It is recommended to reach out to the theme author or support and consult with them regarding this matter.

You can modify the CSS by following the video I provided. However, please note that assisting with custom code or issues related to third-party themes or plugins is outside our support scope, so my ability to help further in this regard is limited. I hope you can understand.

Let me know if there is anything else you need help. I will be happy to assist.

Best Regards,
Prosenjit