LocalizedText
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
JSON 表示法 |
{
"text": string,
"languageCode": string
} |
保留所有权利。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-07-26。
[null,null,["最后更新时间 (UTC):2025-07-26。"],[[["\u003cp\u003eLocalizedText objects represent localized text with a string and its corresponding language code.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003etext\u003c/code\u003e field holds the localized string, while \u003ccode\u003elanguageCode\u003c/code\u003e specifies the language using BCP-47 codes like "en-US".\u003c/p\u003e\n"],["\u003cp\u003eDevelopers can refer to the Unicode locale identifier for further details on BCP-47 language codes.\u003c/p\u003e\n"]]],[],null,["# LocalizedText\n\n- [JSON representation](#SCHEMA_REPRESENTATION)\n\nLocalized variant of a text in a particular language.\n\n| JSON representation |\n|----------------------------------------------------|\n| ``` { \"text\": string, \"languageCode\": string } ``` |\n\n| Fields ||\n|----------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `text` | `string` Localized string in the language corresponding to [languageCode](/hotels/hotel-prices/api-reference/rest/v3/LocalizedText#FIELDS.language_code) below. |\n| `languageCode` | `string` The text's BCP-47 language code, such as \"en-US\" or \"sr-Latn\". For more information, see \u003chttp://www.unicode.org/reports/tr35/#Unicode_locale_identifier\u003e. |"]]