{% load i18n %}
{% if languages|length > 1 %}
<!--
    Make Language list with no piped separator
-->
<div class="languages languages--fixed-header">
  <ul class="language-list language-list--standard-center">
  {% for language in languages %}
    <li class="language-list__item language-list__item--standard-center">
      <a href="{% url 'locale_set' language.locale %}?next={{request.path}}{% if request.GET.urlencode %}?{{ request.GET.urlencode }}{% endif %}" class="language-list__anchor language-list__anchor-standard-center {% if request.LANGUAGE_CODE == language.locale %} is-active {% endif %}">
        {{language.locale|language_name_local}}
      </a>
    </li>
  {% endfor %}
  </ul>
</div>
{% endif %}
