Translations
About Translations
What are translations?
Translations represent a document that requires a translation into a given language. Depending on the translation_type, the translation is done automatically, by a human, or by a human and then reviewed by a second human.
Possible errors: see here
The translation object
| Attribute | Type | Description |
|---|---|---|
uid | number | The unique identifier of the translation. |
status | enum | The status of the translation. Possible values are: in_progress and completed. |
content_format | string | Always "json" |
context | object | The context of the task. Only present when a context is attached. |
results | object | The results of the translation, encoded in JSON. Only present once a result is available. Contains auto, manual and review, depending on the translation_type. |
{
"translation": {
"uid": 99999,
"status": "completed",
"content_format": "json",
"results": {
"auto": "{\"key\":\"Salut Monde\"}",
"manual": "{\"key\":\"Salut Monde checked by a human\"}"
}
}
}