Which event is triggered when the language of the app changes

I would like to change the value of some session variable when the user switches from one language of the app to another. e.g: From French to English.

How can I do that?