Web Guide

i18next & react-i18next

Guard `{{count}}` variables, `_one`/`_other` plural suffixes, and German expansion wraps inside `public/locales/`.

Quickstart commands

# 1. Initialize LANGUAGE.md and local MCP
npx -y qoloa init && npx -y qoloa sync-agents

# 2. Run local checks (0 credits)
npx -y qoloa scan .

# 3. Localize sibling locales in screen context
npx -y qoloa localize --to de,fr,pt-BR public/locales/en/common.json

What Qoloa catches

  • Preserves {{count}} variables and _one/_other key suffixes untouched
  • Flags mixed German du/Sie pronouns in the same screen
  • Catches 60-char German buttons that overflow mobile cards

LANGUAGE.md snippet

| Locale | Register | Pronouns | Keep in English |
| --- | --- | --- | --- |
| de | plain | du (never mix du/Sie) | Workspace, GitHub, PR |

Sample diff

--- a/public/locales/de/common.json
+++ b/public/locales/de/common.json
- "cta": "Kostenlose 14-tägige Testversion jetzt unverbindlich starten"
+ "cta": "14 Tage testen"

Example project files

Example path: fixtures/guides/i18next

public/locales/en/common.jsonpublic/locales/de/common.jsonsrc/BillingBanner.tsx