开发者

Is the strings.xml in the values folder necessary?

I want to have differen开发者_高级运维t language values folders (Ex: values-en, values-de, values-fr). Every folder will have a version of the strings.xml file. My question is: do I have to keep the default strings.xml file in the values folder, or one of the specific strings.xml files will be used if I deleted the default file?


The default strings.xml is used when values are missing from your language specific strings.xml files. It is a good place to keep things like application names etc which may not change. In future, if your app needs to be localised to a non-Latin script, then you can then overwrite the Latin script application name with a localised non-Latin script in the language specific strings.xml file.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜