HUB Client Docs

DEPRECATED

Translations

There are two ways to use translations:

To change locale you can use form action changeLocale, where first parameter is target locale name.

Examples:

# Evaluate translation for given translation key
- !t translation_key

# Evaluate translation for dymanic translation key (e.g. error coming from Backend)
- !expression t(flow.export.translation_key)

# Change locale
- !ref components: button
  text: Switch to English
  actionName: changeLocale
  actionParams: en