{% if languages|length > 1 %}
<div class="footer-languages footer-languages{{ extra_classes }}">
  {% trans "Language" %}:

  {% for language in languages %}
    <a href="{% url 'locale_set' language.locale %}?next={{request.path}}{% if request.GET.urlencode %}?{{ request.GET.urlencode }}{% endif %}" class="languages__item {% if request.LANGUAGE_CODE == language.locale %} languages__item--active{% endif %}">{{ language }}</a>
  {% endfor %}
</div>
{% endif %}
