Translation quality checks
Check string translation quality
Changed onCheck string translation quality.
post/translation-quality-api/v2/accounts/{accountUid}/projects/{projectId}/check
Request
- Base URLhttps://api.smartling.com
- AuthHTTP 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
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
- info
endpoint added
- info