This content originally appeared on DEV Community and was authored by Asad Rafi
Auto Translation CLI β Build Once, Translate Everywhere!
βGood code makes products work. Great code makes them speak every language.β
Hey Devs ,
I built something to make your life easier β and your apps more global!
Introducing Auto Translation CLI v2.0
Now with React Native support, so whether youβre building for web or mobile, your i18n workflow is just one command away.
Why?
Because time spent on manual translation setup = time not spent building what matters.
This CLI automates it all:
One-command setup
Smart file organization
Auto-wrap text into
t()
Works for React & React Native (Node.js coming soon!)
Core Commands
Command | Description |
---|---|
auto-translation scan |
Scans your project and detects plain text for translation |
auto-translation wrap |
Automatically wraps detected text with t()
|
auto-translation extract |
Extracts translation keys into locale JSON files |
auto-translation organize |
Organizes translations into namespaces and files |
auto-translation strict |
Enforces consistency across teams with strict mode |
Quick Start
Step | Command | Description |
---|---|---|
1⃣ | npm install -g auto-translation |
Install the CLI globally |
2⃣ | npx auto-translation |
Launch interactive setup |
3⃣ | (Choose mode) | ![]() ![]() ![]() |
Remember:
Every app has the potential to go global.
Donβt let language barriers hold your code back.
Try it now: GitHub Repo | NPM
If this inspires you, star the repo & letβs make internationalization effortless together!
Build boldly. Ship globally.
This content originally appeared on DEV Community and was authored by Asad Rafi