Replies: 1 comment 1 reply
-
I think you're looking for this: https://next-intl-docs-git-feat-next-13-rsc-next-intl.vercel.app/docs/getting-started/app-router#static-rendering I'll move this to a discussion, since this appears to be a usage question. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Description
Using
useTranslations
inside a page withexport const dynamic = 'force-static';
lead to this error:Is
force-static
planned to be supported? Otherwise, the error helper should include this case.Mandatory reproduction URL (CodeSandbox or GitHub repository)
https://codesandbox.io/p/sandbox/next-intl-bug-template-app-forked-xhs3mk?file=%2Fsrc%2Fapp%2F%5Blocale%5D%2Fpage.tsx%3A9%2C1
Reproduction description
Expected behaviour
No error
Beta Was this translation helpful? Give feedback.
All reactions