jlang
This variable is a proxy of Factory::getLanguage(). It allows to access the active language inside twig layouts.
Returns
Joomla\CMS\Language\Language
The active language.
Examples
{#
Use active language tag inside a layout. Will print something like:
Active language is en-GB
#}
<pre>Active language is {{ jlang.getTag() }}</pre>