How to determine current active language in qtranslate plugin? [closed]

You can use the qtrans_getLanguage() function.

$currentLang = qtrans_getLanguage();

return the current language. See this link for an example

Leave a Comment