系统属性中记录着当前系统的语言_国家码,获取系统属性的方法 adb shell getprop [key]
//默认系统语言,来自build.prop
[persist.sys.language]: [en]
[persist.sys.country]: [US]
//当前系统语言
[ro.product.locale.language]: [en]
[ro.product.locale.region]: [US]
拨号盘里快速切换语言的方法:输入*#....# ,
具体信息定义在packages/apps/Dialer/src/com/android/dialer/SpecialCharSequenceMgr.javaar" , "EG" , "*#0020#
bg" , "BG" , "*#0359#
hr" , "HR" , "*#0385#
cs" , "CZ" , "*#0420#
da" , "DK" , "*#0045#
nl" , "NL" , "*#0031#
en" , "GB" , "*#0044#
fi" , "FI" , "*#0358#
fr" , "FR" , "*#0033#
de" , "DE" , "*#0049#
el" , "GR" , "*#0030#
he" , "IL" , "*#0972#
hi" , "IN" , "*#0091#
hu" , "HU" , "*#0036#
id" , "ID" , "*#0062#
it" , "IT" , "*#0039#
ja" , "JP" , "*#0081#
ko" , "KR" , "*#0082#
lv" , "LV" , "*#0371#
lt" , "LT" , "*#0370#
ms" , "MY" , "*#0060#
mk" , "MK" , "*#0389#
nb" , "NO" , "*#0047#
pl" , "PL" , "*#0048#
pt" , "PT" , "*#0351#
ro" , "RO" , "*#0040#
ru" , "RU" , "*#0007#
sr" , "RS" , "*#0381#
sk" , "SK" , "*#0421#
sl" , "SI" , "*#0386#
es" , "ES" , "*#0034#
sv" , "SE" , "*#0046#
tl" , "PH" , "*#0063#
th" , "TH" , "*#0066#
tr" , "TR" , "*#0090#
uk" , "UA" , "*#0380#
vi" , "VN" , "*#0084#
zh" , "CN" , "*#0086#
zh" , "TW" , "*#0886#