Files
vitareba/messages
g-butandClaude Opus 4.7 59dcabc5ce feat(i18n): localized 404 page for /[locale]/* unmatched routes
German visitors hitting a broken /de/* URL now see "Seite nicht
gefunden" with a "Zurück zur Startseite" link routed back to /de
(not the global English "Page not found" → /dashboard which made no
sense for an unauth marketing visitor).

Implementation: app/[locale]/not-found.tsx + a [locale]/[...rest]
catch-all that calls notFound() (next-intl's recommended pattern —
without the catch-all, Next.js bubbles unmatched routes up to the
global root not-found.tsx). New notFound.{title,body,cta} keys in
all four locale message files. Verified via curl across de/en/fr/it.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-25 17:30:02 +02:00
..