is_rtlΒΆ

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).

Previous topic

is_not_a

Next topic

is_undefined

Versions

Actions