LocalizedText
Lokalizacja tekstu w określonym języku.
Zapis JSON |
{
"text": string,
"languageCode": string
} |
O ile nie stwierdzono inaczej, treść tej strony jest objęta licencją Creative Commons – uznanie autorstwa 4.0, a fragmenty kodu są dostępne na licencji Apache 2.0. Szczegółowe informacje na ten temat zawierają zasady dotyczące witryny Google Developers. Java jest zastrzeżonym znakiem towarowym firmy Oracle i jej podmiotów stowarzyszonych.
Ostatnia aktualizacja: 2024-11-27 UTC.
[null,null,["Ostatnia aktualizacja: 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"]]