AllLocalizationsToPropertiesConverterConfigStructure

Version #1

Description:

Config of AllLocalizationsToPropertiesConverterProcessor

Fields:

  • charset: Enum<iso8859_1 | utf8> [Optional]
    Default: iso8859_1
    Description: Defines the output file encoding charset. ISO 8859-1 is the proper encoding for Java 8 or older. UTF-8 is recommended for Java 9 or newer.
  • defaultLanguage: String [Optional]
    Description: This will override the category config’s default language configuration when present.
  • exportDefault: Boolean [Optional]
    Default: true
    Description: Weather to export default language to a default directory
  • exportDefaultAsIndividualLanguage: Boolean [Optional]
    Default: false
    Description: Weather to export default language like any other language
  • group: String [Optional]
    Default: java
    Description: Determines the output files group.
  • key: KeyTransformationConfigStructure:v1 [Optional]
    Default: Transforms: [camelcaseword]
    Description: Defines how the output keys are transformed. This is applied after splitting the key into property names using keyDelimiters. (Only the property names are transformed.)
  • keyDelimiters: Array<String> [Optional]
    Default: Separates by .
    Description: Defines a list of delimiters to use when splitting keys to property names.
  • keyPrefix: String [Optional]
    Default: null
    Description: Defines a prefix that will be prepended to the localization keys before splitting it into property names defined by keyDelimiters and applying the key transformations.
  • keySuffix: String [Optional]
    Default: null
    Description: Defines a suffix that will be appended to the localization keys before splitting it into property names defined by keyDelimiters and applying the key transformations.
  • languageKey: String [Optional]
    Default: null
    Description: Inject an additional key that includes the current language’s code. The keyDelimiters will be used to split this if necessary but the key transformations won’t be applied. keyPrefix and keySuffix is ignored for this key.
  • lineSeparator: String [Optional]
    Default: n
    Description: Defines the output file new line character(s).
  • outputPattern: String [Optional]
    Default: src/main/resources/respresso_messages_{{language}}.properties
    Description: Defines the output file’s path with a pattern. Use {{language}} to define language specific paths.
  • useDefaultLanguageForMissingTranslations: Boolean [Optional]
    Default: true
    Description: When enabled, missing non-default language translations will be substituted with the default language’s translation
  • useVariableFormatOverrides: Array<String> [Optional]
    Default: [properties,java,all]
    Description: Defines which format overrides should be used if they exist for a variable. The first match will be used.

In use by: