Package Exports
- @sayyyat/smart-i18n
- @sayyyat/smart-i18n/lib
Readme
Smart-i18n
A Gulp-based CLI toolkit for modular, scalable i18n in JS/TS projects
Smart-i18n is a framework-agnostic internationalization (i18n) CLI toolkit that automates translation workflows in JavaScript and TypeScript projects. It is based on Gulp and designed to integrate seamlessly into apps built with Next.js, React, Vue, or other frontend/backend stacks.
🚀 Features
- ✅ Automatic namespace detection and key extraction
- 🔄 Seamless translation file merging with old keys preserved
- 🌐 On-demand machine translation via Deep Translate (RapidAPI)
- 🔒 Safe TypeScript typings for all i18n keys
- 🧱 Modular Gulp tasks for fully scriptable i18n pipelines
- 🧰 CLI-based, works via
yarn smart-i18n
,npx smart-i18n
, or direct Gulp
📁 Documentation
- 📚 Getting Started Guide — project setup and concepts
- 🏗 Gulp Scripts Structure — full CLI task and file layout overview
🔗 Example Integration
Looking for a working example? Check out:
👉 next-i18n-auth — A full Next.js 14+ app using smart-i18n
with multi-language authentication, modular translation, and CLI-driven workflows.
⚖️ License
MIT © Sayat Raykul