Majority of the text information in the system is saved in multilingual form. The text can be the same for all languages or different languages can have different texts.

In REST API these text values are returned as JSON objects where the keys are language codes. If the language for value is not specified the language code is “x-default”

Example JSON for non-translated text value:

"Name": {
  "x-default": "This is name"
}

Example JSON for translated text value:

"Name": {
  "en": "This is name",
  "fi": "Tämä on nimi",
  "sv": "Detta är namnet",
  "de": "Das ist der Name"
}

Feedback

Was this helpful?

Yes No
You indicated this topic was not helpful to you ...
Could you please leave a comment telling us why? Thank you!
Thanks for your feedback.

Post your comment on this topic.

Post Comment