首页 > 移动平台 > 详细

安卓编译 translate error Lint: How to ignore “<key> is not translated in <language>” errors?

时间:2015-10-30 12:13:05      阅读:502      评论:0      收藏:0      [点我收藏+]

Add following at the header of your strings.xml file

 

<resources
xmlns:tools="http://schemas.android.com/tools" 
    tools:locale="en" tools:ignore="MissingTranslation">

or:

In "Window" > "Preferences" > "Android" > "Lint Error Checking":
(For Mac, "Eclipse" > "Preferences" > "Android" > "Lint Error Checking")

Find the MissingTranslation line, and set it to Warning as seen below:

技术分享

安卓编译 translate error Lint: How to ignore “<key> is not translated in <language>” errors?

原文:http://www.cnblogs.com/pengyingh/p/4922823.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!