TanStackT
TanStack15mo ago
3 replies
verbal-lime

i18n Route Match

Im debating what would be the best approach for implementing router rules/files to implement the following:

- /pt-PT/about
- /en-US/about
- /fooo-bar

The problem im facing is if you set something next to
__root.tsx
like $locale.tsx” in a attempt to match a valid locale, and throw a notFound it will indeed render the NotFound component, but no styles are added or anything is done from the
__root
as it seems

Anyone did something similar and could point me in the right direction?

Using start btw :p
Was this page helpful?