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

KeyDatatypeRequiredDescription
typestringSets whether source or target languages should be listed. Possible options are:
  • source (default): For languages that can be used in the source_lang parameter of :apiDocsLink[translate]{operationId=translateText} requests.
  • target: For languages that can be used in the target_lang parameter of :apiDocsLink[translate]{operationId=translateText} requests. |

HEADERS

KeyDatatypeRequiredDescription
Acceptstring

RESPONSES

status: OK

[{"language":"\u003cstring\u003e","name":"\u003cstring\u003e","supports_formality":"\u003cboolean\u003e"},{"language":"\u003cstring\u003e","name":"\u003cstring\u003e","supports_formality":"\u003cboolean\u003e"}]