Add or update translations
i18n_upsert_translationsCreate or update locale keys with per-locale values in one call. Writes immediately, never deletes, reports conflicts, missing locales, and placeholder mismatches; supports overwrite and dry-run.
Instructions
Create or update keys in one call, with a value per locale. Writes immediately and never deletes keys. An existing value that differs is reported as a conflict unless overwrite:true. Reports missing locales and placeholder mismatches.
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": {
"entries": "<entries>"
},
"name": "i18n_upsert_translations"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dryRun | No | Preview only (default false). | |
| entries | Yes | ||
| overwrite | No | Replace values that already differ (default false). | |
| workspaceDir | No | Sub-directory of the workspace root to operate on. Usually omitted. |