You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
it seems that there is no way to pass locale down to all components e.g RootLayour, it only accept params, searchParam for now?
for params it need app/[lang]/* fragment .:) do you have any idea?
Verify canary release
Provide environment information
Which area(s) of Next.js are affected? (leave empty if unsure)
App directory (appDir: true)
Link to the code that reproduces this issue
https://github.com/vercel/next.js/tree/canary/examples/app-dir-i18n-routing
To Reproduce
Question clarity
Describe the Bug
Does it support detect locale via domain name?
[lang] it seems only support subdirectory /en_US/product, /de/product
how to detect https://us.xxx.com/product, https://de.xxx.com
it seems that there is no way to pass locale down to all components e.g RootLayour, it only accept params, searchParam for now?
for params it need app/[lang]/* fragment .:) do you have any idea?
i18next/next-app-dir-i18next-example#10
Expected Behavior
can detect locale via domain name and passed into all Next React component
Which browser are you using? (if relevant)
lastest version
How are you deploying your application? (if relevant)
next start
The text was updated successfully, but these errors were encountered: