i18n locales shows 404
Unanswered
Yellowhead catfish posted this in #help-forum
Yellowhead catfishOP
I just started a new nextjs project with i18n config, but if I try to access the localized page, it shows 404 error.
next.config.js
I have not added any other code and just visited the homepage
added info:
I'm using the
am I missing something here?
next.config.js
i18n: {
defaultLocale: "en",
locales: ["en", "ko"],
},
I have not added any other code and just visited the homepage
localhost:3000/
- shows the correct pagelocalhost:3000/ko
- shows an erroradded info:
I'm using the
app/
folder here. Does i18n work on app/
or just on pages/
?am I missing something here?
1 Reply
Can i see your file structure