Check locale files
check_localesValidate translated locale files against the source language to catch missing keys, placeholder drift, collapsed plurals, empty values, and untranslated copy.
Instructions
Validate translated locale files against the source language: missing/orphaned keys, dropped or invented placeholders, collapsed plurals, empty values, untranslated copy. Deterministic — no API key and no model call required.
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": {
"path": "<path>"
},
"name": "check_locales"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Path to the locale tree, .arb directory, or .xcstrings file | |
| source | No | Source language code | en |
| ignoreKeys | No | Comma-separated '*' globs of keys to silence | |
| glossaryPath | No | Path to a glossary JSON file |