Oh interesting. Why not? Directory and file based routing is my favorite feature of Next.js, Remix, and other frameworks that do it.
On the other hand, what I see in practice is adding or removing context providers and layout components in the react router file, it becomes huge, and all the diffs change all of the lines with new indentation.
This is what I meant when I said "second-class citizen at best".
Localized path segments like "/books" or "/libros" could be supported with a path segment mapping configuration.
It should work fine in theory. I guess those configs don't exist yet. Or is there something else that route localization requires?