My project is in Symfony 3.2.6 and I try to generate the i18n routes in production mode with BeSimpleI18nRoutingBundle.
In dev mode, it's ok.
But in production mode, routes generated are always in same locale (the current).
(I already clear the cache)
I use these links to switch :
<a href="{{ path(app.request.attributes.get('_route'), {'locale': 'fr'}) }}">fr</a>
<a href="{{ path(app.request.attributes.get('_route'), {'locale': 'en'}) }}">en</a>
Do you have any idea ?
Thank you in advance.