Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Optionally force default locale url prefix #38387

Closed
11koukou opened this issue Jul 6, 2022 · 0 comments
Closed

Optionally force default locale url prefix #38387

11koukou opened this issue Jul 6, 2022 · 0 comments

Comments

@11koukou
Copy link
Contributor

11koukou commented Jul 6, 2022

Describe the feature you'd like to request

As per the #18419 discussion I would like to open a feature request just in case that the mentioned post is no longer being monitored due to having being "answered".

Well, it is a much requested feature to optionally force the locale appear in the url even if it is the default one. The current middleware workaround is more or less what its name exactly means: a workaround. It introduces unnecessary complexity and even drops performance, for something that is hypothetically simple.

Describe the solution you'd like

Having a "forceDefaultLocalePrefix" boolean flag in next.config.js

Describe alternatives you've considered

None

@vercel vercel locked and limited conversation to collaborators Jul 6, 2022
@balazsorban44 balazsorban44 converted this issue into discussion #38389 Jul 6, 2022

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant