1👍
✅
No, this isn’t to do with cookies. It’s rather that the code that activates the language based on the session value lives in the LocaleMiddleware, and that is run before the view. If you want to change the language for your current view, you need to do it manually:
translation.activate(profile.language)
Source:stackexchange.com