YouTube কীভাবে Short-এর জন্য ভিউ গণনা করে তা মেলাতে আমরা Data API আপডেট করছি।
আরও জানুন
I18nLanguages
সেভ করা পৃষ্ঠা গুছিয়ে রাখতে 'সংগ্রহ' ব্যবহার করুন
আপনার পছন্দ অনুযায়ী কন্টেন্ট সেভ করুন ও সঠিক বিভাগে রাখুন।
একটি i18nLanguage
সম্পদ একটি অ্যাপ্লিকেশন ভাষা সনাক্ত করে যা YouTube ওয়েবসাইট সমর্থন করে। অ্যাপ্লিকেশন ভাষাটিকে একটি UI ভাষা হিসাবেও উল্লেখ করা যেতে পারে। YouTube ওয়েবসাইটের জন্য, Google অ্যাকাউন্ট সেটিংস, ব্রাউজারের ভাষা বা IP অবস্থানের উপর ভিত্তি করে একটি অ্যাপ্লিকেশন ভাষা স্বয়ংক্রিয়ভাবে নির্বাচন করা যেতে পারে। একজন ব্যবহারকারী নিজেও ইউটিউব সাইটের ফুটার থেকে পছন্দসই UI ভাষা নির্বাচন করতে পারে।
প্রতিটি i18nLanguage
সম্পদ একটি ভাষা কোড এবং একটি নাম সনাক্ত করে। এপিআই পদ্ধতি যেমন videoCategories.list
এবং guideCategories.list
কল করার সময় ভাষা কোড hl
প্যারামিটারের মান হিসাবে ব্যবহার করা যেতে পারে।
পদ্ধতি
API i18nLanguages
সংস্থানগুলির জন্য নিম্নলিখিত পদ্ধতিগুলিকে সমর্থন করে:
- list
- ইউটিউব ওয়েবসাইট সমর্থন করে এমন অ্যাপ্লিকেশন ভাষার একটি তালিকা প্রদান করে। এখনই চেষ্টা করে দেখুন ।
সম্পদ প্রতিনিধিত্ব
নিম্নলিখিত JSON কাঠামোটি একটি i18nLanguages
সম্পদের বিন্যাস দেখায়:
{
"kind": "youtube#i18nLanguage",
"etag": etag,
"id": string,
"snippet": {
"hl": string,
"name": string
}
}
বৈশিষ্ট্য
নিম্নলিখিত সারণী এই সম্পদে প্রদর্শিত বৈশিষ্ট্যগুলিকে সংজ্ঞায়িত করে:
বৈশিষ্ট্য |
---|
kind | string API সম্পদের ধরন সনাক্ত করে। মান হবে youtube#i18nLanguage । |
etag | etag এই সম্পদের Etag. |
id | string আইডি যেটি ইউটিউব ব্যবহার করে অনন্যভাবে 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 সাইট নীতি দেখুন। Java হল Oracle এবং/অথবা তার অ্যাফিলিয়েট সংস্থার রেজিস্টার্ড ট্রেডমার্ক।
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. |"]]