is_rtl
See also
Check if the given language is a rtl or ltr language.
Example:
{% if z_language|is_rtl %}
You are browsing in an RTL language
{% endif %}
It currently returns true only for Arabic (ar), Farsi (fa) and Hebrew (he).
See also
Check if the given language is a rtl or ltr language.
Example:
{% if z_language|is_rtl %}
You are browsing in an RTL language
{% endif %}
It currently returns true only for Arabic (ar), Farsi (fa) and Hebrew (he).
Filters transform template variables before they are rendered.