Get text translation language pairs
Get the list of supported language pairs for text translation.
- A language pair represents a combination of a source language code together with a target language code.
- These codes follow the IETF BCP 47 language tag standard.
For example, the codeen-GBstands for British English andpt-PTfor Portuguese from Portugal.
See the language code schema for more information regarding the allowed format/syntax.
Example of a response to this endpoint:
[{"source": "en-GB", "target": "de-DE"}, {"source": "da", "target": "en-GB"}].
This response means that our MT API supports and allows translating from:
- English - United Kingdom (en-GB) to German-Germany (de-DE)
- Danish (da) to English - United Kingdom (en-GB)
However, it does not necessarily support the other way round!
When specifying the MT language pairs of your need, pay special attention to the direction (source-target) of the language pair codes.
| Responses | ||||
|---|---|---|---|---|
200Successful response
| ||||
401The access token provided is missing, expired, revoked, malformed, or invalid for other reasons. The client MAY request a new access token and retry the protected resource request.
| ||||
403The request requires higher privileges than provided by the access token. The request should not be retried.
| ||||
429Too many requests in the time interval
| ||||
500Internal server error
|