If you’ve ever implemented i18next, next-intl, or vue-i18n you probably know that internationalization often slows down your development process.
Why?
You start by declaring your content in your base language. Then you spend time copying it, sending it to your favorite AI provider, waiting for translations, and finally pasting everything back into your /locales or /messages folder.
And you repeat this process for each locale and each namespace.
Whenever your content changes, you go through the same painful loop again.
If your JSON files are too large, you might even have to split them into chunks just to make things work.
To solve this, many teams turn to localization platforms that charge per key, which can get costly for large projects.
In my opinion, translations themselves have no real value anymore.
In 2025, a well-designed script connected to your favorite AI provider can do it better, faster, and cheaper than adding yet another vendor-locked solution to your tech stack.
That’s exactly what Intlayer aims to offer — a script that generates your missing translations at the cost of your chosen AI model.
💡 Example: Adding an additional language to the Intlayer website (100+ English pages) cost around $4 using gpt-5-mini, no need for a larger model.
Want to give it a try? Clone the repo, run the script on one of our 200 missing locales, and submit your PR
What can Intlayer do for you?
- Automated testing support – Run Intlayer from your CLI, in your CI/CD pipelines, or even within your unit tests.
- Auto-fill missing translations – Intlayer detects missing strings and translates only those.
- Smart chunking – If your JSON is large, Intlayer splits it automatically and translates each part independently.
- Parallel translation – Handle hundreds of namespaces efficiently with built-in parallelization.
- Resilient AI handling – If your AI provider returns inconsistent structures (string vs. object), Intlayer detects, retries, and fixes the issue automatically.
- Freedom of choice – Use any AI provider (openAI, Anthropic, DeepSeek, Google, Mistral) with your own API key.
-> Learn more: Intlayer with next-i18next
Top comments (1)
Some comments may only be visible to logged-in visitors. Sign in to view all comments.