TanStackT
TanStack14mo ago
6 replies
nursing-lime

Dynamic root path

Hi! I have an app that is dealing with internationalisation.
My route structure is something like
/
/about
/whatever

And I want to add additional paths that immediately target specific locales;

/en
/en/about
/en/whatever

What’s the recommended approach here? Is there a way to do it without duplicating everything to use $locale?
Was this page helpful?