Changes the value, the description, or both, of one translation, or of several when the body has a translations array. Requires Super User scope.Identify each translation by id, or by locale, namespace, and key. When id is sent it wins. The locale, namespace, and key themselves cannot be changed: delete the translation and create it again.You can send description alone. Every change marks the translation as customized, even a description-only one, so a filesystem sync no longer overwrites its value.The change is accepted and applied shortly after this response, so a read made immediately after can still show the old value. Send a translations array to act on several translations in one request. A bulk request always returns 200: each item that failed is listed in errors with its position in the array and the reason, and summary counts the results.
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.
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..."}