Open olehkhalin opened 1 year ago
Lang property in html tag doesn't depend on the selected locale
https://github.com/prismicio-community/nextjs-starter-prismic-multi-language/blob/e6c791303a13aaabd3b7cbd9ac7dcd440d40f531/src/app/layout.js#L26
your folder structure should be : /app/[lang]/layout.js then you will have access to your locale from param.lang
Lang property in html tag doesn't depend on the selected locale
https://github.com/prismicio-community/nextjs-starter-prismic-multi-language/blob/e6c791303a13aaabd3b7cbd9ac7dcd440d40f531/src/app/layout.js#L26