BLOG
The Best i18n Libraries for Every Framework in 2027
TL;DR: Use react-i18next for React, next-intl for Next.js App Router, vue-i18n (with @nuxtjs/i18n on Nuxt) for Vue, Paraglide JS for SvelteKit and other Vite apps, @angular/localize for Angular, i18next with expo-localization for React Native, and Django's built-in gettext for Django. Use i18next-cli instead of the deprecated i18next-parser, the built-in Intl API for formatting, and pseudo-localization for testing.
Key Takeaways
- react-i18next, next-intl, vue-i18n, Paraglide JS and @angular/localize are the strongest default picks for their frameworks
- next-i18next supports the App Router since version 16, so i18next is now a reasonable choice on Next.js too
- svelte-i18n has had no release since October 2024; SvelteKit's official integration is Paraglide JS
- i18next-parser is deprecated; i18next-cli replaces it and adds linting, types and unused-key checks
- Lingui 6 went ESM-only, and MessageFormat 2 is now a stable Unicode standard, though native Intl.MessageFormat is still TC39 stage 1
If you are starting a project in 2027, or finally adding languages to one you already have, the first decision is the i18n library. This guide picks one for each major framework, with a runner-up, using numbers rather than reputation: the latest version and weekly npm downloads of every library, checked on October 27, 2026. After the libraries, it covers the tools around them that save the most time: extraction, wrapping hardcoded strings, managing translations and testing.
Quick Answer
Use react-i18next for React, next-intl for Next.js App Router, vue-i18n (with @nuxtjs/i18n on Nuxt) for Vue, Paraglide JS for SvelteKit and other Vite apps, @angular/localize for Angular, i18next with expo-localization for React Native, and Django's built-in gettext for Django. All of them are actively maintained, support plurals and interpolation, and keep translations in plain files in your repo. For tooling, use i18next-cli instead of the deprecated i18next-parser, the built-in Intl API for numbers and dates, and pseudo-localization for testing.
How We Picked
- Maintained. A release in the last few months, and no deprecation notice. Libraries change with their frameworks; an abandoned one becomes a migration later.
- Correct plurals and formatting. Languages such as Polish and Arabic have more plural forms than English. The library must handle them, ideally through ICU MessageFormat or
Intl.PluralRules. - Fits the framework's rendering model. Server Components in Next.js, SSR in Nuxt and SvelteKit, bundled files on mobile.
- Adoption. Weekly downloads are a rough signal, not a ranking: they show how many answers, examples and plugins you will find when something breaks.
- Plain files. Translations live in JSON, PO or similar files you own, so you can change tools later.
The Picks at a Glance
| Framework | Pick | Latest version | Weekly downloads | Runner-up |
|---|---|---|---|---|
| React | react-i18next | 17.1 | 12.9M | Lingui 6, react-intl 12 |
| Next.js (App Router) | next-intl | 4.14 | 3.9M | next-i18next 16 |
| Vue / Nuxt | vue-i18n / @nuxtjs/i18n | 11.4 / 10.6 | 3.2M / 525K | Paraglide JS |
| Svelte / SvelteKit | Paraglide JS | 2.29 | 348K | svelte-i18n (no release since 2024) |
| Angular | @angular/localize | 22.2 | 1.4M | Transloco, ngx-translate |
| React Native / Expo | i18next + expo-localization | 26.5 / 58.0 | 18.5M / 1.4M | Lingui 6 |
| Django | Built-in gettext | Part of Django | n/a | None needed |
Versions and weekly downloads are from the npm registry on October 27, 2026. Downloads count every install, including CI runs and dependencies of other packages (i18next's number includes every react-i18next and next-i18next app), so compare them within a row, not across rows.
React: react-i18next
react-i18next is the default for a reason: it has the largest ecosystem of any JavaScript i18n library, the same core runs in React, React Native and Node.js, and plugins cover language detection, lazy loading from a server, and ICU syntax if you want it. Version 17 is current, and i18next itself is on version 26. Our react-i18next tutorial sets it up from scratch.
Consider Lingui 6 if you prefer writing the English text in your components instead of inventing keys: its <Trans> macro turns <Trans>Welcome back</Trans> into a message at build time, and its CLI extracts every message into catalogs. Lingui 6 shipped in April 2026 as ESM-only with improved TypeScript support, and it documents React Server Components. react-intl (FormatJS, version 12) is the other mature choice, built on ICU MessageFormat throughout.
Next.js: next-intl
For the App Router, next-intl is the most direct fit: the same useTranslations API works in Server and Client Components, it handles locale routing in proxy.ts (middleware before Next.js 16), and it uses ICU MessageFormat for plurals and selects. Version 4 is current. The next-intl setup guide walks through it.
next-i18next is back in the running. It used to be Pages Router only, but version 16 (March 2026) added App Router support with getT() for Server Components and useT() for Client Components, plus mixed setups where both routers coexist. If your team already knows i18next, or you share translation files with a React Native app, it is now a reasonable choice. next-intl vs react-i18next compares the two approaches in detail.
Vue and Nuxt: vue-i18n
vue-i18n is the standard for Vue 3, on version 11. Use the Composition API (useI18n) rather than the legacy API for new projects. On Nuxt, add @nuxtjs/i18n (version 10), which wraps vue-i18n and adds localized routes, SEO tags and lazy-loaded locale files. Our vue-i18n best practices covers the patterns that keep a growing app manageable.
Svelte and SvelteKit: Paraglide JS
Paraglide JS is SvelteKit's official i18n integration (npx sv add paraglide). It is a compiler: each message becomes a typed function such as m.greeting({ name }), so typos fail at build time and unused messages are tree-shaken out of the bundle. Version 2 also works with React, TanStack Start, Vue, Solid, Astro and plain Vite apps, which makes it the best framework-agnostic pick here.
svelte-i18n, the older option, still gets about 90,000 weekly downloads, but its last release was in October 2024. For a new SvelteKit project, start with Paraglide.
Angular: @angular/localize
Angular's built-in i18n marks text with the i18n attribute and $localize, extracts it with ng extract-i18n, and builds one bundle per language at compile time. That gives the fastest runtime and follows Angular's own releases (version 22). The trade-off is that switching language means loading a different build. If you need to switch at runtime without a reload, Transloco (version 8) or ngx-translate (version 18, the most downloaded Angular option) load translations as JSON at runtime instead.
React Native and Expo: i18next with expo-localization
On mobile, use the same i18next and react-i18next as on the web, with expo-localization (or react-native-localize in bare apps) to read the device's languages. Translations are bundled with the app, so they work offline and on first launch. Make sure Intl.PluralRules is available (Hermes provides it from React Native 0.73), or every count uses the English plural form. Our React Native i18n guide covers bundling, plurals, right-to-left layouts and translating the app name.
Django: Built-In gettext
Django needs no extra library. Mark strings with gettext or {% translate %}, run makemessages to produce .po files, translate them and run compilemessages. Plurals, contexts and lazy translation in models are all built in. The Django i18n guide covers the full workflow.
The Tools Around the Library
The library renders translations. Most of the time in a localization project goes into everything else:
- Extracting keys: i18next-cli. i18next-parser is deprecated; its README says it is no longer maintained as of September 2025 and points to i18next-cli, which extracts keys, finds unused ones, lints for hardcoded strings and generates TypeScript types.
npx i18next-cli migrate-configconverts an old parser config. Lingui and FormatJS have their ownextractcommands. - Formatting: the
IntlAPI. Dates, numbers, currencies, relative times and lists are built into every browser and Node.js. You rarely need a formatting library on top. See the JavaScript Intl API guide. - Testing: pseudo-localization. Replace every string with a longer, accented version (
[Ŵéļçöɱé ƀåçķ]) to find hardcoded text and layouts that break with longer languages, before any real translation exists. See pseudo-localization testing. - Managing translations: a TMS, if you need one. Once human translators or reviewers are involved, a translation management system such as Crowdin, Tolgee, Locize or Weblate syncs their work with your repo. Our Lokalise and Crowdin alternatives post compares them with prices.
If Your Strings Are Still Hardcoded
Picking a library is the easy part when the app already has hundreds of components with text like <h1>Welcome back</h1>. Someone has to find each string, invent a key, replace it with t(), and write the locale files. Two tools automate that first pass:
- i18next-cli (free, MIT) has an
instrumentcommand that wraps hardcoded strings in i18next calls, and alocalizecommand that also extracts the keys and translates them through Locize, the i18next team's paid service. Its README callsinstrumenta heuristic first pass that will not catch every case, so review the result. - Babelize (our product) does the same pass for React, Next.js App Router, Django and static HTML, with Vue and React Native in beta. It writes react-i18next, next-intl or gettext code, creates the locale files, translates them with your own LLM key or Babelize credits, and leaves the result for you to review with
git diff(or opens a pull request from the web app). Later runs translate only new or changed strings.
npx babelize translate --to de,fr,ja
git diff
To be fair about the limits: Babelize writes JSON and gettext .po files only, does not support Angular or SvelteKit yet, and has no translator workspace, so a TMS is still the right tool if you work with human translators.
Starting a new app instead? The Babelize SDK skips keys entirely: you write babelize("Welcome back") and a build plugin translates it. See i18n without translation keys.
What's Changing in 2027
- ESM-only packages. Lingui 6 dropped CommonJS. Expect more libraries to follow; older Jest setups and CommonJS build scripts are where this breaks.
- Compile-time i18n. Paraglide compiles messages into tree-shakable functions, and Lingui's macros and Angular's per-locale builds also move work to build time. The benefit is type safety and smaller bundles.
- MessageFormat 2. Unicode's MessageFormat 2.0 is now a stable part of CLDR and is the successor to the ICU syntax most libraries use. The native
Intl.MessageFormatproposal is still at TC39 stage 1, so there is nothing to migrate yet, but the i18next tooling already supports it (i18next-cli can extract and type-check MF2 messages). Keeping messages in ICU today is the easiest path to MF2 later; our ICU MessageFormat guide covers the syntax. - AI translation in the toolchain. CLIs from i18next, Babelize and others now translate locale files directly, so translation can run in the same pull request as the code change. Check that placeholders and plural forms survive; how to translate JSON files without breaking them lists what to check.
How to Choose
- New Next.js App Router project: next-intl.
- React, React Native, or both sharing translations: react-i18next.
- You want to write text in components, not keys: Lingui.
- SvelteKit, or you want typed, tree-shaken messages anywhere: Paraglide JS.
- Vue or Nuxt: vue-i18n, with @nuxtjs/i18n on Nuxt.
- Angular: @angular/localize, or Transloco if you need runtime switching.
- Django: the built-in gettext.
Whichever you pick, follow the localization checklist for developers before your first release, and use BCP 47 locale codes such as pt-BR for your file names.

Mohit Sapat
Founder of Babelize
Mohit is building Babelize because shipping your app in another language shouldn't cost a sprint of spreadsheets and JSON files. He's a builder first: he ships product, talks to users every week and turns what he hears into the next release. Babelize is bootstrapped, so he also runs the business, writes the blog and shoots the reels. He's been featured in magazines, but he'd rather show you the changelog.


