i18n-unused
- A static analysis tool for identifying, marking, and removing unused/missing i18n translations in JavaScript projects
- Works with various i18n libraries by detecting translation keys in source code
- Supports JSON locale files by default (configurable for other formats)
- Key features:
- Display unused/missing translations
- Mark unused translations with customizable markers
- Remove unused translations automatically
- Sync translations between locale files
- Provides programmatic API through functions like
collectUnusedTranslations()
andcollectMissedTranslations()
- Highly configurable with options for:
- File paths/extensions
- Key matching patterns
- Context handling (plurals, gender, etc.)
- Custom parsers/loaders
- Exclusion patterns
- Target audience: Developers working with internationalized JavaScript applications who want to maintain clean translation files
- License: MIT
i18ni18n-jsinternationalizationreactvueangularjavascripttypescriptnodejssvelte
Featured Stories
No featured articles here. Navigate to an article, then pick the Feature on menu button