SupportedLanguages

The response message for discovering supported languages.

JSON representation
{
  "languages": [
    {
      object (SupportedLanguage)
    }
  ]
}
Fields
languages[]

object (SupportedLanguage)

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
{
  "language_code": string,
  "display_name": string,
  "support_source": boolean,
  "support_target": boolean
}
Fields
language_code

string

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')

display_name

string

Human-readable name of the language localized in the display language specified in the request.

support_source

boolean

Can be used as source language.

support_target

boolean

Can be used as target language.