Skip to content
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

Don't redirect to default locale #41

Closed
glen-84 opened this issue Dec 6, 2013 · 3 comments
Closed

Don't redirect to default locale #41

glen-84 opened this issue Dec 6, 2013 · 3 comments

Comments

@glen-84
Copy link

glen-84 commented Dec 6, 2013

Is it possible to not redirect if the matched locale is the default?

For example, if the default locale is "en", stay at "/" instead of redirecting to "/en/".

Unless this is not recommended for some reason?

@juriansluiman
Copy link
Collaborator

We could implement a feature that when the found locale is null for the uri path strategy, a default one is picked. Not sure how this boils down in the chain of strategies, but it might be a nice idea to implement.

@ChipZ91
Copy link

ChipZ91 commented Feb 20, 2016

Do you still want to add this feature? I know it's about 2 years old now, but I'm in that situation, too.

@kokspflanze
Copy link
Contributor

@svycka i think can be closed now

@svycka svycka closed this as completed Apr 2, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants