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