Single route file for multiple localized slugs (e.g. /corporate and /fr/entreprise)

hi guys,

In TanStack Start (file-based routing), how can a single route file (e.g. routes/corporate.tsx) serve multiple real, crawlable paths with different slugs/corporate and /fr/entreprise—without duplicate/alias files or route masking?

https://github.com/TanStack/router/discussions/5592#discussioncomment-14833751

any suggestions?
GitHub
In TanStack Start (file-based routing), how can a single route file (e.g. routes/corporate.tsx) serve multiple real, crawlable paths with different slugs/corporate and /fr/entreprise—without dupli...
Was this page helpful?