LocalizedText

  • LocalizedText represents a text string in a specific language.

  • It includes fields for the localized text content and its BCP-47 language code.

  • The JSON representation shows "text" and "languageCode" as string fields.

Localized variant of a text in a particular language.

JSON representation
 { 
 "text" 
 : 
 string 
 , 
 "languageCode" 
 : 
 string 
 } 
Fields
text

string

Localized string in the language corresponding to languageCode below.

languageCode

string

The text's BCP-47 language code, such as "en-US" or "sr-Latn".

For more information, see http://www.unicode.org/reports/tr35/#Unicode_locale_identifier .

Create a Mobile Website
View Site in Mobile | Classic
Share by: