batch_translate_locales
Translate a base locale file into multiple Spanish dialects using a specified provider. Supports directories of locale files and arrays of target dialect codes.
Instructions
Translate base locale to multiple target dialects
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": {
"directory": "<directory>",
"targets": "<targets>"
},
"name": "batch_translate_locales"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| targets | Yes | Array of target Spanish dialect codes | |
| provider | No | Translation provider name (deepl, libre, mymemory) | |
| directory | Yes | Directory containing locale files | |
| baseLocale | No | Base locale name (e.g., en, es-ES) |