Forum Archive - Chnge direction on fly

Chnge direction on fly
Aug 11, 2016 4:09 am by peaceandlove
We had 2 languages english and arabic. What we want when some body click arabic the template should also be chage to RTL and one we click english it back tp LTR How Possible? Found this http://forum.joomla.org/viewtopic.php?f=485&t=517231 but where to put that code i am not sure
Re: Chnge direction on fly
Aug 11, 2016 12:18 pm by Yana
Hi, If your template requires customization based on selected language, then you can detect the current language code from X-GT-Lang header and do your customization based on that. It will require some programming skills: You can find the current selected language code from X-GT-Lang request header. You can find it in _SERVER['HTTP_X_GT_LANG'] variable."

SIMILAR TOPICS

Change Direction pageFeb 22, 2015 8:22 amReplies: 1Post by: noorantel
translation to sub directionSep 27, 2013 3:37 pmReplies: 4Post by: hjrobert
Error for enterprise [solved] how we do 301 direction ?Aug 20, 2013 9:00 amReplies: 3Post by: hjrobert

Try GTranslate with a free 15 day trial