-
Notifications
You must be signed in to change notification settings - Fork 0
Home
Yuki edited this page Jul 10, 2026
·
3 revisions
i18n-smell-detector is a CI-friendly localization quality checker.
It helps catch issues that ordinary key coverage tools miss:
- Copied base-locale translations.
- Missing or extra placeholders.
- Hardcoded user-visible strings in Vue, JS, TS, JSX, and TSX files.
- Getting Started
- Configuration
- Commands
- Checks
- Reports and CI
- Baseline
- Algorithms
- TypeScript API
- Integrations
- Performance
- Project Maturity
- Troubleshooting
- Install the package.
- Generate a starter config with
init. - Run in reporting mode with
--fail-on none. - Tune locale paths, source globs, and allowlists.
- Add a baseline if the project already has known findings.
- Enable CI failure with
--fail-on highor--fail-on medium.
The detector is intentionally rule-based. It does not translate text and it does not verify key coverage. It reports suspicious localization quality patterns so teams can review and fix them.
- Use Algorithms to understand severity classification and false-positive tradeoffs.
- Use Integrations for ESLint, Prettier, VS Code, and pre-commit templates.
- Use Performance before changing scanner or parser behavior.
- Use TypeScript API when building custom integrations.