is_rtl¶
- Module: mod_translation
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
).