LanguageSettings
透過集合功能整理內容
你可以依據偏好儲存及分類內容。
帳戶的語言設定。這些設定與網頁介面中的「語言設定」功能相對應。
JSON 表示法 |
{
"displayLanguage": string
} |
欄位 |
displayLanguage |
string
要顯示 Gmail 的語言,格式為 RFC 3066 語言代碼 (例如 en-GB 、fr 或 ja ,分別代表英國英文、法文或日文)。 Gmail 支援的語言會隨著時間而變動,因此請參閱語言設定說明文章,瞭解 Gmail 設定 中的「語言」下拉式選單提供的所有選項。如需範例值的資料表,請參閱「管理語言設定」。 並非所有 Gmail 用戶端都能顯示相同的語言。如果使用者的顯示語言無法在特定用戶端上使用,該用戶端會自動選擇顯示最接近的支援變體 (或合理的預設值)。
|
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2025-07-25 (世界標準時間)。
[null,null,["上次更新時間:2025-07-25 (世界標準時間)。"],[],[],null,["# LanguageSettings\n\n- [JSON representation](#SCHEMA_REPRESENTATION)\n\nLanguage settings for an account. These settings correspond to the [\"Language settings\"](https://support.google.com/mail/answer/17091) feature in the web interface.\n\n| JSON representation |\n|---------------------------------------|\n| ``` { \"displayLanguage\": string } ``` |\n\n| Fields ||\n|-------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `displayLanguage` | `string` The language to display Gmail in, formatted as an [RFC 3066 Language Tag](https://www.w3.org/International/articles/language-tags/) (for example `en-GB`, `fr` or `ja` for British English, French, or Japanese respectively). The set of languages supported by Gmail evolves over time, so please refer to the \"Language\" dropdown in the [Gmail settings](https://mail.google.com/mail/u/0/#settings/general) for all available options, as described in the [language settings help article](https://support.google.com/mail/answer/17091). For a table of sample values, see [Manage language settings](https://developers.google.com/workspace/gmail/api/guides/language-settings). Not all Gmail clients can display the same set of languages. In the case that a user's display language is not available for use on a particular client, said client automatically chooses to display in the closest supported variant (or a reasonable default). |"]]