ディレクトリ内のファイル内の文字列value-*
が意図的に他の言語に翻訳されないように指定することは可能ですか?すべての言語に共通で翻訳の必要がない文字列がたくさんあるので、unlocalized-strings.xml
ディレクトリ内にファイルを作成しましたvalues
。AndroidLintを実行して問題をチェックすると、一部の翻訳が欠落していると表示され続けます。プロジェクト全体でこのチェックを無効にするには、一部の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.
ローカライズされていない文字列のこの領域をどのように定義できますか?