Events
Event translation_completed
This event occure when the a translation is completed according to the level of review provided on request. The result is sent directly via the payload
Parameters
Parameter | Type | Note |
---|---|---|
event | string | event name |
translation[uid] | string | ID of the translation request |
translation[status] | string | status of the translation |
translation[content_format] | string | Format of the result |
translation[result][auto] | string | Result of the automatic translation encoded in JSON |
translation[result][manual] | string | Result of the manual translation encoded in JSON |
translation[result][manual] | string | Result of the review done on the manual translation encoded in JSON |
Example
{
"event": "translation_completed",
"translation": {
"uid": 99999,
"status": "completed",
"content_format": "json",
"results": {
"auto": "{\"key\":\"Salut Monde\"}",
"manual": "{\"key\":\"Salut Monde checked by a human\"}",
"review": "{\"key\":\"Salut Monde checked by two humans\"}"
}
}
}