From b524b97e240abc72b0beeccd74d41554eafdc9f4 Mon Sep 17 00:00:00 2001 From: Georges-Antoine Assi Date: Sun, 19 Jul 2026 09:04:40 -0400 Subject: [PATCH] docs(i18n): tighten the translate-every-locale rule into bullets Co-Authored-By: Claude Opus 4.8 (1M context) --- .claude/skills/frontend-i18n/SKILL.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.claude/skills/frontend-i18n/SKILL.md b/.claude/skills/frontend-i18n/SKILL.md index e281ff91b..70825625f 100644 --- a/.claude/skills/frontend-i18n/SKILL.md +++ b/.claude/skills/frontend-i18n/SKILL.md @@ -16,7 +16,10 @@ User-visible strings are **never hard-coded** in components — they come from l ## The rule (enforced in CI) - **`en_US` is the source of truth**, but **every key added to `en_US` must be added to all other locale directories in the same change.** Never leave a key English-only. -- **Actually translate the value into each locale's language** — do not copy the English text into non-English locales. This applies to editing an existing string too: changing `en_US` means re-translating that key in every other locale, not pasting the new English into all of them. Reuse each locale's established terms for recurring words (grep a sibling key for how it renders "metadata", "provider", etc.). Copying the English value is a last-resort placeholder only when a translation is genuinely unavailable, and it must be flagged to revisit. +- **Actually translate the value into each locale's language** — never paste English into non-English locales. +- Editing an existing string counts: changing `en_US` means re-translating that key in every other locale. +- Reuse each locale's established terms — grep a sibling key for how it renders "metadata", "provider", etc. +- Copying the English value is a last-resort placeholder, only when no translation is available, and must be flagged to revisit. - Removing or renaming a key means doing it across **every** locale. ## Verify before handoff