getPreferredLanguageCode() fix