Updates the translations of the form schema, which includes the form label, fields, and options.
Request
POST https://www.activityinfo.org/resources/form/{formId}/schema/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_ |