summaryrefslogtreecommitdiff
path: root/searx/templates/simple/languages.html
diff options
context:
space:
mode:
Diffstat (limited to 'searx/templates/simple/languages.html')
-rw-r--r--searx/templates/simple/languages.html8
1 files changed, 8 insertions, 0 deletions
diff --git a/searx/templates/simple/languages.html b/searx/templates/simple/languages.html
new file mode 100644
index 000000000..dd928ff68
--- /dev/null
+++ b/searx/templates/simple/languages.html
@@ -0,0 +1,8 @@
+<select class="language" id="language" name="language" tabindex="2">{{- '' -}}
+ <option value="all" {% if current_language == 'all' %}selected="selected"{% endif %}>{{ _('Default language') }}</option>
+ {%- for lang_id,lang_name,country_name,english_name in language_codes | sort(attribute=1) -%}
+ <option value="{{ lang_id }}" {% if lang_id == current_language %}selected="selected"{% endif %}>
+ {{- lang_name }} {% if country_name %}({{ country_name }}) {% endif %}- {{ lang_id -}}
+ </option>
+ {%- endfor -%}
+</select>