I18nLanguages
i18nLanguage
리소스는 YouTube 웹사이트에서 지원하는 애플리케이션 언어를 식별합니다. 애플리케이션 언어를 UI 언어라고도 합니다. YouTube 웹사이트의 경우 Google 계정 설정, 브라우저 언어 또는 IP 위치에 따라 애플리케이션 언어가 자동으로 선택될 수 있습니다. 사용자는 YouTube 사이트 바닥글에서 원하는 UI 언어를 직접 선택할 수도 있습니다.
각 i18nLanguage
리소스는 언어 코드와 이름을 식별합니다. 언어 코드는 videoCategories.list
및 guideCategories.list
와 같은 API 메서드를 호출할 때 hl
매개변수의 값으로 사용할 수 있습니다.
메서드
API는 i18nLanguages
리소스에 대해 다음 메서드를 지원합니다.
- list
- YouTube 웹사이트에서 지원하는 애플리케이션 언어 목록을 반환합니다.
지금 사용해보기
리소스 표현
다음 JSON 구조에서 i18nLanguages
리소스의 형식을 보여줍니다.
{
"kind": "youtube#i18nLanguage",
"etag": etag,
"id": string,
"snippet": {
"hl": string,
"name": string
}
}
속성
다음 표는 이 리소스에 표시되는 속성을 정의합니다.
속성 |
kind |
string
API 리소스의 유형을 식별합니다. 값은 youtube#i18nLanguage 입니다. |
etag |
etag
이 리소스의 Etag입니다. |
id |
string
YouTube에서 i18n 언어를 고유하게 식별하는 데 사용하는 ID입니다. |
snippet |
object
snippet 객체에는 언어 코드 및 이름과 같은 i18n 언어에 관한 기본 세부정보가 포함됩니다. |
snippet.hl |
string
언어를 고유하게 식별하는 BCP-47 코드입니다. |
snippet.name |
string
i18nLanguage.list 메서드의 hl 매개변수를 사용하여 지정된 언어로 작성된 언어 이름입니다. |
달리 명시되지 않는 한 이 페이지의 콘텐츠에는 Creative Commons Attribution 4.0 라이선스에 따라 라이선스가 부여되며, 코드 샘플에는 Apache 2.0 라이선스에 따라 라이선스가 부여됩니다. 자세한 내용은 Google Developers 사이트 정책을 참조하세요. 자바는 Oracle 및/또는 Oracle 계열사의 등록 상표입니다.
최종 업데이트: 2024-11-29(UTC)
[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`."]]],[]]