Change language programmatically after login I have a multilingual site and I want to change the language programmatically after user login to his own language to see all the content in his language.

How can I do this?
It should not be necessary to do it from code, as one of the settings present in admin/config/regional/language/configure allows to set the language to the one selected from the users in their user profile settings.