Know what is the language of the current page
PermalinkThe code for that would be:
Loader::model('section', 'multilingual'); $lang = MultilingualSection::getCurrentSection()->getLanguage();
Loader::model('section', 'multilingual'); $lang = strtolower(MultilingualSection::getCurrentSection()->getLocale());
Let me know if you need more help