#i18n locales shows 404

2 messages · Page 1 of 1 (latest)

fast spoke
#

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

  i18n: {
    defaultLocale: "en",
    locales: ["en", "ko"],
  },

I have not added any other code and just visited the homepage
localhost:3000/ - shows the correct page
localhost:3000/ko - shows an error

added info:
I'm using the app/ folder here. Does i18n work on app/ or just on pages/ ?

am I missing something here?

verbal quiverBOT
#

🔎 This post has been indexed in our web forum and will be seen by search engines so other users can find it outside Discord

🕵️ Your user profile is private by default and won't be visible to users outside Discord, if you want to be visible in the web forum you can add the "Public Profile" role in id:customize

✅ You can mark a message as the answer for your post with Right click -> Apps -> Mark Solution
(if you don't see the option, try refreshing Discord with Ctrl + R)