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 |
---|
{ "language_code": string, "display_name": string, "support_source": boolean, "support_target": boolean } |
Fields | |
---|---|
language_code |
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 |
Human-readable name of the language localized in the display language specified in the request. |
support_source |
Can be used as source language. |
support_target |
Can be used as target language. |