DEV Community

Quentin Dequippe
Quentin Dequippe

Posted on

Locale based on the user's Preferences

Locale based on the user's Preferences

1

I try to set the locale based on user settings (i.e "language" property in User Entity) but it failed on first request (with user authenticated) because the LocaleListener (and TranslatorListener also) is called before FirewallListener.

I tried this example Making the Locale "Sticky" during a User's Session but on first…

Top comments (0)