I just try to translate my symfony 2.3 website, but I have an issue that I can not understand.
Here are my steps:
Now, 60% of my XLIFF is translated in french, And when I try to test the result, symfony does not use my file (in the cache folder I just have catalogue.en.php)
I'm working on this for hours and I reaaly don't know why it does not work.
Thank in advance for your help.
Thanks to meteor, I understood why my listener was not working.
Here is how I set my local to make it work in all cases:
$request->attributes->set('_locale', $locale);
$request->getSession()->set('_locale', $locale);
$request->setLocale($locale);