Get Language
|
|||||
|
|
Gets language settings
Authorization
To use this building block you will have to grant access to at least one of the following scopes:
- Read, compose, send, and permanently delete all your email from Gmail
- View and modify but not delete your email
- View your email messages and settings
- Manage your basic mail settings
Input
This building block consumes 1 input parameters
Name | Format | Description |
---|---|---|
userId Required |
STRING |
User's email address. The special value "me" can be used to indicate the authenticated user |
= Parameter name
= Format
userId STRING Required User's email address. The special value "me" can be used to indicate the authenticated user |
Output
This building block provides 1 output parameters
Name | Format | Description |
---|---|---|
displayLanguage |
STRING |
The language to display Gmail in, formatted as an RFC 3066 Language Tag (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 for all available options, as described in the language settings help article. A table of sample values is also provided in the Managing Language Settings guide 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) |
= Parameter name
= Format
displayLanguage STRING The language to display Gmail in, formatted as an RFC 3066 Language Tag (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 for all available options, as described in the language settings help article. A table of sample values is also provided in the Managing Language Settings guide 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) |