← Back to plugin index

Translated String Provider

Description
Provides a string which is translated to the current display language.
Type name
TranslationValueProvider
Class
com.airlock.iam.flow.shared.application.configuration.valueprovider.TranslationValueProviderConfig
May be used by
Properties
Resource Key (resourceKey)
Description

Resource key for which the localized strings are defined. The key may contain variables, which are replaced with the provided values before the translation is loaded, e.g. to specify gender-dependent texts, such as salutations.

The translated string can also contain variables (e.g. ${givenname}) and supports the same formatting options (including date/time formatting) as are available for Transaction Approval messages.

Attributes
String
Mandatory
Example
general.yes
Example
salutation.${gender}
Value Providers (valueProviders)
Description
List of value map providers that are used to replace the variables in the localized template. The values providers are called in the configured order and their values are added to a map. Later providers can overwrite values from earlier providers. If no value providers are configured, the localized template should not contain any variables, since all of them would be replaced by empty strings.
Attributes
Plugin-List
Optional
Assignable plugins
YAML Template (with default values)

type: TranslationValueProvider
id: TranslationValueProvider-xxxxxx
displayName: 
comment: 
properties:
  languageProvider:
  resourceKey:
  valueProviders: