qTranslate-X – Get the current language code

For those of you who use the qTranslate-X plugin for WordPress, there is a snippet with which you can get the code of the current language.

You can see the language code in the “Languages” tab in the plugin’s settings.

© Copyright 2014 - All rights reserved