File Machine Translations (MT)

Perform translation for a previously uploaded file given a source locale and a set of target locales.

post/file-translations-api/v2/accounts/{accountUid}/files/{fileUid}/mt

Request

  • Base URL
    https://api.smartling.com
  • Auth
    HTTP bearer

Path parameters

accountUidstring required

The account’s unique identifier. This can be found in the Smartling Dashboard under Account Settings > API.

fileUidstring required

Unique identifier of the uploaded file.

Request body

sourceLocaleIdstring required

Locale identifier. Either a 2-letter language code (en) or a language-region pair (en-US). The language part is always lowercase; the region part is always uppercase.

targetLocaleIdsLocaleId[] required

List of target locales that the file needs to be translated into.

profileUidstring

Mt profile uid that will be used for file translation.

Example request

{
  "sourceLocaleId": "fr-FR",
  "targetLocaleIds": [
    "de-DE",
    "fr-FR"
  ],
  "profileUid": "4d213d40-4200-45d7-9998-4ce14d506691"
}

Response

OK

Changes