-
Notifications
You must be signed in to change notification settings - Fork 26.7k
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
Zones, Rewrites and Locales #23264
Comments
Do you resolove this problem? |
I have the same problem related to a subpath before the zones are starting. /en-us/app1/index.html Maybe someone else found a solution? |
This is likely related (possibly a duplicate) of #21565 |
I have the same issue, any ideas?? |
Duplicate of #21565 |
This closed issue has been automatically locked because it had no new activity for a month. If you are running into a similar issue, please create a new issue with the steps to reproduce. Thank you. |
Summary
I've followed the with-zones example for having multiple Next.js apps as different "zones" under the same domain using rewrites.
It works really well with the home app running on
localhost:3000
and the blogs app running onlocalhost:4000
.I've then tried to add i18n to the example using next-i18next and it all gets a bit strange. For example if we have two locales for english and german which are
en
andde
respectively. The routes within the home app work as expected.The rewrites to the blog app start getting weird and don't work as expected, presumably partially due to the
basePath
setting.Repo with issue
https://github.com/alexedwardjones/with-zones-and-i18n
Questions
Originally posted by @alexedwardjones in #23198
The text was updated successfully, but these errors were encountered: