Diff locales against the source
diff_localesIdentify missing and extra translation keys across locale files. Compare source language keys against target translations to list gaps and obsolete entries.
Instructions
Answer "what needs translating?": per language, the keys missing from the translation and the keys present that no longer exist in the source. No API key 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": "diff_locales"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lang | No | Limit to one language | |
| path | Yes | Path to the locale tree, .arb directory, or .xcstrings file | |
| source | No | Source language code | en |