हम Data API को अपडेट कर रहे हैं, ताकि यह Shorts पर मिले व्यू की गिनती करने के तरीके से मेल खा सके.
ज़्यादा जानें
I18nLanguages
संग्रह की मदद से व्यवस्थित रहें
अपनी प्राथमिकताओं के आधार पर, कॉन्टेंट को सेव करें और कैटगरी में बांटें.
i18nLanguage
संसाधन से, उस ऐप्लिकेशन भाषा की पहचान होती है जिस पर YouTube की वेबसाइट काम करती है. ऐप्लिकेशन की भाषा को यूज़र इंटरफ़ेस (यूआई) की भाषा के रूप में भी पेश किया जा सकता है. YouTube वेबसाइट के लिए, Google खाते की सेटिंग, ब्राउज़र की भाषा या आईपी लोकेशन के आधार पर किसी ऐप्लिकेशन की भाषा अपने-आप चुनी जा सकती है. उपयोगकर्ता, YouTube साइट के फ़ुटर से मैन्युअल तरीके से भी यूज़र इंटरफ़ेस (यूआई) भाषा चुन सकता है.
हर i18nLanguage
संसाधन एक भाषा कोड और एक नाम की पहचान करता है. videoCategories.list
और guideCategories.list
जैसे एपीआई के तरीकों को कॉल करते समय, भाषा कोड का इस्तेमाल hl
पैरामीटर की वैल्यू के तौर पर किया जा सकता है.
तरीके
एपीआई, i18nLanguages
संसाधनों के लिए इन तरीकों का इस्तेमाल करता है:
- list
- इससे, YouTube वेबसाइट पर इस्तेमाल की जा सकने वाली ऐप्लिकेशन भाषाओं की सूची मिलती है.
इसे अभी आज़माएं.
संसाधन का प्रतिनिधित्व
यहां दिए गए JSON फ़ॉर्मैट में, i18nLanguages
संसाधन का फ़ॉर्मैट दिखाया गया है:
{
"kind": "youtube#i18nLanguage",
"etag": etag,
"id": string,
"snippet": {
"hl": string,
"name": string
}
}
प्रॉपर्टी
इस टेबल में, इस संसाधन में दिखने वाली प्रॉपर्टी के बारे में बताया गया है:
प्रॉपर्टी |
kind |
string
एपीआई संसाधन के टाइप की पहचान करता है. वैल्यू youtube#i18nLanguage होगी. |
etag |
etag
इस संसाधन का इटैग. |
id |
string
वह आईडी जिसका इस्तेमाल YouTube, i18n भाषा की खास तरह से पहचान करने के लिए करता है. |
snippet |
object
snippet ऑब्जेक्ट में, i18n भाषा के बारे में बुनियादी जानकारी होती है. जैसे, भाषा का कोड और नाम. |
snippet.hl |
string
BCP-47 कोड, जो किसी भाषा की खास तौर पर पहचान करता है. |
snippet.name |
string
भाषा का नाम, जैसा कि उसे i18nLanguage.list तरीके के hl पैरामीटर का इस्तेमाल करके बताई गई भाषा में लिखा गया है. |
जब तक कुछ अलग से न बताया जाए, तब तक इस पेज की सामग्री को Creative Commons Attribution 4.0 License के तहत और कोड के नमूनों को Apache 2.0 License के तहत लाइसेंस मिला है. ज़्यादा जानकारी के लिए, Google Developers साइट नीतियां देखें. Oracle और/या इससे जुड़ी हुई कंपनियों का, Java एक रजिस्टर किया हुआ ट्रेडमार्क है.
आखिरी बार 2025-08-21 (UTC) को अपडेट किया गया.
[null,null,["आखिरी बार 2025-08-21 (UTC) को अपडेट किया गया."],[[["\u003cp\u003eThe 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.\u003c/p\u003e\n"],["\u003cp\u003eEach i18nLanguage resource includes a language code and a name, with the language code being usable as the value for the \u003ccode\u003ehl\u003c/code\u003e parameter in API calls like \u003ccode\u003evideoCategories.list\u003c/code\u003e and \u003ccode\u003eguideCategories.list\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe i18nLanguages resource can be retrieved using the \u003ccode\u003ei18nLanguages.list\u003c/code\u003e method, which provides a list of supported application languages.\u003c/p\u003e\n"],["\u003cp\u003eThe resource is represented in JSON format, containing properties such as \u003ccode\u003ekind\u003c/code\u003e (identifying the resource type), \u003ccode\u003eetag\u003c/code\u003e, \u003ccode\u003eid\u003c/code\u003e, and a \u003ccode\u003esnippet\u003c/code\u003e object with details like the \u003ccode\u003ehl\u003c/code\u003e code and the language \u003ccode\u003ename\u003c/code\u003e.\u003c/p\u003e\n"]]],["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"],null,["# I18nLanguages\n\nAn **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 could be automatically selected based on Google Account settings, browser language, or IP location. A user could also manually select the desired UI language from the YouTube site footer. \n\nEach `i18nLanguage` resource identifies a language code and a name. The language code can be used as the value of the `hl` parameter when calling API methods like `videoCategories.list` and `guideCategories.list`.\n\nMethods\n-------\n\nThe API supports the following methods for `i18nLanguages` resources:\n\n[list](/youtube/v3/docs/i18nLanguages/list)\n: Returns a list of application languages that the YouTube website supports.\n [Try it now](/youtube/v3/docs/i18nLanguages/list#usage).\n\nResource representation\n-----------------------\n\nThe following JSON structure shows the format of a `i18nLanguages` resource: \n\n```text\n{\n \"kind\": \"youtube#i18nLanguage\",\n \"etag\": etag,\n \"id\": string,\n \"snippet\": {\n \"hl\": string,\n \"name\": string\n }\n}\n```\n\n### Properties\n\nThe following table defines the properties that appear in this resource:\n\n| Properties ||\n|----------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `kind` | `string` Identifies the API resource's type. The value will be `youtube#i18nLanguage`. |\n| `etag` | `etag` The Etag of this resource. |\n| `id` | `string` The ID that YouTube uses to uniquely identify the i18n language. |\n| `snippet` | `object` The `snippet` object contains basic details about the i18n language, such as its language code and name. |\n| snippet.`hl` | `string` A BCP-47 code that uniquely identifies a language. |\n| snippet.`name` | `string` The name of the language as it is written in the language specified using the `i18nLanguage.list` method's [hl](/youtube/v3/docs/i18nLanguages/list#hl) parameter. |"]]