i18n - android app cannot display default language as English
给我你的怀抱
给我你的怀抱 2017-05-24 11:38:11
0
1
864

The recently developed app needs the default language to be English, and then the user can manually switch the language.
I wrote the contents of string.xml into English, and then also created a Chinese strings.xml folder. As shown below:

Then I set the system language to English, but when I run it, it always displays Chinese. Why is this?
I think if the system language is English when the user first installs this app, then my text should be in English. If the system is in Chinese, the text should be in Chinese.
But now I know that the system language is English, but when I first installed it, it still displayed Chinese.

给我你的怀抱
给我你的怀抱

reply all(1)
过去多啦不再A梦

You seem to have written the folder name wrong

If the system is not Chinese, he will first look for it in the values ​​folder, and then look for the string in other folders. I think your en folder is redundant

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template