Requires {% load i18n %}
Add {% load i18n %} near the top of any template that
uses {% get_current_language_bidi %}. Without it Django does not
know the name and raises TemplateSyntaxError.
True when the active language is written right to left, so a template can flip its layout without hardcoding a list of languages.
Template
{% load i18n %}
{% get_current_language_bidi as LANGUAGE_BIDI %}
<html dir="{% if LANGUAGE_BIDI %}rtl{% else %}ltr{% endif %}">
