@comvi/next vs next-intl
next-intl is the i18n library most Next.js App Router projects reach for: 7 million npm downloads a week and the deepest routing integration there is. @comvi/next covers the same App Router ground with a smaller ICU grammar and adds what happens after the code: an editor, review and a CDN the loader reads at request time.
Depth of routing on one side, the workflow after coding on the other
- @comvi/next if someone who is not a developer edits the copy in an editor with review statuses, if a wording change should reach the page from the CDN without a deploy, or if the same keys serve a Vue, Svelte or Nuxt app next to the Next.js one. Its ICU stops at plural, select and ordinal; its routing covers prefix modes and localized pathnames, with less documentation around them.
- next-intl if the product is Next.js only and you want localized pathnames, the full ICU grammar,
t.rich, and messages that live in the repository and ship with each deploy. Its Next.js integration goes deeper than ours. - next-intl's docs recommend Crowdin for managing translations. The Comvi platform fills that slot for either library: it exports ICU JSON that next-intl reads as is.
01 What each one is
next-intl (MIT, 4.14.9 on October 14, 2026) is built for Next.js and supports next 12 through 16; outside Next.js the same core is published as use-intl for React, React Native and test environments. Messages use the full ICU grammar, and they come from the app itself: a JSON import that ships with each deploy, or any async function you write. Translation works in Server Components and on the client, t.rich handles markup, and the middleware gives prefix strategies and localized pathnames. Keys are typed by a declaration you write, or by an experimental generated one. For editing and review, the docs recommend Crowdin.
@comvi/next (MIT, 0.6.0) is the Next.js binding of Comvi i18n, a library with the same API across React, Vue, Svelte, Solid, Next.js and Nuxt. It covers the App Router on Next.js 15 and 16: translation in Server Components and in Client Components, locale-prefixed routes, localized pathnames, and a middleware that sends a visitor to the right locale. ICU covers plural, select and selectordinal, with numbers and dates formatted in code through Intl. Translations come from the Comvi platform's CDN, which picks up text changes without redeploying the app, or from your own JSON. The comvi typegen command writes a type for every key and its parameters, and the Next.js docs show the setup.
02 Side by side
| Facts as of 2026-10-14, sizes 2026-10-20 | next-intl | @comvi/next |
|---|---|---|
| Version, license | 4.14.9, MIT | 0.6.0, MIT |
| Scope | Next.js 12 to 16; React and React Native via use-intl | Next.js 15 and 16 App Router; one library across six frameworks |
| Server Components | getTranslations(), useTranslations() in RSC | await getI18n({ locale }) from @comvi/next/server |
| Routing | Middleware, always / as-needed / never, localized pathnames, domain-based routing, createNavigation | Three prefix modes, localized pathnames, middleware, and locale-aware Link and router hooks |
| ICU grammar | Full intl-messageformat: plural, select, ordinal, number, date, time, rich tags | plural, select, selectordinal, for 1,223 B min+gz; number and date formatted in code |
| In-context editing | None in the library; Crowdin In-Context, the TMS its docs recommend, adds a JavaScript snippet and a pseudo-language to the app | Alt-click text in the running app and save. Translators install the Chrome extension; every plan |
| Rich text | t.rich('key', { tag: (chunks) => … }) | <T> with a component per tag; tags nest and take parameters |
| Typed keys | Augment AppConfig.Messages; experimental generated .d.json.ts | Generated key and parameter types, from JSON or the platform |
| Loading messages | Local JSON import in getRequestConfig, which follows deployment; remote loading in an async function the app supplies | @comvi/plugin-fetch-loader for the Comvi CDN or API; your own endpoint through registerLoader |
Size, min+gz, one esbuild configuration, next and react external | Client entry (NextIntlClientProvider, useTranslations) 12,512 B; server entry and middleware not measured | Client entry with ICU 9,427 B (8,209 B without); composed root 10,105 B; server provider 1,980 B; middleware 2,045 B |
Plain t() speed, Node, million calls/s, higher is better | use-intl translator: static key 7.3; one parameter 0.34 | Static key 44; one parameter 15 (ICU compiler composed) |
| ICU formatting speed, Node, million calls/s, higher is better | use-intl translator: 0.22 M calls/s warm, same output; 57 K messages/s parsing and formatting a 5,000-message catalog | 1.4 M calls/s warm, same output; 350 K messages/s on the same catalog |
| Editing, review, machine translation | External TMS; docs recommend Crowdin | Comvi platform, free plan included |
| Copy change to production | Local JSON follows deployment; app-supplied remote loading, such as Crowdin's SDK, can update independently | Yes, through the Comvi CDN; with automatic deploys on, published within about a minute; Next.js revalidation applies |
Size rows of both columns measured on October 20, 2026 with the size-compare harness in the comvi-js repository: published packages (next-intl and use-intl 4.14.9, Comvi 0.6.0), esbuild 0.28, production conditions, minified, gzip level 9, with next and react external on both sides. The Comvi rows beyond the client entry are the size gate's fixtures fw-next-root-composed, fw-next-server-provider and fw-next-middleware-edge, bundled by the harness from the published 0.6.0 packages with the same settings; the server-provider row leaves out @comvi/next/config and the client provider, which the client entry row measures, and comes out 72 B smaller than in the gate itself (1,980 against 2,052), which resolves imports through its own plugin. next-intl's server entry and middleware were not measured. The kilobyte numbers on next-intl's homepage are an example app's per-route build output, a different thing. Runtime, measured on October 14 on an earlier 0.6.0 build, before its packages were published: Node 24.20.0 in production mode, plain t() on a static key and with one parameter, then two plural scenarios: warm, the same # message on both sides, which both libraries format for the locale, so both produce the same string; and catalog, one instance with 5,000 fresh messages, timed from building the instance through the first format of every message with the count passed pre-formatted. Each runtime figure is the median of eight runs. The harness README records the range across them, so read the ratio rather than the absolute rate. On the client these differences are invisible; they show on server-side rendering, which pays the per-call cost on every request for every string on the page, and on cold starts that parse a catalog per request. These ratios describe these fixtures, not every app.
03 When next-intl is the right call
- Routing has to be documented end to end. next-intl's guides walk through localized pathnames, domain-based routing and every strategy with examples. Comvi does localized pathnames too, but the only description of them today is the API reference.
- You use ICU beyond plurals.
{price, number, ::currency/EUR}inside the message, dates and times as arguments, skeletons, all chosen by whoever writes the string. Comvi expects you to format those values in code, throughIntl. - Developers own the copy. If every string change is a pull request anyway, messages in git and no external editor is the simplest system.
- You want the install base. 7 million downloads a week means the edge cases have been hit by someone before you.
@comvi/nexthas no comparable history, and a Next.js release can break an integration.
04 When @comvi/next is the right call
- Someone who is not a developer edits the copy. The platform gives them an editor with review statuses, translation memory and glossary suggestions.
- Wording should not wait for CI. With messages in the repository, a typo fix is a commit, a review and a deploy. The CDN loader removes the app redeploy for text changes, though a statically rendered page still waits for its next revalidation.
- Less JavaScript for the same plural. The client entry with the ICU compiler is 9,427 bytes min+gz against 12,512 for next-intl's, measured with one esbuild configuration, and Comvi's compiler formats the same plural message, count localized on both sides, at 1.4 million calls a second in Node against 0.22 million through
use-intl; at()with one parameter runs at 15 million against 0.34. The compiler adds 1,223 bytes to the constant-text core fixture because it implements the three choice types and leaves number and date formatting to the browser. - Edit in the running app. A translator holds Alt, clicks the text in the running app and saves to the platform, once the app turns the in-context editor on. The app opts in with one line and bundles no editor code and no API key; the in-context editor page has the setup. With next-intl, in-context editing comes from the TMS, such as Crowdin In-Context.
- More than one framework shares the keys. A Next.js site, a Vue dashboard and a Svelte widget read the same project through the same API.
- You want the library and the platform from one maintainer. With next-intl, the TMS and any remote loading come from the app and a vendor such as Crowdin. Comvi supplies the library, the platform and the CDN integration between them, with a free plan.
05 Using both, or switching
To keep next-intl and move the workflow: import your message files into the Comvi platform, edit and machine-translate there, and let comvi pull write them back in CI. To switch the runtime, the migration guide lines the two up call by call. Two things change meaning on the way: the namespace argument, which is a catalog in Comvi rather than a key prefix, and the default locale prefix.
faq Questions people ask about this pairing
Does Comvi work with the Next.js App Router and Server Components?
Yes, on Next.js 15 and 16. One package, @comvi/next, covers Server Components, Client Components, locale routing and the middleware. The Pages Router is not covered by the docs.
How do translation updates without a redeploy work on Vercel?
The loader reads the Comvi CDN at request time. A published edit usually reaches the CDN within seconds, about a minute at most while edits keep coming, and a client gets it on a later fetch or revalidation. How Content Deploy schedules a publish. Statically rendered pages pick a change up on their next Next.js revalidation. With next-intl, messages come from the app's own code: a local JSON import follows your deployments, and its docs say messages can come from a remote source the app supplies; for over-the-air delivery they recommend Crowdin's JS SDK.
Does Comvi support locale routing and middleware like next-intl?
Yes. Three prefix modes (as-needed, always, never), a locale cookie, and per-locale slugs, so /about can be /ueber-uns in German. The middleware detects the locale from the URL prefix, then the cookie and Accept-Language, and a query parameter when you name one, then redirects to the public URL. Locale-aware links and router hooks follow the same rules, and a helper builds URLs for sitemaps and hreflang. next-intl has the same three prefix modes. Two routing extras next-intl has and Comvi lacks: domain-based routing and a worked guide for localized pathnames, which Comvi documents in the API reference only.
Are the message formats compatible?
For plurals, select and ordinals, yes. next-intl runs the full ICU grammar through intl-messageformat, including {price, number}, {d, date} and rich-text tags in t.rich. Comvi's compiler implements plural, select and selectordinal only; number and date arguments are formatted in code, and rich text goes through <T> with named tags. That subset is what keeps the compiler's cost at 1,223 bytes min+gz on the constant-text core fixture: core with ICU is 6,843 bytes against 11,277 for use-intl/core, the engine behind next-intl's translator, and it formats the same plural message, count localized on both sides, at 1.4 million calls a second in Node against 0.22 million through use-intl.
What about static rendering?
Both support it. Comvi renders a static page per locale, with the locale coming from the route. In next-intl 4.x, setRequestLocale belongs to the requestLocale API, which its current configuration docs call legacy and no longer recommended. At build time both can read a JSON import or a remote catalog; the difference is that Comvi ships the loader for its CDN and the platform behind it, where next-intl leaves remote loading to code the app supplies.
How do typed keys compare?
Both use declaration merging. next-intl: declare module 'next-intl' { interface AppConfig { Messages: typeof messages } }, with an optional, experimental generated .d.json.ts from createMessagesDeclaration. Comvi: a generator writes TranslationKeys, @comvi/vite-plugin from local JSON or comvi typegen from the platform, and the type covers parameter names and types as well as keys.
Can I use next-intl with the Comvi platform?
Yes. Both read ICU JSON. Edit and machine-translate in Comvi, then comvi pull writes the files into messages/ in CI. You keep next-intl's routing and Server Components and get an editor, review states, translation memory and glossary for the people who write the copy.
When is next-intl the better choice?
When your product is Next.js and the integration depth matters: localized pathnames, the full ICU grammar, t.rich, a mature middleware, and 7 million weekly downloads of history behind it. When developers own the copy and JSON in git with pull-request review is the workflow you want. Comvi i18n shipped its first release on 2026-10-10 and is on 0.6.0 now. next-intl 4.0 was announced on 2025-03-12.
method How this page was written
The next-intl column was read on October 10, 2026 from next-intl.dev and the npm registry entries for next-intl and use-intl (versions, publish dates, licenses, dependencies). Download counts come from the npm API's fixed range October 2 to 8, 2026. Size and runtime figures for both libraries come from scripts/size-compare in the comvi-js repository, run on October 20, 2026 on the published packages with one esbuild configuration (production conditions, minified, gzip level 9, next and react external), the runtime figures on October 14, on an earlier 0.6.0 build, before its packages were published; the Comvi server and middleware rows reuse the size gate's fixtures on 0.6.0 with the same settings. The harness README lists every package inside each bundle and the caveats. What Comvi does not do is taken from its own limitations page and the routing guide.
sources Where the third-party facts come from
- next-intl on npm (version, license, peer dependency on next)
- use-intl on npm (intl-messageformat dependency)
- next-intl docs: messages (ICU syntax)
- next-intl docs: configuration (getRequestConfig, remote message loading, legacy requestLocale)
- next-intl 4.0 announcement (2025-03-12)
- next-intl docs: TypeScript (AppConfig augmentation, createMessagesDeclaration)
- next-intl docs: localization management (Crowdin)
- next-intl docs: core library (use-intl outside Next.js)
- next-intl docs: routing configuration (localePrefix, pathnames, domains)
- npm download counts API, fixed range 2026-10-02 to 2026-10-08, verified 2026-10-10
- Comvi size-compare harness (method, fixtures, results for both libraries; sizes measured 2026-10-20 on the published 0.6.0)
- Comvi size budgets (the fixtures behind every Comvi figure)
- Comvi docs: Next.js
- Comvi docs: Next.js locale routing
- Comvi docs: Migrate from next-intl
- Crowdin docs: In-Context (JavaScript snippet, pseudo-language)
- Comvi docs: In-context editor (Alt-click, extension discovery, gating out of production)
- Comvi docs: Insert values and markup (<T>, components map, whitelist, strict)
- Comvi In-Context Editor on the Chrome Web Store
- Comvi docs: Limitations
Pricing and feature lists change. If something here is out of date, write to hello@comvi.io and it gets fixed with a new "updated" date.