Comvi i18n vs i18next
i18next is the most used i18n library in JavaScript: 23 million npm downloads a week and a plugin for almost anything. Comvi i18n is a new MIT library with an optional ICU compiler, generated key types and a loader that reads translations from a CDN.
Same job, different shape
- Comvi i18n if a plural should be one ICU message instead of
_one/_otherkeys, with no extra package for it, if a wrong ICU parameter name should be a TypeScript error, and if a fix typed into the editor should reach the browser without redeploying the app. MIT, 0.6.0, from one developer. - i18next if you run it already, lean on its plugin catalog, prefer
{{var}}and_one/_otherkeys, or want locize. It is the safe choice by every measure of adoption. - The two are not exclusive. The Comvi platform exports i18next v4 JSON, so i18next can stay as the runtime while the editing, review and machine translation move to Comvi.
01 What each one is
i18next (MIT, 26.4.4 on October 14, 2026) is a framework-agnostic i18n core with its own interpolation syntax ({{what}} is {{how}}), CLDR plural suffixes on keys (_one, _other, picked by the count option), nesting and context. Everything beyond the core is a plugin: i18next-http-backend fetches translation files at runtime, i18next-browser-languagedetector picks the language, i18next-icu swaps the format for ICU MessageFormat, and react-i18next (17.0.16) binds it to React. Typed keys come from a CustomTypeOptions declaration, which the official i18next-cli types command generates from your locale files. Hosting, editing and review are left to a service; locize is the one the i18next authors built.
Comvi i18n (MIT, 0.6.0) is a core plus six bindings: React, Vue, Svelte, Solid, Next.js and Nuxt, all at one version. Messages are plain text with {param} interpolation; ICU is optional, ships inside the core package rather than a second one, and covers plural, select and selectordinal. The number, date and time argument types are not implemented, and numbers and dates are formatted with four Intl helpers instead. Key types are generated, from local JSON by @comvi/vite-plugin or from a Comvi project by comvi typegen, and cover parameter names and types, not only the key. The library reads plain JSON files and needs no account; the Comvi platform adds the editor, review, machine translation and a CDN the library reads.
02 Side by side
| Facts as of 2026-10-14, sizes 2026-10-20 | i18next | Comvi i18n |
|---|---|---|
| Version, license | 26.4.4, MIT; react-i18next 17.0.16 | 0.6.0, MIT; twelve packages at one version |
| Interpolation | {{var}}, nesting, context, formatting via Intl | {var}; numbers and dates through the Intl helpers |
| Plurals | One key per CLDR category: item_one, item_other; ICU via i18next-icu | ICU plural, select, selectordinal in one message, with compiler: icuCompiler |
| ICU coverage | Full MessageFormat through intl-messageformat when the plugin is on; adding i18next-icu to i18next costs 11,674 B min+gz | plural, select and selectordinal, for 1,223 B min+gz; number, date and time are formatted in code through Intl |
| Typed keys | Handwritten CustomTypeOptions, or generated by i18next-cli types from locale JSON (--watch, --ci); {{var}} names checked since 26.2, switched off for ICU strings | Generated TranslationKeys by @comvi/vite-plugin on every JSON change or comvi typegen (--watch, --check); ICU parameter names and string or number types |
| Loading translations | i18next-http-backend 4.0.2 and other backend plugins | @comvi/plugin-fetch-loader: Comvi's CDN or API, or your own endpoint |
| In-context editing | locize InContext editor: i18next.use(locizePlugin), opened with ?incontext=true on the running site | Alt-click text in the running app and save. Translators install the Chrome extension; every plan |
| Rich text | <Trans> with children as the source, or named tags with a components map | <T>: tags like <link> in the message, mapped to components; they nest and take parameters |
| Plugin ecosystem | Backends and backend extenders, detectors, post-processors, framework wrappers; years of third-party plugins | Loader, locale detector, in-context editor, Vite plugin, a plugin API; nothing third-party yet |
| Size, min+gz, one esbuild configuration | 14,070 B; with i18next-icu 25,749 B; with react-i18next 19,660 B; React + ICU + i18next-http-backend 33,865 B | 5,607 B; with ICU 6,843 B; @comvi/react 7,606 B; React + ICU + CDN loader 12,157 B |
Plain t() speed, Node, million calls/s, higher is better | Static key 0.60; one parameter 0.49 | Static key 59; one parameter 16 (simple compiler) |
| ICU formatting speed, Node, million calls/s, higher is better | With i18next-icu: 0.25 M calls/s warm, same output; 38 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 |
| Hosted editing, review, MT | Locize, by the i18next authors; free and paid plans | Comvi platform; free plan with TM, glossary and 20K MT/AI credits a month |
| Updates without redeploying the app | With locize or another hosted backend | Yes, through the Comvi CDN; with automatic deploys on, published within about a minute |
Size rows of both columns measured on October 20, 2026 with the size-compare harness in the comvi-js repository: published packages (i18next 26.4.4, react-i18next 17.0.16, i18next-icu 2.5.0, i18next-http-backend 4.0.2, Comvi 0.6.0), esbuild 0.28, production conditions, minified, gzip level 9, React external on both sides, one message with one parameter per fixture. 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. Minimal fixtures are floors; the ratios describe these fixtures, not every app.
03 When i18next is the right call
- It already works. A tuned i18next setup with namespaces, a backend and a detector is not worth replacing for its own sake. The platform can still take the editing side (see "Using both").
- You need the catalog. Filesystem and chained backends, backend extenders, post-processors, a wrapper for a framework Comvi has no binding for. Comvi has four plugin packages and a plugin API; i18next has years of them.
- You want the full ICU grammar inside the message.
i18next-icubrings all ofintl-messageformat, including{price, number, ::currency/EUR}and{d, date}, so whoever writes the string chooses the number or date format. Comvi's compiler stops at the choice types and leaves number and date formatting to code, throughIntl. - You want locize. The hosted service from the i18next authors, with the deepest i18next integration there is.
04 When Comvi i18n is the right call
- One message per string.
{count, plural, one {# item} other {# items}}is one key a translator sees whole, with the branches next to each other, instead of two or more suffixed keys. - ICU without the weight. Adding ICU costs 1,223 bytes min+gz on Comvi's core and 11,674 on i18next (
i18next-icuwithintl-messageformat), the message text held constant, and Comvi's compiler formats the same plural, with the count localized on both sides, at 1.4 million calls a second in Node against 0.25 million throughi18next-icu; a plaint()on the simple compiler runs at 59 million against 0.60. It gets there by implementing the three choice types and handing number and date formatting to the browser'sIntl. - ICU parameters in the types. i18next's type-level parsing reads
{{var}}, and its docs say to switch it off for ICU strings. Comvi's generatedTranslationKeyscarries each ICU parameter's name and whether it takes a string or a number, so a wrong parameter is a TypeScript error. - Translations that move without a release. 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. With i18next you add a hosted backend to get this.
- Markup in the message, elements in the DOM. A translator writes
Read the <link>guide</link>as one sentence;<T>mapslinkto your component, nests tags, fills parameters inside them and never injects an HTML string.<Trans>does this for React; in Comvi it is the same component in six frameworks. - 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. i18next gets in-context editing through locize.
- Six frameworks, one API.
useI18n()and<T>look the same in React, Vue, Svelte, Solid, Next.js and Nuxt, from one repository at one version.
05 Using both, or switching
To keep i18next and move only the workflow, import the JSON into the Comvi platform and let comvi pull write i18next v4 files into the directory your backend reads, in CI or on a schedule. To switch the runtime, follow the migration guide: it maps every call and every plugin to its Comvi counterpart and rewrites {{var}} and the suffixed plural keys into ICU, which is the part that touches the translations themselves. The quick start shows the setup in each framework.
faq Questions people ask about this pairing
Can I use the Comvi platform with i18next instead of replacing it?
Yes. Comvi exports i18next v4 JSON, and comvi pull writes the files your i18next-http-backend or static import already reads. Translators work in the Comvi editor; the runtime stays i18next. The library swap can happen later or never.
Does Comvi import i18next JSON?
Yes. The import detects i18next-shaped files and converts {{var}} to {var} and the _one / _other plural keys to one ICU plural message. Nested and flat keys both work, and one JSON per namespace per locale maps onto Comvi namespaces.
How do plurals differ between i18next and Comvi?
i18next keeps one key per plural category (item_one, item_other) and picks by the count option. Comvi keeps one message with the categories inside it: {count, plural, one {# item} other {# items}}, resolved by Intl.PluralRules. Both follow CLDR. Comvi's ICU compiler is opt-in; without it, messages are plain text with {param} interpolation.
How big is Comvi i18n compared with i18next?
Measured on October 20, 2026 on the published packages with one esbuild configuration (production conditions, minified, gzip level 9, React external on both sides) by the size-compare harness in the comvi-js repository. A minimal app with one interpolated message: @comvi/core 5,607 bytes against i18next 14,070. The same with ICU plurals: core plus icuCompiler 6,843 against i18next plus i18next-icu 25,749. The cost of ICU itself is what each side adds over its own control, the same plural message without the ICU machinery: 6,843 over @comvi/core on the simple compiler at 5,620 is 1,223 bytes, and 25,749 over i18next without i18next-icu at 14,075 is 11,674. In React: @comvi/react 7,606 against i18next plus react-i18next 19,660; with ICU and a loader for remote JSON, 12,157 against 33,865. Minimal fixtures are floors, not what your app will weigh; the ratios describe these fixtures, not every app.
What replaces i18next-http-backend?
@comvi/plugin-fetch-loader. It reads published translations from the Comvi CDN, or drafts from the API with an API key, and it also takes a loader you write for your own files. Language detection moves from i18next-browser-languagedetector to @comvi/plugin-locale-detector.
Are translation keys type-safe in Comvi without extra setup?
No, in neither library; both need a declaration. i18next: you write the CustomTypeOptions augmentation by hand from typeof your JSON, or let npx i18next-cli types read the locale JSON and write i18next.d.ts with it plus a resources declaration; --watch keeps it current and --ci fails when it is out of date. Since i18next 26.2, t() then requires the {{var}} names each string uses, and the docs say to switch that parsing off for ICU strings from i18next-icu. Comvi: @comvi/vite-plugin rewrites TranslationKeys inside Vite whenever a JSON file changes, and comvi typegen writes the same file from a Comvi project, with --watch and --check. The declaration carries each ICU parameter's name and whether it takes a string or a number. Neither library infers keys from a runtime catalog.
Can I migrate an existing i18next project incrementally?
Per app, yes; per component inside one app is harder because the two libraries keep separate instances and message syntaxes. The usual path is: import the JSON into Comvi, keep i18next running from exported files, then switch one app at a time following the migration guide, which maps every call and plugin.
When is i18next the better choice?
When you already run it and nothing is wrong. When you depend on its plugin catalog: backends and backend extenders, post-processors, detectors. When your team prefers suffix plurals and {{var}} over ICU. When you want locize, which is built by the same authors. And when you want the safety of 23 million weekly downloads behind a dependency. Comvi i18n shipped its first release on 2026-10-10 and is on 0.6.0 now. None of that history is behind it yet.
method How this page was written
The i18next column was read on October 10, 2026 from the i18next documentation, the npm registry (versions, publish dates, licenses, peer dependencies), the project README and the i18next-cli README. 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 (the runtime figures on October 14, on an earlier 0.6.0 build, before its packages were published): esbuild 0.28 with production conditions, minified, gzip level 9, React external on both sides, one minimal fixture per row doing the same job; the runtime table is Node 24.20.0 in production mode, on one plural message, 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. Comvi's own size gate reproduces the Comvi bytes. The harness README lists the range across those runs, every package that landed in each bundle, and the caveats. Statements about what Comvi does not do come from its own limitations page.
sources Where the third-party facts come from
- i18next on npm (version, license, publish date)
- i18next docs: interpolation
- i18next docs: plurals
- i18next docs: JSON format (ICU via i18next-icu)
- i18next docs: TypeScript (CustomTypeOptions, parseInterpolation)
- i18next-cli on GitHub (the types command)
- i18next docs: plugins and utils
- i18next-http-backend on GitHub
- i18next README (locize)
- Locize pricing (Free plan and paid plans)
- 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: Bundle size
- Comvi docs: Migrate from i18next
- locize docs: InContext editor (locizePlugin, ?incontext=true)
- 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 (what the ICU compiler does not implement)
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.