Added possibility to change locale from login/register pages

This commit is contained in:
Nicolas Lœuillet
2017-06-12 17:23:35 +02:00
committed by Jeremy Benoist
parent 43b6f3a8a8
commit be417ef236
6 changed files with 31 additions and 3 deletions

View File

@ -15,6 +15,11 @@
{% block fos_user_content %}
{% endblock fos_user_content %}
</div>
<div class="center">
<a href="{{ path('changeLocale', {'language': 'de'}) }}">Deutsch</a>
<a href="{{ path('changeLocale', {'language': 'en'}) }}">English</a>
<a href="{{ path('changeLocale', {'language': 'fr'}) }}">Français</a>
</div>
</div>
</main>
{% endblock %}