Skip to content

MessageParams

The message params for the translation string. Translation params are just key/value pairs defined in the translation string defined in the ‘locales/.json’ for the translation key in the message property. It defaults to an empty object if the property is missing or null. The translation string syntax is described here: https://github.com/yahoo/intl-messageformat#message-syntax

Field Type Required Description
my-custom-key string
my-custom-value string
{
"my-custom-key": "my-custom-translation-param",
"my-custom-value": "42 (fourty two)"
}