Replies: 1 comment 1 reply
-
You can however work around this limitation with custom I'll move this to a discussion since it seems to be a usage question. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Is your feature request related to a problem? Please describe.
Yes. I want to expand my product to new territories, but I need SEO and analytics to remain consistent and coherent across all markets. Ideally, I’d like to maintain a single codebase with domain + prefix-based navigation to manage different countries efficiently—while still allowing users to switch between languages within each location.
Describe the solution you'd like
I’d love the ability to define localized pathnames that are mapped to a default locale. For example, if the default locale is English, and other available languages are Polish and Czech, the pathnames would look like this:
Additionally, I’d like to configure both domain-based and prefix-based navigation.
Example scenarios
When visiting my-site.com (English default):
When visiting my-site.pl (Polish default):
When visiting my-site.cz (Czech default):
Summary
I’m looking for a feature where pathnames are always associated with the default locale of a given deployment (e.g. .com, .pl, .cz), and language switching happens within that context - without changing the entire route structure to match the new language. This approach ensures SEO consistency, a clean user experience, and better tracking alignment across internationalized versions of the site.
Describe alternatives you've considered
I'm thinking about some function to wrap the pathnames, but no decision yet.
Beta Was this translation helpful? Give feedback.
All reactions