相关疑难解决方法(0)

避免Android Lint抱怨未翻译的字符串

是否可以指定value-* 目录中文件中的字符串故意不转换为其他语言?我有一堆字符串,这些字符串对所有语言都很常见,不需要翻译,所以我unlocalized-strings.xmlvalues目录中创建了一个文件.运行Android Lint来检查问题,它一直说有些翻译丢失了......我不想要要对整个项目禁用此检查,我只想在某些XML文件中禁用它..是否可能?

"title_widget_updater_service" is not translated in de, en, en-rUS, it

Issue: Checks for incomplete translations where not all strings are translated
Id: MissingTranslation

If an application has more than one locale, then all the strings declared in one language     
should also be translated in all other languages.

By default this detector allows regions of a language to just provide a subset of the 
strings and fall back to the standard language strings. You …
Run Code Online (Sandbox Code Playgroud)

android android-resources android-lint

117
推荐指数
5
解决办法
6万
查看次数

标签 统计

android ×1

android-lint ×1

android-resources ×1