LanguageSettings
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
账号的语言设置。这些设置对应于 Web 界面中的“语言设置”功能。
JSON 表示法 |
{
"displayLanguage": string
} |
字段 |
displayLanguage |
string
显示 Gmail 时使用的语言,格式为 RFC 3066 语言标记(例如,分别为英式英语、法语或日语的 en-GB 、fr 或 ja )。 Gmail 支持的语言会随时间推移而不断变化,因此请参阅 Gmail 设置 中的“语言”下拉菜单,查看所有可用选项,如语言设置帮助文章中所述。如需查看示例值表格,请参阅管理语言设置。 并非所有 Gmail 客户端都可以显示同一组语言。如果用户的显示语言无法在特定客户端上使用,则该客户端会自动选择以最接近的受支持变体(或合理的默认值)进行显示。
|
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-07-25。
[null,null,["最后更新时间 (UTC):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). |"]]