logo

searx

My custom branche(s) on searx, a meta-search engine git clone https://hacktivis.me/git/searx.git

languages.html (522B)


  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>