Skip to content

Java.util.Locale

현재 설정된 언어 획득하기

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