Skip to content

Commit

Permalink
Merge pull request #70 from keitaroinc/language-selector
Browse files Browse the repository at this point in the history
Change the language selector
  • Loading branch information
blagojabozinovski authored Apr 8, 2024
2 parents 5d11fdf + 60e97af commit 7f779b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ckanext/kepa/templates/snippets/language_selector.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<select id="field-lang-select" name="url" data-module="autocomplete" data-module-dropdown-class="lang-dropdown" data-module-container-class="lang-container">
{% for locale in h.get_available_locales() %}
<option value="{% url_for h.current_url(), locale=locale.short_name %}" {% if locale.short_name == current_lang %}selected="selected"{% endif %}>
{{ locale.short_name or locale.english_name }}
{{ locale.display_name }}
</option>
{% endfor %}
</select>
Expand Down

0 comments on commit 7f779b7

Please sign in to comment.