ui_locale.html 646 B

12345678910111213141516
  1. <fieldset>{{- '' -}}
  2. <legend id="pref_ui_locale">{{- _('Interface language') -}}</legend>{{- '' -}}
  3. <div class="value">{{- '' -}}
  4. <select name='locale' aria-labelledby="pref_ui_locale">{{- '' -}}
  5. {%- for locale_id,locale_name in locales.items() | sort -%}
  6. <option value="{{ locale_id }}"
  7. {%- if locale_id == current_locale %} selected="selected" {%- endif %}>
  8. {{- locale_name -}}
  9. </option>{{- '' -}}
  10. {%- endfor -%}
  11. </select>{{- '' -}}
  12. </div>{{- '' -}}
  13. <div class="description">
  14. {{- _('Change the language of the layout') -}}
  15. </div>{{- '' -}}
  16. </fieldset>{{- '' -}}