name: i18n-manager description: Extracts hardcoded strings from your code for internationalization. Generates translation files.
I18n Manager
Scans your project for hardcoded user-facing strings and extracts them into translation files for internationalization.
Usage
python .agent/skills/i18n-manager/scripts/string_extractor.py --path "src/" --output "locales/"
What It Does
- Scans source files for hardcoded strings (JSX text, template literals, Python f-strings)
- Generates
en.jsontranslation file with extracted strings - Creates translation keys automatically (e.g.,
"Welcome to our app"→welcome_to_our_app) - Reports files and line numbers for each extracted string
Data
data/i18n_patterns.json— Detection patterns and common translation structures
Supported Frameworks
- React/Next.js (JSX text content)
- Vue.js (template text)
- Python (user-facing strings)
- HTML templates