Text

A possibly-localized text payload. Some Text fields may contain marked-up content.

JSON representation
{
  "value": string,
  "localizedValue": [
    {
      object (LocalizedString)
    }
  ]
}
Fields
value

string

Text value in an unknown locale. Required if and only if localizedValue is empty. The locale for this value may depend on the partner or service provider -- it should not be assumed to be any specific language.

localizedValue[]

object (LocalizedString)

Per-locale text values. Optional.

LocalizedString

Instance of a string in one locale.

JSON representation
{
  "locale": string,
  "value": string
}
Fields
locale

string

IETF BCP 47 language code, such as "en", "mas", "zh-Hant", "de-CH-1901". See http://www.w3.org/International/articles/language-tags/.

value

string

Message in the locale above (UTF-8).