Weird issue, translations works if logged in, if not then didn't work in Symfony 2.5.6
问题 I come here with this weird issue around Symfony2 translations since I don't know what else to do. As title says "translations works if a user is logged in, otherwise doesn't. Here is what I've done: Set default locale and translator at config.yml : framework: translator: { fallback: "%locale%" } default_locale: "%locale%" Set locale value at parameters.yml locale: es Set language at base template: <html lang="{{ app.request.locale }}"> Check locale after page loads in Twig template where