Switching between ltr- and rtl-mode
Posted: Fri Jan 18, 2008 11:45 pm
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
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.
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';
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.