Issue #2033983 by balagan, YesCT: Improve code organization in LanguageNegotiator::updateConfiguration()