AI Skill MartBrowse skillsPromptsProgramsLearnWhat is a Skill?
← Back to list

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-cli to detect your framework, router, and any existing i18n setup.
  • Generates i18next.config.ts via init --yes --locales <langs> --backend local|locize.
  • Runs instrument for AST-based wrapping of hardcoded strings into t() (with a --dry-run preview first), then extract to write locale JSON.
  • Optionally connects to Locize: locize-sync to push keys and AI pre-translate, locize-download to pull translations back.
  • Verifies with status and lint to 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-run followed by extract and a status report.
  • "Move our translations to a managed backend" → export LOCIZE_PROJECTID/LOCIZE_API_KEY, run locize-sync, then locize-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)
  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 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.

  1. Open a terminal and confirm Node.js and git are installed (node -v, git -v).
  2. Clone the repo: git clone https://github.com/i18next/i18next-cli.git /tmp/i18next-cli
  3. Create the skills folder: mkdir -p ~/.claude/skills
  4. Copy the skill in: cp -r /tmp/i18next-cli/skills/i18next-localization ~/.claude/skills/
  5. Check that ~/.claude/skills/i18next-localization/ contains SKILL.md plus the references/ folder.
  6. Restart Claude Code, open the project you want to localize, and ask something like "internationalize my app".
  7. Commit or stash all pending changes first — instrument rewrites source files, so a clean tree keeps the diff reviewable.