Accessing wrong URL results in not loading the correct translation file #1221
Unanswered
moyounishimself
asked this question in
Q&A
Replies: 1 comment 1 reply
-
Any suggestions? @aralroca |
Beta Was this translation helpful? Give feedback.
1 reply
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.
-
Hi there,
I'm using Next 14 with page routing and recently introduced a locale so now I have
de
anden
. One issue I noticed is that when I access a wrong url the locale isn't loaded.Steps to reproduce:
localhost/this-page-does-not-exist
setLanguage
and now it can't find the translation404-i18n.mp4
It tries to load
{locale}/this-page-does-not-exist.json
for some reason. Do you have any idea how to fix this? Aside from redirecting to 404 urlBeta Was this translation helpful? Give feedback.
All reactions