Android get device locale
问题 Upon installation of my Android program I check for device locale: String deviceLocale=Locale.getDefault().getLanguage(); If deviceLocale is inside my supported languages (english, french, german) I don't change locale. But for instance say that if I don't support device's language: for example spanish. I set current locale to English, because most of the people can understand English partly. Locale locale = new Locale("en"); Locale.setDefault(locale); Configuration config = new Configuration