I18n parity
MANDATORY for every coding agent and contributor touching localized content, keep all five localization surfaces.
In detail
MANDATORY for every coding agent and contributor touching localized content — keep all five localization surfaces (dashboard UI keys, wiki page, full mirrored guides, locale-aware formatting, language switchers) in parity across every supported language. Use automatically (without being asked) whenever you add or change user-visible UI copy, add an i18n key, edit README-EN.md or a localized guide, edit wiki/index.html, or add a language surface.
Safety check
- Not rated by Claude yet. We only sell skills Claude has read and rated 7 out of 10 or higher, so this one is a free link to its author.
An automated scan lowers risk but cannot promise zero risk. How we check skills
Preview
The first lines of SKILL.md
---
name: i18n-parity
description: MANDATORY for every coding agent and contributor touching localized content — keep all five localization surfaces (dashboard UI keys, wiki page, full mirrored guides, locale-aware formatting, language switchers) in parity across every supported language. Use automatically (without being asked) whenever you add or change user-visible UI copy, add an i18n key, edit README-EN.md or a localized guide, edit wiki/index.html, or add a language surface.
---
> **Mirror.** The canonical copy of this skill — and the `i18n-audit.sh`
> script it tells you to run — live at `.claude/skills/i18n-parity/`.
> Keep the two in sync; edit the canonical copy first.
# i18n Parity
This repository is localized on **five independent surfaces**, each with its own
mechanism. A change that lands on one and not the others leaves the product
half-translated: the English falls through, and the gap is invisible to anyone
working in English. This skill states the invariant, maps every surface to the
exact files, and gives one command that proves parity.
**The invariant: English is the source of truth on every surface, and no change
is done until every supported language carries it in the same PR.** A fallback
to English is a safety net, never a completed translation.
Supported languages are declared in one place — `supportedLngs` in
`client/src/i18n/index.ts`. Today:
**`en`, `zh`, `vi`, `ko`, `es`**. Everything below derives from that list; the
audit script reads it rather than hard-coding.
## The five surfaces
| # | Surface | English source of truth | Translations live in | Automated gate |
|---|---|---|---|---|
| 1 | **Dashboard UI** | `client/src/i18n/locales/en/*.json` | `client/src/i18n/locales/<xx>/*.json` (same 15 namespaces) | `client/src/i18n/__tests__/i18n.test.ts` — key, type, and interpolation-token parity |
| 2 | **Wiki page** | English text in the `wiki/index.html` DOM | `wiki/script.js` (`T`, `ATTRIBUTE_TRANSLATIONS`, `META`, `languageLabels`, the two language ladders) + `wiki/i18n-content.js` (`window.__WIKI_CONTENT_I18N`, both the body bundles and `plain`) | `client/tests/wiki-i18n.test.ts` — live-DOM prose coverage, inline-tag preservation, block-length budgets, asset-version sync |
| 3 | **Full mirrored guides** | `README-EN.md` | `README-CN.md` (zh), `README-VN.md` (vi), `README-KO.md` (ko), `README-ES.md` (es) | partial — `scripts/i18n-audit.sh` (existence, heading count, cross-links) and `server/__tests__/plugins-marketplace.test.js` (documented counts); prose parity is review-only |
| 4 | **Language switchers** | — | `client/src/components/Sidebar.tsx`, `client/src/lib/paletteCommands.ts`, the two `.lang-select-menu` blocks in `wiki/index.html`, `nav.json` `languageNames` / `languageShort` | `scripts/i18n-audit.sh` |
| 5 | **Locale-aware formatting** | — | `client/src/lib/format.ts` (`SupportedLanguage` union, `getCurrentLanguage()` whitelist, `getCurrentLocale()` BCP-47 map) | `client/src/lib/__tests__/format.test.ts` |
### What is deliberately NOT localized
Verified against the tree — do not go looking for translation hooks in these,
and do not add them without being asked:
...From hoangsonww's repository, MIT licence.
Related skills
-
Checked
Web design builder
Builds polished web pages, dashboards and prototypes in HTML, CSS and React, then checks them in a browser.
7/101 credit -
Checked
React Native accessibility
Writes React Native screens that pass AMA accessibility checks, so every user can get through your app.
8/101 credit -
Checked
Web animation builder
Builds web animations by deciding purpose, curve, duration and exit in order, so motion feels right.
8/101 credit -
Checked
Janky animation fixer
Finds why a web animation drops frames and picks properties that stay smooth, so motion runs without stutter.
7/101 credit -
Checked
Apple style fluid motion
Builds springy, interruptible gestures and sheets for the web the Apple way, so your interface feels native.
8/101 credit -
Checked
Enter and exit animations
Decides what should animate and builds enters, exits, icon swaps and drag with exact timing and easing values.
7/101 credit