Replace Language::factory( $wgLanguageCode ) by $wgContLang