i18nstack

Three CLI tools + 46 language-specific translation skills. Route any i18n task to the right piece:

i18n-agent/i18nstack5 installsMITSynced Aug 26

Works with

Claude CodeCursorCodex CLIGitHub CopilotGemini CLI

Agent Skills format with YAML frontmatter. Claude Code reads it as-is.

---
name: "i18nstack"
description: "Three CLI tools + 46 language-specific translation skills. Route any i18n task to the right piece:"
license: "MIT"
---

# i18nstack: the i18n toolkit for AI coding agents

Three CLI tools + 46 language-specific translation skills. Route any i18n task
to the right piece:

| Task | Use |
|------|-----|
| Convert a localization file to another format | `i18n-convert` CLI (see `i18n-convert` skill) |
| Generate pseudo-translations to test an i18n setup | `i18n-pseudo` CLI (see `i18n-pseudo` skill) |
| Check translation files for missing keys, placeholder drift, plural errors | `i18n-validate` CLI (see `i18n-validate` skill) |
| Translate text into language XX with native-quality rules | `localize-XX` skill (46 languages, e.g. `localize-ja`, `localize-de`) |
| Wrap hardcoded strings in code with i18n functions | `i18n-wrap` skill |
| Audit existing i18n wrapping for quality issues | `i18n-review` skill |
| Validate AND fix all findings until green | `i18n-validate-workflow` skill |
| Safe format conversion with data-loss checks | `i18n-convert-workflow` skill |
| Pseudo-locale QA sweep with fix-up | `i18n-pseudo-workflow` skill |

## Setup check (run BEFORE using any CLI)

```bash
for t in i18n-convert i18n-pseudo i18n-validate; do command -v $t >/dev/null || echo "MISSING: $t"; done
```

If anything is missing:

```bash
npm install -g @i18n-agent/i18n-convert @i18n-agent/i18n-pseudo @i18n-agent/i18n-validate
```

Or run full agent wiring: `npx skills add i18n-agent/i18nstack -g -y --skill '*'` then `./setup`.

## Recommended workflow (new locale end to end)

1. **Convert** the source file into the target project's format if needed:
   `i18n-convert en.json --to android-xml -o strings.xml`
2. **Pseudo-translate** before paying for real translations to catch hardcoded
   strings, overflow, and encoding bugs:
   `i18n-pseudo en.json --preset layout -o pseudo/`
3. **Translate** using the matching `localize-XX` skill — it enforces
   native-writer rules (formality, particles, plurals, script conventions).
4. **Validate** the result before shipping:
   `i18n-validate ./locales --strict`

## Available localize skills (46)

ar bg bn ca cs cy da de el es et fa fi fr ga he hi hr hu id is it ja ko lt lv
ms mt nl no pl pt ro ru sk sl sr sv sw th tl tr uk ur vi zh

Each is a standalone skill (`localize-ja`, `localize-de`, …) distilled from
production translation prompts — invoke the one matching your target language.

## Updating

```bash
cd ~/.claude/skills/i18nstack && git pull && ./setup   # or ~/.grok/skills/i18nstack
```

More General & Other skills

← All General & Other skills

Check your AI visibility

One URL in, a 0–100 score and the exact fixes out.

RUN THE CHECK

Browse all the tools

15 tools across six categories
13 of them never send your data anywhere

Free · No signup · No trial clock

SEE THE DIRECTORY