משאב i18nLanguage מזהה שפת אפליקציה שאתר YouTube תומך בה. שפת האפליקציה יכולה להיקרא גם שפת ממשק המשתמש. באתר YouTube, שפת האפליקציה עשויה להיבחר באופן אוטומטי על סמך ההגדרות בחשבון Google, שפת הדפדפן או מיקום כתובת ה-IP. משתמשים יכולים גם לבחור באופן ידני את שפת ממשק המשתמש הרצויה בכותרת התחתונה של אתר YouTube.
כל משאב i18nLanguage מזהה קוד שפה ושם. אפשר להשתמש בקוד השפה כערך של הפרמטר hl בקריאות לשיטות API כמו videoCategories.list ו-guideCategories.list.
[null,null,["עדכון אחרון: 2024-11-29 (שעון UTC)."],[[["The i18nLanguage resource identifies a language supported by the YouTube website, which can be automatically set based on Google Account settings, browser language, or IP location, or manually selected by the user."],["Each i18nLanguage resource includes a language code and a name, with the language code being usable as the value for the `hl` parameter in API calls like `videoCategories.list` and `guideCategories.list`."],["The i18nLanguages resource can be retrieved using the `i18nLanguages.list` method, which provides a list of supported application languages."],["The resource is represented in JSON format, containing properties such as `kind` (identifying the resource type), `etag`, `id`, and a `snippet` object with details like the `hl` code and the language `name`."]]],["The `i18nLanguage` resource details supported application languages for YouTube, also known as UI languages. Each resource includes a language code (`hl`) and a name. The language can be automatically selected based on Google Account settings, browser language, or IP location, or manually chosen. The language code can be used in API methods. The `i18nLanguages.list` method returns a list of these languages, defined by their ID, and snippet data, which includes the `hl` code and name.\n"]]