-
v1.0.0
Stablereleased this
2026-02-02 17:24:56 +00:00 | 9 commits to main since this releaseInitial Release v1.0.0
Welcome to i18n-guardian! This is the first release of our automated internationalization linting and fixing tool.
What's New
- Auto i18n Library Detection: Automatically detects react-intl, i18next, vue-i18n, gettext, python-gettext, and Flask-Babel
- Hardcoded String Detection: Scans source code for strings that should be translated
- Smart Translation Key Generation: Generates keys following project conventions (snake_case, kebab-case, camelCase, PascalCase)
- Diff-based Preview: Shows changes before applying fixes
- Auto-fix Capability: Automatically replaces hardcoded strings with i18n function calls
- Custom Rules: Configure exclusions, thresholds, and naming patterns via YAML
- CI/CD Integration: JSON output format and exit codes for CI pipelines
- Multi-language Support: JavaScript, TypeScript, Python support
Installation
pip install i18n-guardianQuick Start
i18n-guardian init i18n-guardian scan i18n-guardian fix --dry-run i18n-guardian fixFiles Changed
- Core CLI with Click
- Configuration management
- i18n library detectors
- String scanners
- Key generators
- Diff generation
- 67 passing tests
See README.md for full documentation.
Downloads