Switching between ltr- and rtl-mode

Talk about writing modules and plugins for CMS Made Simple, or about specific core functionality. This board is for PHP programmers that are contributing to CMSMS not for site developers
Post Reply
maher

Switching between ltr- and rtl-mode

Post by maher »

Hi all,

i am working on a translation of the CMSms 1.2.3 into Arabic and matching it to the right-to-left direction. More about that under: http://dev.cmsmadesimple.org/projects/arabic/.

Switching from the (default) ltr-mode to the rtl-mode by choosing of an rtl-language (such as Arabic) after adding of the direction-string

Code: Select all

$nls['direction'] = 'rtl';
to the arabic language file ar_SA.nls.php to make use of style-rtl.css is working properly.

Switching from rtl to ltr (by choosing German within the rtl-mode for example) does not work. I just get the german language within the rtl-mode, a matter that has no sense.

What is to do to get the default ltr-mode working when i choose an ltr-language within the rtl-mode?

Thanks for any help.
Last edited by maher on Sat Jan 19, 2008 1:23 am, edited 1 time in total.
Post Reply

Return to “Developers Discussion”