Verify Missing Translations Between Locales Task - maxirosson/jdroid-gradle-plugin GitHub Wiki

Task Description

This task verifies if there is any missing translation for a language. It verifies that all the keys on the strings.xml, arrays.xml and plural.xml of the default language are present for each not default language supported. This task is added as a dependency of the 'check' task.

Task Configuration

jdroid {
  resourcesDirsPaths = ['src/main/res/']
  notDefaultLanguages = ['es']
}
Property Description Default Value
resourcesDirsPaths Array of strings containing the relative paths to all the android resource directories of your project ['src/main/res/']
notDefaultLanguages Array of strings containing the not default languages supported by the app null

Task Execution

gradle verifyMissingTranslationsBetweenLocales