-
-
Notifications
You must be signed in to change notification settings - Fork 764
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
Pages with rewrite failing to load #1031
Comments
@isaachinman please check again, fixed this bug. By the way, it works on |
The example repo deployed at https://next-i18next-rewrite-bug.vercel.app/about and https://next-i18next-rewrite-bug.vercel.app/tr/hakkimizda. You can clearly see the 500 error. The error is consistent with the one I've posted above. Also please let me know if you want further information from me. I'm on Discord as thiras#0081. |
I've just checked that |
Describe the bug
The pages with translation failed to load (500) if they have rewritten to a destination. This problem only occurs against a direct hit to the rewritten URL. Client-side navigation works totally fine.
Occurs in next-i18next version
8.1.0
Steps to reproduce
I've create a reproducible repo here; https://github.com/thiras/next-i18next-rewrite-bug Just deploy it on vercel and hit
/tr/hakkimizda
directly (Turkish equivalent of/about
)Expected behaviour
Translations should work with the rewrites. Rewrites are the best option to handle slug translation so far.
Screenshots
Here is the vercel error output;
OS (please complete the following information)
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: