Update the getCurrentLanguage.