mirror of
https://github.com/bitbaum/solon.git
synced 2026-12-04 05:07:04 +01:00
Phase A of the plan of record (docs/design/2026-09-solon-plan.md, added here).
- next-intl, the fleet's i18n choice (STACK.md), in evig's layout: pages move
under src/app/[locale]/ (API routes stay outside), English unprefixed, the
others at /de /fr /it /ru, no Accept-Language guessing.
- messages/<locale>.json carry every sentence of the header, footer, mobile
menu, home, /hire, /security, /credits and every photo's alt text. German
follows Swiss spelling. Machine-drafted; native review is open.
- t() keys are typed against en.json (a missing key fails typecheck); a parity
test fails if a language lacks, adds, empties or drops a {placeholder}.
- Language switcher in the header (native <select>) and the mobile menu.
- Pages not yet translated stay English and say so in the reader's language
(TRANSLATED_ROUTES in site-config).
- Every internal link goes through @/i18n/navigation, so a reader on /de stays
on /de; the last plain <a> links to internal pages became Links.
- Glarus copy corrected against sources: "since at least 1387" (first recorded,
not continuous), plus the 2006 floor amendment that merged 25 municipalities
into 3.
- e2e: each language's front page, the switcher, the notice, API routes
outside languages. 41/41 locally against a production build.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Signed-off-by: Cato <41178744+catomean@users.noreply.github.com>