Which language is chosen now?
Feb 3, 2012 2:33 pm by Onuphriy
Feb 3, 2012 2:33 pm by Onuphriy
Hi. I have some modules in Joomla which always show in original language because they show by the javascript. I can change in this javascript code string `var lang="ru"` to `var lang="en"` but how could I know which language is chosen by the user? Is there come global variable in php code which can get the chosen langueage?
Thanks. Sorry for my weak English.
Re: Which language is chosen now?
Feb 3, 2012 2:47 pm by Yana
Feb 3, 2012 2:47 pm by Yana
Hi,
You can read this: url-language-code-t320.html
Which will enable you to access the selected language from _GET parameter.
SIMILAR TOPICS
Large numbers of crawl errors with double language code | Jan 24, 2019 1:43 am | Replies: 1 | Post by: natastna2 |
Translate website to any specific language, on page load | Jan 19, 2019 6:49 am | Replies: 1 | Post by: Leaon7756 |
Graphic translation for every language is missing | Dec 19, 2018 7:54 am | Replies: 1 | Post by: Daryl Dixon |
How to remove mobile Language Select Button transparency | Dec 5, 2018 10:06 pm | Replies: 10 | Post by: JeffTR |
Change language automatically | Nov 26, 2018 9:29 pm | Replies: 3 | Post by: Antilb |