Locale locale = getResources().getConfiguration().locale; String language = locale.getLanguage(); 其中language为语言码: zh:汉语 en:英语