language

Return the language the resource (or translated text) will be displayed in.

Example:

{{ id|language }}

The languages of the resource will be fetched and using the currently selected interface language (variable z_language) the language for the resource to be displayed in will be returned.

Edit on GitHub

is_rtl Translation language_sort

Referred by

Filters

Filters transform template variables before they are rendered.