How to find when qtranslate plugin’s language changes? [closed]

From qTranslate’s official support forums

The function to get the current language is qtrans_getLanguage()