Getting supported languages
To get a list of all translation language pairs supported by GroupDocs.Translation Cloud, send a GET request to https://api.groupdocs.cloud/v2.0/translation/languages
REST API endpoint.
NoteThis request does not require authorization.
The list of all supported language pairs (as an array of objects) is returned in JSON format in the response body.
Property | Type | Description |
---|---|---|
source | String | Source language (translate from) represented by its ISO 639-1 code. |
targets | Array of strings | One or more target languages (translate to) represented by their ISO 639-1 codes. |
[
{
"source": "en",
"targets": [
"ru",
"de",
"fr",
"zh",
"es",
"it",
"ar",
"pt",
"pl",
"uk",
"vi",
"id",
"hi",
"el",
"nl",
"hu",
"sv",
"tr",
"ko",
"ja",
"fi",
"cs",
"ga",
"sk",
"fa",
"az",
"he",
"th",
"ro",
"ms",
"bg",
"bn",
"no",
"da",
"lv",
"lt",
"et",
"hy",
"ca",
"hr",
"sr",
"af",
"ur",
"tl",
"ka"
]
},
...,
{
"source": "ka",
"targets": [
"en"
]
}
]