next/link force prepend defaultLocale #25037
andylemaire
started this conversation in
Ideas
Replies: 1 comment
-
Is this possible today? As I have listing and I want the URL to be prefix locale So this is how it's right now But I want it to be |
Beta Was this translation helpful? Give feedback.
0 replies
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.
-
Describe the feature you'd like to request
Hi,
As I understand it now, the locale is only being prepended on
next/link
tags<Link href="/link">
when you're using a locale which is not thedefaultLocale
.Would it be possible to add a feature to force prepending the
locale
even when you're browsing on thedefaultLocale
?Describe the solution you'd like
Option to force prepending the
locale
even when browsing thedefaultLocale
.Describe alternatives you've considered
Manually add the
locale
fromrouter
to the<Link href="/${local}/link">
.Beta Was this translation helpful? Give feedback.
All reactions