Symfony: Set language based on user’s setting
When using localization in a web application it might be useful to store user’s language in database so that every time they log in to the application they get the interface in the language they are used to. Let’s see how to do that in Symfony.