NextJS static rendering does not work when working with next-int
according to next-intel
documentation, we can use setRequestLocale
to enable static rendering https://next-intl.dev/docs/getting-started/app-router/with-i18n-routing#static-rendering
, but it’s not working, i’m trying to apply static rendering to all pages under [locale]
path, but when i run npm run build
i see all of them are dynamic (server-rendered on demand):
NextJS static rendering does not work when working with next-int
according to next-intel
documentation, we can use setRequestLocale
to enable static rendering https://next-intl.dev/docs/getting-started/app-router/with-i18n-routing#static-rendering
, but it’s not working, i’m trying to apply static rendering to all pages under [locale]
path, but when i run npm run build
i see all of them are dynamic (server-rendered on demand):
Next.js + internationalisation – static website
I have a statically generated Next.js project (it’s also a requirement that it remains static), which uses next-intl
for localisation.
Next.js + internationalisation – static website
I have a statically generated Next.js project (it’s also a requirement that it remains static), which uses next-intl
for localisation.
Next.js + internationalisation – static website
I have a statically generated Next.js project (it’s also a requirement that it remains static), which uses next-intl
for localisation.
How to change the language without refreshing the page using next-intl client component
I want to change the language without refreshing the page by change cookie in next.js using next-intl without i18n routing, and in client component。this is my code https://github.com/lik3yoo/next-app/blob/main/src/app/login/page.tsx#L33
Implementation of next-intl locale switch with nextjs 14 static export
I followed the example setup described in example-app-router-without-i18n-routing.
The localization works ok on build and serve, but the language switch as described in the example will not work because server actions are not available, the app being served by nginx.
Implementation of next-intl locale switch with nextjs 14 static export
I followed the example setup described in example-app-router-without-i18n-routing.
The localization works ok on build and serve, but the language switch as described in the example will not work because server actions are not available, the app being served by nginx.
Error: Usage of next-intl APIs in Server Components currently opts into dynamic rendering
I’m building a website with Nextjs (14.2.3) and next-intl (“^3.14.1”), encountering buildtime error:
Error: Usage of next-intl APIs in Server Components currently opts into dynamic rendering
I’m building a website with Nextjs (14.2.3) and next-intl (“^3.14.1”), encountering buildtime error: