fixed translator locale management

When using fragments, the locale was not updated correctly. Also, when using the web profiler, the translator is created early on (before the handling of a request), and so the locale was always `en` (see silexphp/Silex-WebProfiler#23).