Skip Navigation

This thread is resolved. Here is a description of the problem and solution.

Problem:
The client wants to change the text direction of all languages on their website to left-to-right (LTR), even for languages that are typically right-to-left (RTL), such as Arabic.
Solution:
We explained that WPML allows for the translation of content into RTL languages but does not control the RTL layout, which is determined by the WordPress theme's CSS rules. To overwrite these rules and set all languages to LTR, custom CSS code is required. This task falls outside our support policy, so we recommended that the client contact the support team of their theme for assistance. Additionally, we provided documentation and a custom Google search URL to help understand the process:

If this solution does not seem relevant, please open a new support ticket with us.

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 1 reply, has 2 voices.

Last updated by Mihai Apetrei 1 year, 4 months ago.

Assisted by: Mihai Apetrei.

Author Posts
December 9, 2023 at 5:17 pm #15029727

muhammedA-7

i'm translating my website and i want to make all languages' direction to be left to right instead of being english ltr and arabic rlt .. is there any way that i can do that ?

December 9, 2023 at 8:55 pm #15029931

Mihai Apetrei
Supporter

Languages: English (English )

Timezone: Europe/Bucharest (GMT+03:00)

Hi there.

Before this ticket gets assigned to my colleagues, I will try to help.

While WPML lets you easily translate your content into RTL languages, it doesn’t control the RTL layout of your theme. The display of right-to-left content is determined by the CSS rules of your WordPress theme.

So those CSS rules that come from the theme that you are using would need to be overwritten with Custom CSS code (this needs custom work and falls out of our Support Policy).

My recommendation is to get in touch with the Support team of the company that built your theme and ask for their help in overwriting this behavior.

We also have some amazing documentation available below that explains things in a bit more depth:

- https://wpml.org/faq/does-wpml-have-rtl-support-right-to-left

- https://wpml.org/documentation/theme-compatibility/build-rtl-wordpress-themes/

Also, please take a look at the results of this custom search URL that I created for you:
hidden link

I hope that you will find all that information helpful.

Mihai Apetrei