LocalizedText

  • LocalizedText objects represent localized text with a string value ( text ) and its corresponding language code ( languageCode ).

  • The text field contains the localized string, while the languageCode field specifies the language using the BCP-47 standard (e.g., "en-US").

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: