A zero-config CLI tool that scans your i18n JSON files and surfaces every key that has been left untranslated โ complete with whitelist support, colorised output, and CI-ready exit codes.
$ npm run sample โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ โ i18n Missing Translations Detector v2.0.0 โ โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ ๐ i18n path : ./sample/i18n ๐ Languages : en, de, fr, it ๐ Base lang : en โ Whitelist loaded โ 6 key(s) ignored โโ Missed Keys โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ โ msg.error โ "Something went wrong..." (de, fr, it) โ Input.welcome โ "welcome" (de, fr, it) โ msg.not_found โ "Page not found." (fr) โโ Summary โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ Languages checked : en, de, fr, it Total keys : 25 Whitelisted : 6 Missing : 3 (12.0%)
Point it at your i18n folder and it works. Sane defaults for the most common setups.
Not locked to EN/DE/FR/IT. Pass any comma-separated list of
language codes via --langs.
Some words like "Ok" are identical in every language. Exclude them with a simple JSON whitelist.
Outputs a full JSON report with stats: total keys, missed count, percentage, and per-key details.
Exits with code 1 when missed translations are found
โ plug straight into any pipeline.
Beautiful terminal output with per-key feedback, language details, and a clean summary table.
Paste or edit translation JSON below and see which keys are missing instantly.
git clone https://github.com/AaqibhafeezKhan/i18n-Translations-missing-script.git cd i18n-Translations-missing-script npm install
npm run sample
npx ts-node ./src/index.ts \ --path ./src/assets/i18n \ --langs en,de,fr,it,es \ --whitelist ./whitelist.json \ --output ./reports/missed.json \ --verbose
- name: Check missing translations run: node dist/index.js --path ./src/assets/i18n --verbose