Resource: I18nLanguage
An i18nLanguage resource identifies an application language that the YouTube website supports. The application language can also be referred to as a UI language. For the YouTube website, an application language can be automatically selected based on Google Account settings, browser language, or IP location, or manually selected from the YouTube site footer.
Each i18nLanguage resource identifies a language code and a localized name. The language code can be used as the value of the hl parameter when calling API methods such as videoCategories.list, i18nRegions.list, videos.list, and channels.list.
| JSON representation |
|---|
{ "kind": string, "etag": string, "id": string, "snippet": { "hl": string, "name": string } } |
| Fields | |
|---|---|
kind |
Identifies what kind of resource this is. Value: the fixed string |
etag |
Etag of this resource. |
id |
The ID that YouTube uses to uniquely identify the i18n language. |
snippet |
The |
snippet.hl |
A BCP-47 code that uniquely identifies a language. |
snippet.name |
The human-readable name of the language as written in the language specified by the |
Methods |
|
|---|---|
|
Returns a list of application languages that the YouTube website supports. |