I18n Audit
Testing & Qualityi18n-auditI18n Audit is an Agent Skill for testing & quality published in the RocketChat/Rocket.Chat.Electron repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.
Audit translation completeness across all language files
How to use this skill
Bring this guide into your coding agent with a prompt tailored to the tool you use.
- Open your project in Codex.
- Copy and paste the prompt below.
- Review files and risks before approving any action.
Inspect the Agent Skill at https://github.com/RocketChat/Rocket.Chat.Electron/blob/HEAD/.claude/skills/i18n-audit/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/i18n-audit, but wait for my approval before writing files or running scripts.
Copying this prompt does not install or run the skill. Review third-party files before use.
i18n Translation Audit
Compare all language files against the English reference (src/i18n/en.i18n.json) and report translation coverage.
Arguments
language(optional): Audit a specific language code (e.g.,pt-BR,ja). Defaults to all languages.verbose(optional): If "true", list every missing key. Otherwise show summary only.
Steps
1. Load Reference Keys
Read src/i18n/en.i18n.json and extract all keys (including nested keys using dot notation, e.g., dialog.about.title).
2. Scan All Languages
For each *.i18n.json file in src/i18n/ (except en.i18n.json):
- Extract all keys using the same dot notation
- Compare against the English reference
- Record:
- Missing keys: Present in
enbut absent in this language - Extra keys: Present in this language but absent in
en(possibly outdated) - Total keys: Count in this language vs English
- Missing keys: Present in
3. Generate Report
Output a summary table:
Language | Keys | Missing | Extra | Coverage
-------------|------|---------|-------|--------
pt-BR | 142 | 3 | 0 | 97.9%
ja | 138 | 7 | 1 | 95.2%
...
If verbose is "true", also list the specific missing and extra keys per language.
4. Highlight Critical Gaps
Flag any language below 90% coverage as needing attention.
Languages
The project has 22 language files: ar, de-DE, en (reference), es, fi, fr, hu, it-IT, ja, nb-NO, nn, no, pl, pt-BR, ru, se, sv, tr-TR, uk-UA, zh, zh-CN, zh-TW