Translations
About Translations
What are translations?
Translation represent a document that require a translation in a given language.
Endpoints
The translation object
Attributes
Parameter | Type | Note | |
---|---|---|---|
translation[content] | required | string | json string of the hash you want to translate |
translation[from] | required | string | iso code of the source language |
translation[to] | required | string | iso code of the language to translate to |
translation[translation_type] | required | enum | auto , manual , review_translation |
translation[auto_translation_mode] | optional | enum | either async or inline to decide if you want the translation being made in th e same |
Example
{
"translation": {
"content": "{\"key\":\"Hello World\"}",
"from": "en",
"to": "fr",
"translation_type": "manual",
"auto_translation_mode": "async"
}
}