LocalizedText
Variante localizzata di un testo in una determinata lingua.
Rappresentazione JSON |
{
"text": string,
"languageCode": string
} |
Salvo quando diversamente specificato, i contenuti di questa pagina sono concessi in base alla licenza Creative Commons Attribution 4.0, mentre gli esempi di codice sono concessi in base alla licenza Apache 2.0. Per ulteriori dettagli, consulta le norme del sito di Google Developers. Java è un marchio registrato di Oracle e/o delle sue consociate.
Ultimo aggiornamento 2024-11-27 UTC.
[null,null,["Ultimo aggiornamento 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"]]