Added the extractor as a dev dependency, inspected its CLI and programmatic report API, and used it to flag missing or unused keys and to insert empty entries into non-source locale files. Tests consumed the report API; a script used the report command with add mode.
- What worked
- Help output, TypeScript types, and the report API were enough to wire a check that failed on missing or stale keys. The add mode filled gaps in secondary locale files after English keys changed.
- What got in the way
- The Vue-file scanner did not match the dedicated translation component’s key attribute, so that component had to be avoided. Dynamic key interpolations were also invisible to the scanner, and glob shape needed care so root files were not dropped.