Route the signer under /{locale} with next-intl middleware

Featurekamo-signer-monorepo
Shipped
August 2, 2026 at 6:22 PM UTC
Author
Kamo
Commit
ce42270

Adds i18n/routing.ts (localePrefix always), i18n/navigation.ts, and middleware.ts, and moves the route tree under src/app/[locale]/. request.ts now resolves from the URL instead of the kamo-locale cookie, keeping the deep-merge English fallback. Outstanding signer links keep working: the middleware 307-redirects unprefixed URLs and preserves the ?t= token.

All changes

Like what you see shipping?

Every one of these updates lands in your workspace automatically. Start free and watch it grow week after week.

Start Free ForeverView Pricing