TIL
Next.js App Router needs a catch-all route for locale-aware 404 pages
Accessing /ja/nonexistent redirects to /en instead of showing a Japanese 404 page. Both a [...slug] catch-all route and updating the root not-found.tsx to render a 404 UI are required.
1 min read