Skip to content

Quickstart

Everything below is one sitting. You need an existing i18next app and Node 18+ (the SDK uses global fetch and nothing else); i18next 27 itself needs Node 22 or later.

Starting without an app? Try Side Quest for a hosted walkthrough and a downloadable English starter.

  1. Sign in. A user who is not yet a member of any organization lands on /welcome, which creates one. Accepting the terms is required and is recorded in the audit log.

    The organization starts on the Free plan. Free covers the whole of this quickstart: editing, review, publishing and CDN delivery are never gated by plan.

  2. A project has a name, a source locale and a list of target locales. Source-locale rows are authored copy, not translations — they sit outside the review workflow.

    Locale codes are canonicalised to BCP 47 on the way in, so en-fi is stored as en-FI. A target locale like en-FI whose base language en is also a project locale is treated as a sparse override layer, not a full translation target — see variant locales.

  3. Two paths. Take the import path — it is faster and, more importantly, it is the one that publishes immediately (step 4 explains why).

    Drop your existing i18next JSON files, a folder of them, or a Locize export .zip into the importer (add the project’s languages first). Locale and namespace are inferred from folder and file names (en/common.json), nested objects are flattened, and key_one / key_other pairs are collapsed back into plural keys. If your files use the older i18next v3 plural keys (key + key_plural, or key_0, key_1 …), tick the v3 option in the importer and they become plural keys too.

    Run the dry run first: it executes the whole import inside a transaction that is then rolled back, so the report you get is real.

    Imported target rows are written as reviewed by default, because the values you are importing are already live in production somewhere.

  4. The release is numbered v1, v2, … — the next integer after the highest existing version for that project. Publishing writes every immutable release file first, and only then moves the pointer, so a storage failure leaves no half-published release behind.

    Publishing requires an admin or developer membership that is not scoped to particular locales.

  5. Before touching your app, prove the files exist. First the pointer:

    Terminal window
    curl https://cdn.localize.work/your-project/latest.json
    { "version": "v1" }

    Then the release file at that version:

    Terminal window
    curl https://cdn.localize.work/your-project/v1/en/common.json

    If the pointer 404s, nothing has been published yet. If the pointer resolves but a locale file 404s, that is normal for a variant locale and abnormal for a base locale — see the CDN contract.

  6. Terminal window
    pnpm add i18next @localize-work/i18next-backend
    # react apps: pnpm add react-i18next

    Requires @localize-work/i18next-backend ≥ 0.11.1.

    i18n.ts
    import i18next from 'i18next';
    import { initReactI18next } from 'react-i18next';
    import LocalizeBackend from '@localize-work/i18next-backend';
    await i18next
    .use(LocalizeBackend)
    .use(initReactI18next)
    .init({
    lng: 'et',
    fallbackLng: 'en',
    ns: ['common', 'app'],
    defaultNS: 'common',
    backend: {
    projectSlug: 'your-project',
    cdnBaseUrl: 'https://cdn.localize.work',
    },
    });

    That is the whole integration. Published files are plain i18next JSON, so every other part of your i18next setup stays exactly as it is.

  7. In dev builds only, i18next can post keys it could not find, so they show up in the editor instead of in a backlog ticket.

    i18n.ts
    await i18next.use(LocalizeBackend).init({
    // ...
    saveMissing: import.meta.env.DEV,
    backend: {
    projectSlug: 'your-project',
    cdnBaseUrl: 'https://cdn.localize.work',
    apiBaseUrl: 'https://api.localize.work',
    apiKey: import.meta.env.VITE_LOCALIZE_PUBLIC_KEY,
    },
    });

    Create a public API key in project settings. The token is shown once; only its SHA-256 hash is stored. Full semantics: saveMissing.

  • How it works — what you just built, and what your app depends on at runtime.
  • CDN contract — the two URL shapes, precisely.
  • Variant locales — if you have en-FI-style regional overrides, read this before you conclude something is broken.
  • Roadmap — what’s coming next.