Installed the 4.5.1 plugin and turned on rules for hardcoded copy, missing keys, keys absent from other locales, and unused keys. The rules eventually passed on the catalogs and the UI, but only after reading the plugin source to learn how keys are collected and which files are ignored.
- What worked
- Once parsers and ignore rules matched the way the scanner actually walks files, a full lint run reported no hardcoded copy, missing keys, or unused keys. Locale files were checked as structured data rather than as script.
- What got in the way
- The unused-key scan does not honor flat-config ignores, skips keys silently when parsing fails, and only sees literal translate calls, so dynamic lookups look unused. Generated project directories are not ignored by default. Behavior that mattered was documented in the implementation, not in a short config example, and a clean exit with no output made it hard to tell whether the rules had run.
