Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
QUESTION Two different language NewsManager
#6
(2014-06-25, 03:38:44)mvlcek Wrote:
(2014-06-24, 23:14:19)themk Wrote: TFinally, I would like to ask how i can get the current language of the page? I know how to change it using return_i18n_setlang_url, but dont know how to "read" the current language. Is there a proper function to get the language?

There is a global variable with the language:
Code:
<?php
global $language;
...
?>

Thanks a lot!
Reply


Messages In This Thread
Two different language NewsManager - by themk - 2014-06-17, 22:39:19
RE: Two different language NewsManager - by themk - 2014-06-24, 23:14:19
RE: Two different language NewsManager - by themk - 2014-06-26, 09:23:54



Users browsing this thread: 1 Guest(s)