- Simplified Chinese
- Traditional Chinese
- Chinese
Here come the problem, when a Hong Kong device which prefer to view in Traditional Chinese, which strings.xml resource will the Android mobile app use?
Before Android 7.0, Android could not always successfully match app and system locales.
User Settings | App Resources | Resource Resolution |
---|---|---|
zh-rHK | default (en) zh-rCN zh-rTW zh | Try zh-rHK => Fail Try zh => Success Use zh |
User Settings | App Resources | Resource Resolution |
---|---|---|
zh-rHK_#Hant | default (en) zh-rCN_#Hans zh-rTW_#Hant zh | Try zh-rHK_#Hant => Fail Try zh-r_#Hant => Fail Try children of zh-r_#Hant => zh-rTW_#Hant Use zh-rTW#Hant |
- en (English)
- zh-rCN (Simplified Chinese)
- zh-rTW (Traditional Chinese)
- zh (Traditional Chinese)
No comments:
Post a Comment