I have a client who wishes to have a Translatable Arabic version of their 2.3.3 SS site.
Has anyone worked with a RTL translation? I assume that the template will need to change to allow for dynamic orientation of the text as per this article: http://www.w3.org/International/tutorials/bidi-xhtml/ (adding a dir="rtl" attribute to the HTML tag on the fly)
Other than that, I assume the process is the same as for a LTR language? But what about in terms of writing content in the CMS? Obviously writing translations in Arabic in the default LTR orientation is a-kin to me writing this post backwards?
I'm currently working on a multilingual website with Arabic and French. I made Arabic as the default and created a ltr.css file which get loaded when the user switches to French pages. In the main stylesheet I set direction to rtl and text-align to justify. That works great for me. As for the tinyMCE is set to LTR by default, I changed the directionality option to RTL in mysite/code/page.php. That's however, is not the final solution because I'll have to change the directionality back to LTR when I want to translate a page to french.. it would be great if we can change the directionality otion in the admin CMS.
thank you for the link..I didn't know actually that dir attribute in <html> is better than the direction attribute in css. So in my case after doing some adjustements to my code, this if statement does the trick :
My client is not paying for this mod at present and I am under the pump on another project. So I'd be interested to know how you get on. As a non-Arabic speaker, I would also be interested to know if the interface layout of the CMS is ideal when the language is set to Arabic. I notice that navigation elements are still LTR.