每种语言放到一个目录中,以缩写标识,例如 res/values/strings.xml Contains English text for all the strings that the application uses, including text for a string named title. res/values-fr/strings.xml Contain French text for all the strings, including title. res/values-ja/strings.xml Contain Japanese text for all the strings except title. 这是Android 开发文档中的例子。
res/values/strings.xml
Contains English text for all the strings that the application uses, including text for a string named title.
res/values-fr/strings.xml
Contain French text for all the strings, including title.
res/values-ja/strings.xml
Contain Japanese text for all the strings except title.
这是Android 开发文档中的例子。
那调用的时候如果有values 和 values-ja 同时存在那么。。调用的时候是怎么调用的呢?有什么标签或是这需要做什么判断吗?。真心求教。。感激不尽
values 和 values-ja 同时存在
里面的key相同,只是value不同而已,调用时一样的
http://www.cnblogs.com/wuyunan/archive/2009/09/16/1567960.html
strings.xml中设置你的国家语言。 鉴定完毕!