AI-generated Key Takeaways
-
LocalizedText objects represent localized text with a string and its corresponding language code.
-
The
text
field holds the localized string, whilelanguageCode
specifies the language using BCP-47 codes like "en-US". -
Developers can refer to the Unicode locale identifier for further details on BCP-47 language codes.
Localized variant of a text in a particular language.
JSON representation |
---|
{ "text": string, "languageCode": string } |
Fields | |
---|---|
text |
Localized string in the language corresponding to |
languageCode |
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. |