Manual:$wgLang

The User Language object is the language object selected in User Preferences. It is one of two global language objects, the other being $wgContLang