Permalink
Fetching contributors…
Cannot retrieve contributors at this time
16 lines (9 sloc) 299 Bytes

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