Next.js Discord

Discord Forum

i18n and static export - docs bug?

Unanswered
American Bobtail posted this in #help-forum
Open in Discord
American BobtailOP
I am wondering about the i18n and static export.

This part in documentation gets me confused

https://nextjs.org/docs/app/building-your-application/routing/internationalization#static-generation

If it is a root layout - how can it access route parameters (params.lang)?

If it is a sublayout how can it countain html and body tags?

0 Replies