Lint: How to ignore “ is not translated in ” errors?

后端 未结 13 2030
长情又很酷
长情又很酷 2020-11-27 10:46

I can\'t compile/debug our Android app, because the localization files are not perfect yet.

My IDE\'s validation tool Lint create errors saying:

13条回答
  •  天涯浪人
    2020-11-27 11:20

    You can also put resources which you do not want to translate to file called donottranslate.xml.

    Example and explanation: http://tools.android.com/recent/non-translatablestrings

提交回复
热议问题