Skip to content

href always prefixed even when localePrefix is never #1328

Answered by amannn
y-nk asked this question in Q&A
Discussion options

You must be logged in to vote

If you're using a routing system that is external to next-intl, maybe you'd have an easier time if you'd set up your app without i18n routing. Using that approach, you don't have to use either the middleware or the navigation APIs from next-intl and also not the [locale] segment. Maybe that puts you in a better place where you can implement your custom routing requirements.

I'm going to move this to a discussion since this seems to be more a usage question than a bug report. As explained above, the prefix that is shown when changing a locale serves a concrete purpose and is working as intended.

Replies: 5 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by y-nk
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
bug Something isn't working unconfirmed Needs triage.
2 participants
Converted from issue

This discussion was converted from issue #1324 on September 06, 2024 07:37.