set_translations
Set translation values for a key in a Tolgee project by mapping language tags to translated text.
Instructions
Set translation values for an existing key in a Tolgee project.
Args:
project_id: The numeric ID of the project.
key_name: The name of the existing key.
translations: Dict mapping language tags to translation text values (e.g., {"en": "Hello", "fr": "Bonjour"}).
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": {
"project_id": "<project_id>",
"key_name": "<key_name>",
"translations": "<translations>"
},
"name": "set_translations"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project_id | Yes | ||
| key_name | Yes | ||
| translations | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |