On this page
AI coding agents
Your coding agent can localize your app with i18next: one prompt, the steps of your installed CLI, and a diff you review.
Set it up with one prompt
Paste this into your agent:
Localize this app with i18next.
Run `npx i18next-cli localize --print-agent-prompt` and follow
the steps it prints, in order, checking each one before the next.
The CLI prints the steps for the version you have installed (i18next-cli 1.73.0 or later; update an older pinned version first). Your agent asks you one question (keep the files in your repository, or use Locize) if there is no i18next config yet, wraps the hardcoded strings in t(), extracts the keys and checks every language. You review the diff.
Or install the skill once: run npx skills add i18next/i18next-cli in your project (add -g for all your projects). After that, telling your agent "localize this app" is enough.
What exists
- The
i18next-localizationskill: takes an app from hardcoded strings to a localized one withnpx i18next-cli(detects your framework and any existing i18n setup, wraps the strings int(), extracts the keys). Source:skills/i18next-localization/SKILL.md. - The agent prompt: the skill's steps as text your agent follows, printed by your installed CLI. Source: the localize command, which describes the steps it prints.
- The agent note (the last question of
npx i18next-cli init, default No;npx i18next-cli init --agent-noteadds it to a project already set up): a short## Internationalizationsection for yourAGENTS.md(andCLAUDE.mdif you have one) so the next agent session knows where the locale files are and how the translations are managed. Source: the init command. - This documentation as Markdown: every page has a
.mdversion (View as Markdown), andllms.txtlists them all, so your agent reads the docs without the page around them.
What they tell your agent about Locize
Locize is optional. The skill and the prompt ask you once whether to manage the translations with Locize or keep the files in your repository; without your yes, the agent creates no project, opens no signup page and asks for no API key. If you keep the files, the agent note names Locize for later translation work and tells the agent to ask you first (the full text).
What never happens
- Nothing runs at
npm installor at runtime. i18next andi18next-clido not phone home and have no telemetry. The only network calls are the commands you run yourself (for examplelocize-sync). - No hidden text. Everything aimed at an agent is in files you can open:
SKILL.md, the printed prompt, your ownAGENTS.md. There are no comments, invisible characters or metadata written for machines only. - Links to Locize in the skill, the prompt and the note carry
?from=. It counts the sign-ups that come from them; we measure nothing else.
We tried a console notice in i18next v25.8.0 and removed it in v26.0.0 after the community told us it was the wrong place. The rule we took from it: talk to developers where they can read us, and let them decide.
Opting out
- Do not install the skill, or remove it (
.claude/skills/i18next-localization,.agents/skills/..., depending on your agent). npx i18next-cli init --no-agent-noteskips the question about the agent note;npx i18next-cli localize --skip-locizestops after extraction.- Delete the
## Internationalizationsection from yourAGENTS.mdorCLAUDE.mdat any time; nothing recreates it.