Changes the value, the description, or both, of one translation, or of several when the body has a translations array. Requires Super User scope. Every change, even a description-only one, marks the translation as customized, so a filesystem sync no longer overwrites its value.
Request
Authorization
Bearer Token
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
or
Body Params application/jsonRequired
Examples
Responses
🟢200OK
application/json
The translation that was changed, or the bulk result. The change is applied shortly after this response, so a read made immediately after can still show the old value.
Bodyapplication/json
🟠400Bad Request
🟠401Unauthorized
🟠403Forbidden
🟠404Not Found
Request Request Example
Shell
JavaScript
Java
Swift
cURL
curl--location--request PUT 'https://awqacore01.crexendocloud.com/ns-api/v2/translations' \
--header'Authorization: Bearer <token>' \
--header'Content-Type: application/json' \
--data'{
"id": "3f2b8c1e-7a4d-4e9b-9c2a-1d5e6f7a8b9c",
"value": "Rechercher des traductions..."
}'
Response Response Example
200 - By ID
{"id":"3f2b8c1e-7a4d-4e9b-9c2a-1d5e6f7a8b9c","locale":"fr-CA","namespace":"common","key":"SEARCH_TRANSLATIONS","value":"Rechercher des traductions..."}