Machine Translation Engines

Translate via MT

Required scopes: mt (Read and Write).

post/mts/{mtId}/translations

Request

Path parameters

mtIdinteger required

Machine Translation engine identifier

Request body

languageRecognitionProvider'crowdin' | 'engine'

Select a provider for language recognition

Note: Is required if the source language is not selected

sourceLanguageIdstring

Source Language Identifier. Get via List Supported Languages

targetLanguageIdstring required

Target Language Identifier. Get via List Supported Languages

stringsstring[] required

Strings that should be translated

Note: You can translate up to 100 strings at a time.

Example request

{
  "languageRecognitionProvider": "crowdin",
  "sourceLanguageId": "en",
  "targetLanguageId": "de",
  "strings": [
    "Welcome!",
    "Save as...",
    "View",
    "About..."
  ]
}

Response

String was translated successfully

Example response

{
  "data": {
    "sourceLanguageId": "en",
    "targetLanguageId": "de",
    "strings": [
      "Welcome!",
      "Save as...",
      "View",
      "About..."
    ],
    "translations": [
      "Herzlich willkommen!",
      "Speichern als...",
      "Aussicht",
      "Etwa..."
    ]
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.