Check localisation in every language
hoi4.localisation_inspectInspect HOI4 localisation keys or audit a mod for undefined keys, missing translations, duplicates and file issues. Use it to check coverage before shipping.
Instructions
Read localisation in every language the game and mod ship. key: one key per language with file, line and layer, the languages lacking it and the files mentioning it. audit: keys the mod uses that no language defines, keys missing from a supported language, keys defined twice in one language, and file problems. coverage: keys per language. Example: {"mode":"key","key":"my_event.1.t"} or {"mode":"audit"}. Returns counts per problem and a few examples of each.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "hoi4.localisation_inspect"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | No | ||
| mode | No | audit | |
| limit | No | ||
| language | No | ||
| workspaceId | No | current |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | ||
| data | Yes | ||
| status | Yes | ||
| blockers | No | ||
| artifacts | No | ||
| validation | Yes | ||
| diagnostics | No | ||
| workspaceId | Yes | ||
| changedFiles | No | ||
| filesScanned | No | ||
| proposedFiles | No |