語言_常數
透過集合功能整理內容
你可以依據偏好儲存及分類內容。
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2025-08-29 (世界標準時間)。
[null,null,["上次更新時間:2025-08-29 (世界標準時間)。"],[[["\u003cp\u003eLanguage constants provide information about languages, including their code, ID, full name, and targetability.\u003c/p\u003e\n"],["\u003cp\u003eEach language constant has a unique resource name for identification and retrieval.\u003c/p\u003e\n"],["\u003cp\u003eThe language code (e.g., "en_US") and full name (e.g., "English (US)") are key attributes for identifying and understanding the language.\u003c/p\u003e\n"],["\u003cp\u003eLanguage constants can be filtered, selected, and sorted based on various attributes, including code, ID, name, and targetability.\u003c/p\u003e\n"]]],["The data describes attributes of language constants. Key information includes the `language_constant.code` (e.g., \"en_US\"), `language_constant.id`, and `language_constant.name` (full English name). Each has a data type, and filterable, selectable, sortable, and repeated properties. The resource name (`language_constant.resource_name`) follows the pattern `languageConstants/{criterion_id}`. Additionally, `language_constant.targetable` indicates if the language can be targeted, with a boolean value.\n"],null,["# language_constant\n\nA language.\n\n|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| | language_constant.code ---------------------- || |-------------------|--------------------------------------------------------------------| | Field description | The language code, for example, \"en_US\", \"en_AU\", \"es\", \"fr\", etc. | | Category | `ATTRIBUTE` | | Data Type | `STRING` | | Type URL | `N/A` | | Filterable | True | | Selectable | True | | Sortable | True | | Repeated | False | |\n| | language_constant.id -------------------- || |-------------------|----------------------------------| | Field description | The ID of the language constant. | | Category | `ATTRIBUTE` | | Data Type | `INT64` | | Type URL | `N/A` | | Filterable | True | | Selectable | True | | Sortable | True | | Repeated | False | |\n| | language_constant.name ---------------------- || |-------------------|----------------------------------------------------------------------------------------| | Field description | The full name of the language in English, for example, \"English (US)\", \"Spanish\", etc. | | Category | `ATTRIBUTE` | | Data Type | `STRING` | | Type URL | `N/A` | | Filterable | True | | Selectable | True | | Sortable | True | | Repeated | False | |\n| | language_constant.resource_name ------------------------------- || |-------------------|--------------------------------------------------------------------------------------------------------------------------------| | Field description | The resource name of the language constant. Language constant resource names have the form: `languageConstants/{criterion_id}` | | Category | `ATTRIBUTE` | | Data Type | `RESOURCE_NAME` | | Type URL | `N/A` | | Filterable | True | | Selectable | True | | Sortable | False | | Repeated | False | |\n| | language_constant.targetable ---------------------------- || |-------------------|-------------------------------------| | Field description | Whether the language is targetable. | | Category | `ATTRIBUTE` | | Data Type | `BOOLEAN` | | Type URL | `N/A` | | Filterable | True | | Selectable | True | | Sortable | True | | Repeated | False | |"]]