[v3] defaultLocale example #3318
Closed
arno-fukuda
started this conversation in
General
Replies: 1 comment
-
One workaround I found so far:
Then for next.config.mjs:
@dimaMachina, could you let me know if this is the correct approach for v3 if I wanted to omit |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Can someone post an example repo that uses v3 with i18n where defaultLocale is enabled?
Eg:
Per nextjs documentation, defaultLocale should be the locale you want to be used when visiting a non-locale prefixed path e.g.
/hello
.I get a 404 on http://localhost:3000/, when in theory, it should display the content of
pages/en/index.mdx
Beta Was this translation helpful? Give feedback.
All reactions