Translation files: register and check
godot_translationsList, add, remove, and check Godot translation files, surfacing missing or unused keys and empty locale cells so you can keep CSV and PO localization complete.
Instructions
op list: the translation files the project has registered, and CSV or PO files that are in the project but not registered. op add / remove: a file in internationalization/locale/translations. op check: for a CSV translation file, the keys the code uses with tr("KEY") (and key-like texts in scenes) that are missing from it, keys in it that nothing uses, and locales with empty cells. Dry run by default for add and remove; write: true writes.
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": {
"op": "<op>"
},
"name": "godot_translations"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| op | Yes | what to do | |
| file | No | add, remove, check: the translation file (res:// path) | |
| path | No | project folder, or a file or folder inside it (relative to the server's folder; default: the current project) | |
| write | No | add or remove: write the change (default false: show it) |