Manual:$wgLang

Details
The user language object is the language object selected in user preferences. It is one of two global language objects, the other being $wgContLang.