Template source: languages/_language_selector.html

{% load languages_tags %} <button data-toggle="dropdown" aria-haspopup="false" aria-expanded="false">{{ current_language }}</button> <ul class="dropdown-menu"> {% for l in languages %} <li> <a href="{% change_lang_django l.0 %}">{{ l.0 }}</a> </li> {% endfor %} </ul>