<form data-action="{{ path('change_locale') }}" method="post">
{# <div class=" ">
<select class="forDesktop language_switcher">
{% for language in languages %}
<option value="{{ language.id }}" name="{{ language.id }}" {% if app.request.locale == language.code %} selected {% endif %} >
{{ language.name }}
</option>
{% endfor %}
</select>
<select class="forMobile language_switcher">
{% for language in languages %}
<option value="{{ language.id }}" name="{{ language.id }}" {% if app.request.locale == language.code %} selected {% endif %}>
{{ language.code | upper }}
</option>
{% endfor %}
</select>
</div> #}
</form>