LocalizedText
Sử dụng bộ sưu tập để sắp xếp ngăn nắp các trang
Lưu và phân loại nội dung dựa trên lựa chọn ưu tiên của bạn.
Biến thể được bản địa hoá của một văn bản bằng một ngôn ngữ cụ thể.
Biểu diễn dưới dạng JSON |
{
"text": string,
"languageCode": string
} |
Mọi quyền được bảo lưu. Java là một nhãn hiệu đã đăng ký của Oracle và/hoặc chi nhánh của Oracle.
Cập nhật lần gần đây nhất: 2025-07-26 UTC.
[null,null,["Cập nhật lần gần đây nhất: 2025-07-26 UTC."],[[["\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. |"]]