Dimension Service API  2.0.0
api index

LocalizedString Object

since: 0.6

Fields

locale
0.6required
string
The IETF BCP-47 language tag that best describes the language and optional (e.g. region) variant(s) for the text contained in the value field.
value
0.6required
string
Human-readable text in the language (and, optionally, variants) specified by the locale field.

Related API Resources

Related API Objects

Example 1

{
  "locale": "en-US",
  "value" : "The engine of most cars is under the hood, so cargo goes in the trunk."
}
  

Example 2

{
  "locale": "en-GB",
  "value" : "The engine of most cars is under the bonnet, so cargo goes in the boot."
}