i18next Localization
Drives i18next-cli end to end to turn an app full of hardcoded strings into a properly localized, continuously translated one.
Dev & CodingIntermediate★ 254⑂ 50AI score 9/10Last updated: Dec 4, 2026
What it does
- Delegates to
i18next-clito detect your framework, router, and any existing i18n setup. - Generates
i18next.config.tsviainit --yes --locales <langs> --backend local|locize. - Runs
instrumentfor AST-based wrapping of hardcoded strings intot()(with a--dry-runpreview first), thenextractto write locale JSON. - Optionally connects to Locize:
locize-syncto push keys and AI pre-translate,locize-downloadto pull translations back. - Verifies with
statusandlintto catch untranslated values and mismatched placeholders ({{name}},$t(),<0>). - Covers Vue/Svelte plugins, ICU/MF2 message syntax, and hard stops for competing i18n libraries or a dirty working tree.
Who it's for
- Frontend developers adding multi-language support to React, Next.js, Vue, or Svelte apps.
- Teams already on i18next whose strings are still hardcoded in components.
- Anyone deciding between repo-only locale files and a managed translation backend.
Example uses
- "Add i18n to my Next.js app with German and French" → installs
i18next+react-i18next, writes config, previews the instrumentation plan, applies it, then reviews the git diff for server components needing'use client'. - "Find my hardcoded strings and wrap them" →
instrument --dry-runfollowed byextractand astatusreport. - "Move our translations to a managed backend" → export
LOCIZE_PROJECTID/LOCIZE_API_KEY, runlocize-sync, thenlocize-download.
· · · Install guide · · ·
Try it now, no install
Paste this into Claude to use the skill without installing anything.
Read the instructions in this file and follow them to help me: https://raw.githubusercontent.com/i18next/i18next-cli/HEAD/skills/i18next-localization/SKILL.md What I want: (describe your task here)
If Claude can't open the link, open it yourself and paste the contents instead.
↓ If it works for you, download the ZIP below and install it. Then it runs on its own — no pasting each time.
Install in the Claude app (no terminal)
- Download the ZIP with the button below.
- In Claude, open Settings → Capabilities and turn on 'Code execution and file creation'. (one time)
- Go to Customize → Skills → + → 'Upload a skill' and upload the ZIP.
Install in Claude Code
Let Claude do it — paste this into Claude Code
Install the skill I found on AI Skill Mart. Copy the skills/i18next-localization folder from the GitHub repo i18next/i18next-cli into my ~/.claude/skills/i18next-localization/. When it's done, tell me in one line what this skill can do.
Install with a command instead
git clone https://github.com/i18next/i18next-cli.git /tmp/i18next-cli && mkdir -p ~/.claude/skills && cp -r /tmp/i18next-cli/skills/i18next-localization ~/.claude/skills/⚠ This is a third-party skill. Check the source repository before installing.
- Open a terminal and confirm Node.js and git are installed (
node -v,git -v). - Clone the repo:
git clone https://github.com/i18next/i18next-cli.git /tmp/i18next-cli - Create the skills folder:
mkdir -p ~/.claude/skills - Copy the skill in:
cp -r /tmp/i18next-cli/skills/i18next-localization ~/.claude/skills/ - Check that
~/.claude/skills/i18next-localization/containsSKILL.mdplus thereferences/folder. - Restart Claude Code, open the project you want to localize, and ask something like "internationalize my app".
- Commit or stash all pending changes first —
instrumentrewrites source files, so a clean tree keeps the diff reviewable.
View source on GitHub ↗License: MIT