refactor(locale): consolidate pages across locales #82

Merged
chartgerink merged 10 commits from fix/25 into main 2026-04-23 11:03:21 +00:00
Owner
  • include locale in the path for all routes, including default locale
  • consolidate pages into the /src/pages/[locale] folder
  • add middleware to handle rerouting to default locale and prevent link breakage
  • add middleware to reroute from specific locale to general locale if present (e.g., nl-NL -> nl)
  • add middleware to reroute from general locale to specific locale if present (e.g., en -> en-US)
  • add middleware routing tests
  • update default locale to en-US

Fixes #25.

- include locale in the path for all routes, including default locale - consolidate pages into the `/src/pages/[locale]` folder - add middleware to handle rerouting to default locale and prevent link breakage - add middleware to reroute from specific locale to general locale if present (e.g., `nl-NL` -> `nl`) - add middleware to reroute from general locale to specific locale if present (e.g., `en` -> `en-US`) - add middleware routing tests - update default locale to `en-US` Fixes #25.
chartgerink deleted branch fix/25 2026-04-23 11:03:22 +00:00
Sign in to join this conversation.
No description provided.