提示xxx is not translated in "zh" (Chinese)==
来源:互联网 发布:linux强制删除受损文件 编辑:程序博客网 时间:2024/06/05 14:16
提示xxx is not translated in "zh" (Chinese)==
意思大概是要使用国际化资源
如果本身没有写国际化,那么可能是用了第三方库有国际化资源,eclipse检查到国际化资源包和普通包不一样,就会提示还没有翻译中文的资源。
解决方法:
1.
只要在 res 文件夹下新建对应语言的 values 文件夹就好了,如,英语环境下的,文件夹命名为:values-en美国英文环境:values-en-rUS中文环境为:values-zh
比如我的这个错误,在values-zh那里,把错误的xml复制粘贴进去就可以了,有一些string name可能少一个多一个,复制粘贴到对齐就可以,当然,最好是翻译了英文版和中文版,这样好一点。
搞得太快,没来得及截图。
2.打开该xml文件,全部剪切,然后粘贴一遍,就可以了。
可以看做是eclipse抽风。
0 0
- 提示xxx is not translated in "zh" (Chinese)==
- 打包提示 xxx is not translated in "zh" (Chinese)
- is not translated in "zh" (Chinese) [MissingTranslation]
- AndroidStudio打包出现"xxx" is not translated in "zh" (Chinese) [MissingTranslation]
- AndroidStudio打包出现"xxx" is not translated in "zh" (Chinese) [MissingTranslation]
- Error:(107) Error: “xxx” is not translated in “zh” (Chinese) [MissingTranslation]
- "abc_shareactionprovider_share_with" is not translated in "he" (Hebrew), "zh" (Chinese)
- Error: "select_city_zzdw" is not translated in "zh" (Chinese) [MissingTranslation]
- Error: "app_name" is not translated in "zh" (Chinese) [MissingTranslation]
- "app_name" is not translated in "zh" (Chinese) [MissingTranslation]解决办法
- "XXXX" is not translated in "en" (English), "zh" (Chinese)
- Error: "***" is not translated in "zh" (Chinese) [MissingTranslation]
- "XXXX" is not translated in "en" (English), "zh" (Chinese)
- xxxxx is not translated in xxx(eg:values-zh)
- android打包问题:xxx is not translated in zh解决办法
- Android xxx is not translated in zh解决办法
- [Android Lint] "XXXX" is not translated in "en" (English), "zh" (Chinese)
- android打包时出现***is not translated in "zh-rCN" (Chinese: China)
- super的几种用法
- COC认证
- apache 2.4.4 自动分割日志,按年月日生成
- Python笔记——列表与元组的用法
- 快照问题site快照和点击百度快照显示的不一样 这是什么原因
- 提示xxx is not translated in "zh" (Chinese)==
- Java I/O异常的处理
- PHP 面向对象 final类与final方法
- ubuntu安装和卸载软件命令
- 域名空间问题国外网站服务器对百度排名有影响吗?
- 实例解说Linux命令行uniq
- VC常用进程函数
- 小数在内存中的存储表示
- JAVA 反射