Property description
The translations property rewrites Enum Keys of title, tooltip key, and similar properties to specified text strings. Each key supports multiple translations for multi-language support.
Minimal JSON
{
"key": "",
"values": []
}{
"key": "title.panel.objectsTable",
"values": [
{
"languageKey": "en-GB",
"name": "Table of Objects"
},
{
"languageKey": "fr-FR",
"name": "Table des objets"
},
{
"languageKey": "de-DE",
"name": "Objekttabelle"
}
]
}Nested properties
| Property | Description | Values | Mandatory |
|---|---|---|---|
key | Key of the translation. In case of custom translations, make sure the key is written in the following format: #asset.type.packageKey_attributeTypeKey.textType E.g. #attribute.type.package_one_descr.name | string | Yes |
values | Array of translations in different languages. | array* | Yes |
*Values structure
Values are nested properties consisting of the following two properties.
| Property | Description | Values | Mandatory |
|---|---|---|---|
languageKey | Language for which the value is valid, written in the language tag format [language code]-[country code] (e.g., en-GB, cs-CZ, pl-PL). | string | Yes |
name | String of text displayed in the UI (text of the translation). | string | Yes |