writeTranslation
Update or write translation values for specific keys in Weblate translation projects to manage multilingual content.
Instructions
Update or write a translation value for a specific key
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": {
"projectSlug": "<projectSlug>",
"componentSlug": "<componentSlug>",
"languageCode": "<languageCode>",
"key": "<key>",
"value": "<value>"
},
"name": "writeTranslation"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| projectSlug | Yes | The slug of the project | |
| componentSlug | Yes | The slug of the component | |
| languageCode | Yes | The language code (e.g., en, es, fr) | |
| key | Yes | The translation key to update | |
| value | Yes | The new translation value | |
| markAsApproved | No | Whether to mark as approved (default: false) |