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
 { 
 "languageCode" 
 : 
 string 
 , 
 "displayName" 
 : 
 string 
 , 
 "supportSource" 
 : 
 boolean 
 , 
 "supportTarget" 
 : 
 boolean 
 } 
Fields
languageCode

string

Supported language code, generally consisting of its ISO 639-1 identifier, for example, 'en', 'ja'. In certain cases, ISO-639 codes including language and region identifiers are returned (for example, 'zh-TW' and 'zh-CN').

displayName

string

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

supportSource

boolean

Can be used as a source language.

supportTarget

boolean

Can be used as a target language.

Create a Mobile Website
View Site in Mobile | Classic
Share by: