--- id: d-kimuson/claude-code-viewer/i18n version: "08eef9ba" license: MIT install: manual updated: 2026-05-10 --- # i18n — Manage translations across multiple locales in Lingui catalogs without altering source keys or compiled outputs. The skill enforces preservation of placeholders, ICU syntax, and technical terminology while providing verification scripts to catch missing translations and ensure consistency. Publisher: d-kimuson · Stars: 1262 · Updated: 2026-05-10 Install (manual): `git clone https://github.com/d-kimuson/claude-code-viewer` ## SKILL.md ## Core rules - English (`en`) is the source catalog. Do not alter keys; only update translations. - Preserve placeholders and ICU syntax exactly (e.g., `{name}`, `{count, plural, one {...} other {...}}`). - Keep technical terms in English when appropriate (API, TypeScript, React). ## Translation updates - Update `src/lib/i18n/locales/{locale}/messages.json` only; do not edit compiled outputs by hand. - Use `./scripts/put-transtation.js` to safely update a specific entry without loading the full file into context. ## Verification - Run `pnpm lingui:extract` when new messages are added. - Run `pnpm lingui:compile` to regenerate compiled catalogs. - Run `scripts/lingui-check.sh` to verify no missing translations. - Run `scripts/i18n-check-key-equals-translation.sh` to ensure key != translation in all locales. [View on SkillFed](https://skillfed.io/d-kimuson/claude-code-viewer/i18n) · [View on GitHub](https://github.com/d-kimuson/claude-code-viewer)