fixed translator
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.
Showing
Please register or sign in to comment