diff --git a/templates/_navbar.html.twig b/templates/_navbar.html.twig index e6e96dd3..03e04632 100644 --- a/templates/_navbar.html.twig +++ b/templates/_navbar.html.twig @@ -68,12 +68,7 @@
- {% for locale in locale_menu %} - - {{ locale|language_name }} ({{ locale|upper }}) - {% endfor %} + {# This menu is filled by 'turbo/locale_menu' controller from the _turbo_control.html.twig template, to always have the correct path #}
diff --git a/templates/_turbo_control.html.twig b/templates/_turbo_control.html.twig index ec203884..35140f62 100644 --- a/templates/_turbo_control.html.twig +++ b/templates/_turbo_control.html.twig @@ -22,7 +22,7 @@
{% for locale in locale_menu %} - {{ locale|language_name }} ({{ locale|upper }}) {% endfor %}