Fix getLanguage.