What problem does it solve?
Keeps translation JSON files and code-based translation calls in sync to prevent missing keys, orphaned translations, and inconsistent placeholders across locales, using en-US as the source of truth.
Core Features & Use Cases
- Structure validation: Compare en-US key paths with other locale files to detect missing or extra keys.
- Code↔JSON verification: Scan code for useTranslations and t() calls and confirm referenced keys exist in the locale JSON.
- Unused key discovery: Identify translation keys present in JSON but never referenced in code to find legacy or removable entries.
- Value consistency checks: Validate placeholders and embedded HTML/markdown are consistent across locales.
- Use case: Before release, run a full sweep to ensure new components' translation keys are added to en-US and propagated as placeholders to other locales.
Quick Start
Use the i18n-maintenance skill to validate translation coverage, find missing or unused keys, and sync the en-US structure to other locales.