Skip to content
Search

Java.util.Locale

lastmod 2015-11-09created 2015-11-091 edits

Getting the currently set language

Locale locale = getResources().getConfiguration().locale;
String displayCountry =  locale.getDisplayCountry();
String country =  locale.getCountry();
String language =  locale.getLanguage();