Description
Hello!
For a new project I tried to use 2.6.x-dev already and the locale detection from a route does not work in 2.6. So i changed back the symfony version from "2.6.x-dev" to "~2.5" in the composer.json and now the locate detection works as expected.
To reproduce the problem, I created a fork from symfony-standard and rebuilt it in a DemoLocaleBundle.
https://github.com/sebastianblum/symfony-standard/tree/master
The Controller is the following:
https://github.com/sebastianblum/symfony-standard/blob/master/src/Demo/LocaleBundle/Controller/DefaultController.php
The output:
/de: I'm the english text - Locale as Controller argument: de
/en: I'm the english text - Locale as Controller argument: en
With 2.5.5 the unit tests are running,
With 2.6.x-dev not.
Thank you very much, sebastian