LocalizedText
Variante localizada de um texto em um idioma específico.
Representação JSON |
{
"text": string,
"languageCode": string
} |
Exceto em caso de indicação contrária, o conteúdo desta página é licenciado de acordo com a Licença de atribuição 4.0 do Creative Commons, e as amostras de código são licenciadas de acordo com a Licença Apache 2.0. Para mais detalhes, consulte as políticas do site do Google Developers. Java é uma marca registrada da Oracle e/ou afiliadas.
Última atualização 2024-11-27 UTC.
[null,null,["Última atualização 2024-11-27 UTC."],[[["LocalizedText provides localized strings in a specific language, represented by the `text` field."],["It uses the BCP-47 standard for language codes in the `languageCode` field, enabling global language support."],["The JSON representation combines the localized text and its language code for clear identification."]]],["The provided information describes a JSON structure for representing localized text. It includes two key fields: `text`, which holds the localized string, and `languageCode`, which uses a BCP-47 code (e.g., \"en-US\") to specify the language of the `text`. This schema allows for the storage and identification of a string in a particular language, referencing external information for further detail.\n"]]