FlutterArbImportConfigStructure
Version #1
Description:
Represents the config options for Flutter .arb localization import processor
Fields:
importVariables
: Boolean [Optional]- Default: trueDescription: Parse and import variables from the imported file.
keyMatchingTransforms
: Array<Enum<underscoreprefixnonletter | uppercasefirstletter | lowercase | wordprefix | snakecaseword | dumpwhitespace | androidkey | dumpnonwordchars | hyphenfromunderscore | camelcase | lowercasefirstletter | capitalize | hyphencase | hyphencaseword | trim | underscore | normalize | camelcaseword | snakecase>> [Optional]- Default: []Description: Defines a sequence of transformations which should be applied to the keys when matching with existing localizations
languageCode
: String [Required]- Description: Defines the language code of the input file.
mergeStrategy
: Enum<keep_existing_values | override_existing_values> [Optional]- Default: override_existing_valuesDescription: Choose how the translations and other values of the existing localization keys should be treated when you import something with a matching key.
preferFileLocale
: Boolean [Optional]- Default: trueDescription: Use file’s locale defined by @@locale instead of the target language. (Only if it is present.)
skipCopies
: Boolean [Optional]- Default: trueDescription: Skip translations that copy the default language