Chnge direction on fly
Aug 11, 2016 4:09 am by peaceandlove
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
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 page | Feb 22, 2015 8:22 am | Replies: 1 | Post by: noorantel |
translation to sub direction | Sep 27, 2013 3:37 pm | Replies: 4 | Post by: hjrobert |
Error for enterprise [solved] how we do 301 direction ? | Aug 20, 2013 9:00 am | Replies: 3 | Post by: hjrobert |