{% if app.session.get('_locale') == 'fr' %}
    <a id="menu-translation" href="{{ path('app_locale_change', {_locale:'en'}) }}">{{ 'NAV_LOCALE'|trans({}, "messages", app.session.get('_locale')) }}</a>
{% else %}
    <a id="menu-translation" href="{{ path('app_locale_change', {_locale:'fr'}) }}">{{ 'NAV_LOCALE'|trans({}, "messages", app.session.get('_locale')) }}</a>
{% endif %}