Skip to main content

i18n

Use when updating Lingui catalogs or fixing translations

Source facts

Repository
d-kimuson/claude-code-viewer
Last source activity
April 1, 2026 at 14:56
Detected SKILL.md language
English
Stars
1,289
Forks
164

Install options

The review-first prompt is selected by default. You can switch to a direct command or download a local copy.

Review the source files

Read SKILL.md and any companion files shown by SkillsMP before deciding whether to install.

Showing SKILL.md

SKILL.md
Source instructions · Read-only preview
name
i18n
description
Use when updating Lingui catalogs or fixing translations
disable-model-invocation
false
user-invocable
true
## 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 GitHub