dynamicweb/templates/cms/digitalglarus/partials/language-chooser.html
2016-03-07 19:20:45 +01:00

9 lines
322 B
HTML

{% load i18n menu_tags %}
{% if languages|length > 1 %}
{% for language in languages %}
<li class="lang{% if current_language == language.0 %} active{% endif %}">
<a href="{% page_language_url language.0 %}" title="{% trans "Change to language:" %} {{ language.1 }}">{{ language.1 }}</a>
</li>
{% endfor %}
{% endif %}