LocalizedText
JSON 表示法 |
{
"text": string,
"languageCode": string
} |
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2024-11-27。
[null,null,["最后更新时间 (UTC):2024-11-27。"],[[["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"]]