# i18n-localization

A Claude skill covering internationalization and localization: translation keys, locale files, RTL layout and a checker script.

- skill · `type=skill` · Claude Code · 251 installs
- Author: davila7
- License: not stated · policy=link-only · description only; the file stays with the author
- Source: https://github.com/davila7/claude-code-templates/tree/HEAD/cli-tool/components/skills/development/i18n-localization
- Updated: 2026-10-24
- HTML: https://affpapa.org/en/nevibecode/skills/i18n-localization

## What it does

This skill lays out i18n and L10n patterns: why translation keys beat raw text, how to namespace strings by feature, how to keep one language per file. It ships examples for react-i18next, next-intl and Python gettext, a `locales/` layout split by language, and a pre-ship checklist.

RTL gets its own section. Logical CSS properties such as `margin-inline-start` replace `margin-left`, and icons flip with `[dir="rtl"]`. A table of common problems maps each one to a fix — missing translations, date and number formatting through `Intl`, pluralization through ICU. To catch hardcoded strings and missing keys there is `scripts/i18n_checker.py`, run as `python scripts/i18n_checker.py <project_path>`.

The skill is limited to `Read`, `Glob` and `Grep`. It finds strings, it does not rewrite them. So plan the actual replacement as a separate step instead of expecting the agent to patch every component for you.

## Install

### Claude Code (native platform)

1. **claude-code-templates**
```bash
npx claude-code-templates@latest --skill development/i18n-localization
```

2. **Skills CLI (Vercel)**
```bash
npx skills add davila7/claude-code-templates --skill i18n-localization -a claude-code
```

3. **Manually: put the files in place**
- File: `~/.claude/skills/i18n-localization/SKILL.md` — Copy the whole skill folder; for one project use .claude/skills/i18n-localization/

### Codex

**Manually: put the files in place**
- File: `.agents/skills/i18n-localization/SKILL.md` — For all projects use ~/.agents/skills/

### Cursor

**Manually: put the files in place**
- File: `.cursor/skills/i18n-localization/SKILL.md` — Cursor also reads .agents/skills/ and .claude/skills/

### GitHub Copilot

1. **GitHub CLI**
```bash
gh skill install davila7/claude-code-templates i18n-localization
```

2. **Manually: put the files in place**
- File: `.github/skills/i18n-localization/SKILL.md`

### Gemini CLI

**Platform CLI**
```bash
gemini skills install https://github.com/davila7/claude-code-templates --path cli-tool/components/skills/development/i18n-localization
```

### Windsurf (Devin Desktop)

**Manually: put the files in place**
- File: `.devin/skills/i18n-localization/SKILL.md` — The legacy .windsurf/skills/ path still works

### Claude.ai

**Claude.ai**
- Zip the folder and upload it in Settings → Capabilities → Skills

Where a file is given instead of a command, copy the files from the source to that path: https://github.com/davila7/claude-code-templates/tree/HEAD/cli-tool/components/skills/development/i18n-localization

## When to use it
- spot hardcoded strings across components
- organize translations into namespaced locale files
- format dates and numbers per locale
- add RTL support to an existing layout
- verify every translation key exists in the locale files

## Example prompts
- run i18n_checker over the project and list the hardcoded strings left
- move the text in this component into locale files
- check whether the layout breaks when switched to RTL

## Similar
- [internationalization-i18n](https://affpapa.org/en/nevibecode/skills/aj-geddes-internationalization-i18n.md) — skill · 633 installs
- [i18n-expert](https://affpapa.org/en/nevibecode/skills/i18n-expert.md) — skill · 2700 installs
- [rtl-right-to-left-i18n-cursorrules-prompt-file](https://affpapa.org/en/nevibecode/rules/rtl-right-to-left-i18n-cursorrules-prompt-file.md) — rule · ★ 41011
- [localization-design](https://affpapa.org/en/nevibecode/skills/localization-design.md) — skill · 1700 installs
- [roblox-localization](https://affpapa.org/en/nevibecode/skills/roblox-localization.md) — skill · 1600 installs
- [nuxt-i18n](https://affpapa.org/en/nevibecode/skills/nuxt-i18n.md) — skill · 589 installs

From the same set: [davila7/claude-code-templates](https://affpapa.org/en/nevibecode/by/davila7/claude-code-templates.md) — 205 cards

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
