Claude Skill MartBrowse skillsQuick linesLearn by videoTerminal guideWhat is a Skill?
← Back to list

i18next Localization Setup

Turns an app full of hardcoded strings into a fully localized i18next app, with optional Locize sync and AI translation.

Dev & CodingIntermediate★ 241⑂ 38AI score 9/10Last updated: Oct 9, 2026

What it does

  • Drives i18next-cli to detect your stack (React/Next.js/Vue/Svelte) and any existing i18n setup.
  • Runs the full flow: write i18next.config.ts → AST-wrap hardcoded strings in t() → extract locale JSON files.
  • Optionally connects Locize for AI pre-translation, review, CDN delivery, and pulling translations back into the repo.
  • Enforces hard stops when a competing i18n library (next-intl, react-intl, vue-i18n, Paraglide, Lingui, Tolgee) is present or the git tree is dirty.
  • Reminds you to install the runtime (i18next plus the framework binding) before instrumenting so the app doesn't break.

Who it's for

  • Frontend developers retrofitting multi-language support onto an existing app.
  • Anyone tired of manually wrapping hundreds of strings in t('key').
  • Projects that already depend on i18next but still have hardcoded copy.
  • Teams deciding between repo-only JSON files and a managed translation backend.

Examples

  1. "Internationalize my Next.js app — I want German and French" → detects the stack, writes config, shows an instrument --dry-run plan, then wraps and extracts.
  2. "Find my hardcoded strings and wrap them" → runs instrument over .tsx files and walks you through the git diff, flagging server components that need 'use client'.
  3. "Move our translations to Locize and serve them from a CDN" → locize-sync, locize-download, plus installing i18next-locize-backend.

· · · 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)
  1. Download the ZIP with the button below.
  2. In Claude, open Settings → Capabilities and turn on 'Code execution and file creation'. (one time)
  3. Go to Customize → Skills → + → 'Upload a skill' and upload the ZIP.
↓ Download ZIP
Install in Claude Code

Let Claude do it — paste this into Claude Code

Install the skill I found on Claude 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.

  1. Open a terminal and confirm Node.js and git are installed: node -v, git --version.
  2. Clone the repository that contains the skill: git clone https://github.com/i18next/i18next-cli.git /tmp/i18next-cli
  3. Create your skills folder if needed: mkdir -p ~/.claude/skills
  4. Copy the skill in: cp -r /tmp/i18next-cli/skills/i18next-localization ~/.claude/skills/
  5. Verify with ls ~/.claude/skills/i18next-localization — you should see SKILL.md and a references/ folder.
  6. Restart Claude Code, open your project directory, and ask: "add i18n to this app".
  7. Before it runs, commit your work or create a fresh branch — instrument rewrites source files, and the skill will refuse to run on a dirty tree.
  8. Only if you choose Locize: create a project on locize.app and export LOCIZE_PROJECTID and LOCIZE_API_KEY as environment variables; never embed the API key in client-side code.