2014-06-26, 09:23:54
(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!