Machine Translation Engines

Add MT

Required scopes: mt (Read and Write).

post/mts

Request

Request body

namestring required

Machine Translation engine name

type'google' | 'google_automl' | 'microsoft' | 'deepl' | 'amazon' | 'modernmt' | 'custom_mt' required

MT engine type

groupIdinteger

Group Identifier – defines group to which MT is added. Get via List Groups *

  • If '0' – MT will be available for all projects and groups in your workspace
enabledLanguageIdsstring[]

Array of language ids. Get via List Supported Languages

enabledProjectIdsinteger[]

Array of project ids. Get via List Projects

isEnabledboolean

Defines whether to enabled MT engine.

Example request

{
  "enabledLanguageIds": [
    "uk"
  ],
  "enabledProjectIds": [
    22
  ]
}

Response

MT was added successfully

Example response

{
  "data": {
    "id": 2,
    "groupId": 2,
    "name": "Crowdin Translate",
    "type": "crowdin",
    "credentials": {
      "crowdin_nmt": 1,
      "crowdin_nmt_multi_translations": 1
    },
    "supportedLanguageIds": [
      "en",
      "es",
      "pl"
    ],
    "supportedLanguagePairs": {
      "en": [
        "de",
        "fr",
        "ru"
      ],
      "fr": [
        "en"
      ],
      "zh-CN": [
        "en",
        "ja"
      ]
    },
    "enabledLanguageIds": [
      "uk"
    ],
    "enabledProjectIds": [
      1
    ],
    "projectIds": [
      1
    ],
    "isEnabled": true
  }
}

Changes

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