11 lines
290 B
Twig
11 lines
290 B
Twig
<select id="language-chooser">
|
|
{% for code, locale in config('locales') %}
|
|
{% if locale.alias is empty %}
|
|
<option
|
|
value="{{ code }}"
|
|
{{ code == app.getLocale() ? 'selected="selected"' }}
|
|
>{{ locale.name }}</option>
|
|
{% endif %}
|
|
{% endfor %}
|
|
</select>
|