Translate API v2, gRPC: TranslationService.ListLanguages
Written by
Updated at October 17, 2024
Retrieves the list of supported languages.
gRPC request
rpc ListLanguages (ListLanguagesRequest) returns (ListLanguagesResponse)
ListLanguagesRequest
{
"folderId": "string"
}
Field |
Description |
folderId |
string ID of the folder to which you have access. |
ListLanguagesResponse
{
"languages": [
{
"code": "string",
"name": "string"
}
]
}
Field |
Description |
languages[] |
List of supported languages. |
Language
Field |
Description |
code |
string The language code. |
name |
string The name of the language (for example, |