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.

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

Problem: you need to create a RTL site

Solution: WPML automatically switch to RTL if the theme supports it

Relevant Documentation: https://wpml.org/documentation/theme-compatibility/build-rtl-wordpress-themes/ https://wpml.org/pt-br/2011/06/creating-right-to-left-rtl-wordpress-sites/

This topic contains 3 replies, has 3 voices.

Last updated by khalidf 1 year ago.

Assigned support staff: Laura.

Author Posts
October 12, 2018 at 1:47 pm #2812221

yusufK-2

Tell us what you are trying to do?

I have a multilingual wordpress site and I want to publish Arabic / rtl posts beside of my latin/ltr posts. Therefore O need to change ltr to rtl for only Arabic posts without any effect/change on the theme and other posts in different languages. I couldn't find a proper info regarding how to do this, hope there is an easy way.

Many thanks,

Yusuf

Is there any documentation that you are following?

Is there a similar example that we can see?

What is the link to your site?

October 15, 2018 at 9:29 am #2816767

Laura
Supporter

Languages: English (English ) Italian (Italiano ) Portuguese (Brazil) (Português )

Timezone: Europe/Rome (GMT+02:00)

Hi,

WPML should automatically switch your layout to RTL when you use Arabic. Just check that your theme is RTL compatible, otherwise, there could be some issues, but in most cases, they can still be fixed.

You may want to check our documentation: https://wpml.org/documentation/theme-compatibility/build-rtl-wordpress-themes/
https://wpml.org/pt-br/2011/06/creating-right-to-left-rtl-wordpress-sites/

Let me know if this helps you or if you need further assistance.

October 15, 2018 at 10:10 pm #2818913

yusufK-2

My issue is resolved now. Thank you!

October 19, 2018 at 5:43 am #2830573

khalidf

Hi,
I am writing in this ticket because i am asking about the same thing ..
@ Laura, Actually i am not a dev, and i browsed the links that you shared .. and for "Displaying the Site in RTL and LTR" i didn't understand where exactly should i place
<html <?php language_attributes(); ?>>
I placed in the header and did nothing ..
could you clarify it to me please .. because i have RTL languages with different countries but their layout appears LTR despite the main language in the home page is RTL Layout.

Thanks