• Fabien Potencier's avatar
    fixed translator · 712375b9
    Fabien Potencier authored
    As of Symfony 2.5.2, Translator::__construct() calls setLocale.
    As the Silex Translator calls it with null and because we synchronize
    the translator language with the app one, the locale was always
    set to null when calling the translator for the first time, overriding
    the current app locale.
    712375b9
Name
Last commit
Last update
bin Loading commit data...
doc Loading commit data...
src/Silex Loading commit data...
tests Loading commit data...
.gitignore Loading commit data...
.travis.yml Loading commit data...
LICENSE Loading commit data...
README.rst Loading commit data...
composer.json Loading commit data...
phpunit.xml.dist Loading commit data...