Retrieve Supported Languages
GET {{baseUrl}}/languages?type=source
Retrieve the list of languages that are currently supported for translation, either as source or target language, respectively.
Request Params
| Key | Datatype | Required | Description |
|---|---|---|---|
type | string | Sets whether source or target languages should be listed. Possible options are: |
source(default): For languages that can be used in thesource_langparameter of :apiDocsLink[translate]{operationId=translateText} requests.target: For languages that can be used in thetarget_langparameter of :apiDocsLink[translate]{operationId=translateText} requests. |
HEADERS
| Key | Datatype | Required | Description |
|---|---|---|---|
Accept | string |
RESPONSES
status: OK
[{"language":"\u003cstring\u003e","name":"\u003cstring\u003e","supports_formality":"\u003cboolean\u003e"},{"language":"\u003cstring\u003e","name":"\u003cstring\u003e","supports_formality":"\u003cboolean\u003e"}]