Translation quality checks

Check string translation quality

Changed on

Check string translation quality.

post/translation-quality-api/v2/accounts/{accountUid}/projects/{projectId}/check

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.

projectIdstring required

Unique identifier of a Smartling project — 9 lowercase alphanumeric characters.

Example:84c012a33

A unique project identifier. This can be found in the Smartling Dashboard under Account Settings > API.

Request body

targetLocaleIdstring 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.

sourceLocaleIdstring

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.

skipSuggestionsboolean

skip suggestions

useDefaultSettingsboolean

use default settings

Example request

{
  "targetLocaleId": "fr-FR",
  "sourceLocaleId": "fr-FR",
  "strings": [
    {
      "hashcode": "d41d8cd98f00b204e9800998ecf8427e",
      "originalString": "blacklist_term",
      "translation": "blacklist_term",
      "pluralFormGroupUid": "7191152182c69d9b72069ac1290fe24b",
      "pluralForm": "ONE"
    }
  ],
  "checkTypeCodes": [
    {
      "checkTypeCode": "LEADING_TRAILING_SPACES"
    }
  ]
}

Response

OK

Example response

{
  "response": {
    "data": {
      "results": [
        {
          "string": {
            "originalString": "blacklist_term",
            "translation": "blacklist_term",
            "hashcode": "d41d8cd98f00b204e9800998ecf8427e",
            "pluralFormGroupUid": "7191152182c69d9b72069ac1290fe24b",
            "pluralForm": "FEW"
          },
          "mistakes": [
            {
              "checkTypeCode": "BLACKLISTED_TERMS",
              "details": {
                "blacklistedTermUid": "uidgj1",
                "termText": "blacklist_term",
                "alternatives": [
                  "alternative 1"
                ]
              },
              "positionTypeCode": "TARGET"
            }
          ]
        }
      ]
    }
  }
}

Changes