languages.html 522 B

123456789
  1. <select class="language" id="language" name="language" tabindex="2">{{- '' -}}
  2. <option value="all" {% if current_language == 'all' %}selected="selected"{% endif %}>{{ _('Default language') }}</option>
  3. {%- for lang_id,lang_name,country_name,english_name in language_codes | sort(attribute=1) -%}
  4. <option value="{{ lang_id }}" {% if lang_id == current_language %}selected="selected"{% endif %}>
  5. {{- lang_name }} {% if country_name %}({{ country_name }}) {% endif %}- {{ lang_id -}}
  6. </option>
  7. {%- endfor -%}
  8. </select>