Reputation:
WordPress is so powerful.. but yet it is so weak with RTL Languages like Arabic and Hebrew... I need to have the Front-End in Arabic and Admin area to stay in English and of course LTR.. If I use the Arabic version of WordPress. Everything including the admin area will be in Arabic and RTL. which will not be suitable at all. In the same time. Visually editing an Arabic post should be in RTL while the HTML view should be LTR..
I can see that MU version on wordpress.com can have admin area in English while the frontend is in Arabic.
How to do that?
Upvotes: 3
Views: 9810
Reputation: 201
If you have access to the file system where the site is hosted:
./wp-content/themes/{THEME_NAME}/
.style.css
" & "style-rtl.css
", depending on the theme and if it supports RTL).This way RTL is only applied to the theme.
Upvotes: 0
Reputation: 15423
The general steps to add RTL are:
Here is a full guide: https://torquemag.io/2018/03/rtl-support-wordpress/
For a successfully RTL site example, check out this one.
Upvotes: 0
Reputation: 38699
WordPress's back end can handle Arabic just fine, with both the editor and the database itself. If you want the front end to display in Arabic you'll need to use/develop a theme that uses Arabic.
If your blog is Arabic-only, you can add a CSS class to the div surrounding the post in the blog template file that sets the text-direction to ltr. If you use Arabic and English, you can set an if statement to decide what direction each post needs to be based on a custom field you add to the post from the back end.
Upvotes: 3
Reputation: 11
I had the same issue. The blog is in Arabic, and the admin back-end is in English.
If you are using Firefox, you can simply overcome this problem by clicking Switch Text Direction from the right-click menu on the TinyMCE.
Upvotes: -1