-
Notifications
You must be signed in to change notification settings - Fork 179
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
defaultLanguage not working #148
Comments
Try removing |
@xZliman What if I want to keep the redirect? |
I got the same problem with 'en' and 'es' languages and defaultLanguage : 'es'. If redirect is true, it will start in /en, always, instead of /es as expected. Setting it to false, will show me the 'es' page, but it's not consistent with the language switcher (that goes to /es). Any workaround for this to work as in the docs? Thanks! |
I can confirm this issue is still happening. Set redirect: true so that it will auto redirect to the default language. It still auto redirects to /en when going to /, even though the defaultLanguage is set up differently. |
Actually, I have found it! It's taking the browser's language as default over the default language. This is even better! Might be good to update the docs to be a bit more clear on this one. |
At first, Thank you for this convenient package! it's really helpful🙏
I have some problems setting the default language for my project.
I have set
defaultLanguage:
asen
but when I visit the root address of my website, it still showing the Japanese version of it instead of showing the English version. is there any way to fix this problem?The text was updated successfully, but these errors were encountered: