Replaced getDefaultLocale() with getDefaultLanguage()