A simple web-based tool to manage translation files efficiently.
✅ Edit and manage locale files in your browser
✅ Supports JSON-based translation files
✅ Automatically updates or adds new translation keys
✅ Lightweight and easy to use
✅ No command-line setup required
✅ Starts on a random available port
✅ Supports custom locales directory (default: locales/
)
npm install -g i18n-editor
i18n-editor [--locales <directory>]
This will start a local web server on a random available port and open the editor in your default browser.
i18n-editor --locales my-translations/
By default, the tool looks for locale files in the locales/
directory.
- The tool will automatically open in your browser.
- View and edit all translations in a structured table.
- Click on a translation field to modify its value.
- Changes are saved automatically.
📂 project-root
├── 📂 locales # Default JSON translation files
│ ├── en.json
│ ├── fr.json
│ └── es.json
├── package.json # Project dependencies
├── README.md # Documentation
Feel free to open a PR if you’d like to improve the tool! 🚀
MIT License