-
Notifications
You must be signed in to change notification settings - Fork 12
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
redirectDefaultLocale behaviour #37
Comments
Hi @dallyh, This library is mostly meant to support the use-case of having a If you don’t want a This library solves a problem that neither their cookbook nor experimental router solves—having a The |
Thanks for the response, and I got it thanks. But this integration solves more than the So I would like to reopen this for further discussion (if possible) from your side. |
@dallyh the Having the options to avoid using a For your particular use case without a |
@jlarmstrongiv Thanks for your help and explanation, I appreciate it. I don't feel like a developer that could handle such task of refactoring the whole library. The combination of dynamic [lang] path and Astro's new i18n router works well, but there are some quirks as of now. Again thanks for all the information :) |
Hello,
this is more of a question than issue.
I'm struggling a little bit with the
redirectDefaultLocale
option. I want my site to have paths for every language possible, that is for example "en, cs, fr" -> /en/page/, /cs/page/, /fr/page/.When i set the
redirectDefaultLocale
to false, and mydefaultLocale
is "en", then /en/page/ returns 404. When the redirectDefaultLocale is in it's default state, then /en/page/ redirects to /page/. When I manually create /en/page/, then every other language is not automatically generated (404's).Is it possible to make it so this integration generates paths for every language, even if it's the default one?
Thanks!
The text was updated successfully, but these errors were encountered: