Template source: languages/_language_filters.html

{% load i18n %} <ul class="text-center"> <li {% if current_selection == 'all' %}class="active"{% endif %}><a href="{{ request.path }}">{% trans 'All' %}</a></li> {% for language in languages %} <li {% if current_selection == language.0 %}class="active"{% endif %}> <a href="?l={{ language.0 }}">{{ language.1 }}</a> </li> {% endfor %} </ul>