My application uses the sfDoctrineGuardPlugin to secure the application and force uses to login to access. How do I enable the i18n features in Symfony so that users can get different language when they login?
As per the Symfony Internationalization document I added the following to my settings.yml:
all:
.settings:
charset: utf-8
i18n: true
standard_helpers: [Partial, Cache, I18N]
and the following routes to my routing.yml:
But when I got to /fr/ all is still stubbornly in English.
What am I missing?
The things you did to enable i18n seems to be sufficient.
Did you translate the messages? Translations are not included in the plugin.