Set a glossary term translation
wti_set_term_translationCreate or update a glossary term translation in one locale; pass translation_id when multiple translations exist, and set status only during creation.
Instructions
Create or update the translation of a glossary term in one locale. Updates the existing translation when the term has exactly one in that locale; pass translation_id when it has several. The status can only be set when the translation is created.
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": {
"term_id": "<term_id>",
"locale": "<locale>",
"text": "<text>"
},
"name": "wti_set_term_translation"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | ||
| locale | Yes | Locale code as used in the project, e.g. `de`, `fr-BE`, `pt-PT`. | |
| status | No | proposed (default), approved or refused. Only applied when creating: WebTranslateIt's API can't change the status of an existing translation. | |
| term_id | Yes | Term id from wti_search_glossary. | |
| description | No | ||
| translation_id | No | Translation to update, when the term has several in this locale. |