Replies: 1 comment
-
Look for the issue in the app code. Nextjs is weird, issue might be in other place which you are not expecting. Nothing to do from Lingui side. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
To make it clear, I have a Link on my page say:
It works great in defaultLocale. Everything renders correctly on the page, and when I click the link it opens the pdf file which shows the route "http://localhost:3000/documents/open-me.pdf"
But then if I switch to another locale, say "fr", and then I go to the page again, click the link, it goes to the route "http://localhost:3000/fr/documents/open-me.pdf", but this time the pdf cannot be opened, and it gives me this error:
Since I can't do anything on the pdf file, what can I do to prevent this error when users want to open the file?
Beta Was this translation helpful? Give feedback.
All reactions