是否可以指定value-*
个目录中的文件中的字符串故意不被翻译成其他语言?我有一堆对所有语言都通用的字符串,不需要翻译,所以我在values
目录中创建了一个unlocalized-strings.xml
文件..运行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 can require all regions to
provide a full translation by setting the environment variable
ANDROID_LINT_COMPLETE_REGIONS.
如何定义这unlocalized个字符串中的region个?