Set translations of a string
wti_set_translationsSaves a string's translation for one or more locales, including the source locale, and reports which locale saves failed due to validation errors.
Instructions
Save the translation of one string in one or more locales (the source locale included). Each locale is saved separately and the result says which ones failed, e.g. on WebTranslateIt validation errors.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"translations": "<translations>"
},
"name": "wti_set_translations"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | No | Exact key of the string, e.g. `booking_confirm_title`. Pass this or `string_id`. | |
| file_id | No | Master file id (see wti_get_project). Only needed when the same key exists in several files. | |
| string_id | No | Numeric id of the string. Pass this or `key`. | |
| minor_change | No | For source-locale edits such as typo fixes: don't flag the other locales as 'to verify'. | |
| translations | Yes | ||
| skip_validation | No | Save even if WebTranslateIt's checks (placeholders, length, …) fail. |