Accessing wrong URL results in not loading the correct translation file #1221
Unanswered
moyounishimself
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
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