fazlurr
5/8/2014 - 5:24 AM

Get current language - qTranslate From : http://www.openscriptsolution.com/cms/wordpress/how-to-get-current-language-code-by-using-qtranslat

<?php
if(qtrans_getLanguage()=='en') {
  // put your code here if the current language code is 'en' (English)
} elseif(qtrans_getLanguage()=='id') {
  // put your code here if the current language code is 'id' (Indonesian)
}
?>