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
इस संसाधन का 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 एक रजिस्टर किया हुआ ट्रेडमार्क है.
आखिरी बार 2024-11-29 (UTC) को अपडेट किया गया.
[[["समझने में आसान है","easyToUnderstand","thumb-up"],["मेरी समस्या हल हो गई","solvedMyProblem","thumb-up"],["अन्य","otherUp","thumb-up"]],[["वह जानकारी मौजूद नहीं है जो मुझे चाहिए","missingTheInformationINeed","thumb-down"],["बहुत मुश्किल है / बहुत सारे चरण हैं","tooComplicatedTooManySteps","thumb-down"],["पुराना","outOfDate","thumb-down"],["अनुवाद से जुड़ी समस्या","translationIssue","thumb-down"],["सैंपल / कोड से जुड़ी समस्या","samplesCodeIssue","thumb-down"],["अन्य","otherDown","thumb-down"]],["आखिरी बार 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"]]