Which language is chosen now?

Popular automatic website translation tool

Which language is chosen now?

Postby Onuphriy » Fri Feb 03, 2012 6:33 pm

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.
Posts: 25
Joined: Mon Apr 04, 2011 1:09 pm

Re: Which language is chosen now?

Postby Yana » Fri Feb 03, 2012 6:47 pm

You can read this: url-language-code-t320.html
Which will enable you to access the selected language from _GET parameter.

Yana Ghahramanyan - GTranslate Team

Please leave your feedback on your CMS plugin directory. It is very important for us!
Google Translate Joomla
Google Translate WordPress
Google Translate Drupal
Posts: 4091
Joined: Thu Jan 12, 2012 6:21 pm

  • Related Topics
    Last post

Who is online

Users browsing this forum: No registered users and 0 guests