Support for multiple localePrefix modes based on locale #1405
george-roussos
started this conversation in
Ideas
Replies: 0 comments
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.
-
Hi!
Is it possible to add functionality for multiple prefix modes?
Eg if we have
en-us
,en-gb
anden-ie
and want to adopt a custom prefix for en-ie, but not the other two:Would be great for some locale exceptions. This is possible in middleware (if looking at the top level domain e.g.) but for route matching over in
usePathname()
this would be needed inconfig.ts
.Thank you! 👍
Beta Was this translation helpful? Give feedback.
All reactions