Updates the translations of the database tree, which includes the database label, resources (forms, folders, and reports), and roles.
Request
POST https://www.activityinfo.org/resources/databases/{databaseId}/translations/{language}
Request body
application/json
| object | |||
| strings | array[object] | required | |
| id | string | The id of the string. This id is based on how the string is used in the database or form schema. | required |
| original | string | The original, untranslated, string. | required |
| translated | string | The translated string | required |
| autoTranslated | boolean | True if this translation was made automatically. | required |
Response
| Status Code | Error Code | Description |
|---|---|---|
| 200 | OK | |
| 401 | AUTHENTICATION_ |
The request must be authenticated |
| 403 | FORBIDDEN | |
| 404 | DATABASE_ |
|
| 404 | FORM_ |
|
| 404 | LANGUAGE_ |