mirror of
https://github.com/searxng/searxng.git
synced 2024-08-25 07:20:15 +02:00
9 lines
573 B
HTML
9 lines
573 B
HTML
<select class="language" id="language" name="language" aria-label="{{ _('Search language') }}">{{- '' -}}
|
|
<option value="all" {% if current_language == 'all' %}selected="selected"{% endif %}>{{ _('Default language') }}</option>
|
|
{%- for lang_id,lang_name,country_name,english_name,flag in language_codes | sort(attribute=1) -%}
|
|
<option value="{{ lang_id }}" {% if lang_id == current_language %}selected="selected"{% endif %}>
|
|
{% if flag %}{{ flag }} {% endif%} {{- lang_name }} {% if country_name %}({{ country_name }}) {% endif %}
|
|
</option>
|
|
{%- endfor -%}
|
|
</select>
|