The response message for discovering supported languages.
JSON representation |
---|
{
"languages": [
{
object ( |
Fields | |
---|---|
languages[] |
A list of supported language responses. This list contains an entry for each language the Translation API supports. |
SupportedLanguage
A single supported language response corresponds to information related to one supported language.
JSON representation |
---|
{ "languageCode": string, "displayName": string, "supportSource": boolean, "supportTarget": boolean } |
Fields | |
---|---|
languageCode |
Supported language code, generally consisting of its ISO 639-1 identifier, for example, 'en', 'ja'. In certain cases, BCP-47 codes including language and region identifiers are returned (for example, 'zh-TW' and 'zh-CN') |
displayName |
Human readable name of the language localized in the display language specified in the request. |
supportSource |
Can be used as source language. |
supportTarget |
Can be used as target language. |