i18n locales shows 404
Unanswered
Yellowhead catfish posted this in #help-forum
![Avatar](https://cdn.discordapp.com/embed/avatars/4.png)
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
![Avatar](https://cdn.discordapp.com/avatars/1029781305954684990/9fc047d62e3f359f362bb5b94616757a.webp?size=256)
fardeen awais
Can i see your file structure