Closed stefanlogue closed 10 months ago
To Reproduce Steps to reproduce the behavior:
Go to '...' Click on '....' Scroll down to '....' See error
I cannot help without a reproduction, as this error doesn't happen in the example or the CodeSandbox. Please provide a repository or Stackblitz/CodeSandbox so we can look into that.
It might also be related to https://github.com/QuiiBz/next-international/issues/219 or https://github.com/QuiiBz/next-international/issues/193 (specifically https://github.com/QuiiBz/next-international/issues/193#issuecomment-1733918687)
I am getting the same issue
Update, I fixed it.
For my case i was using fallbackLocale so i had to remove that and add locale to it.
That fixed everything.
Please look into this https://next-international.vercel.app/docs/app-setup#move-your-existing-files @stefanlogue
See the migration guide in the release note for 1.1.0: https://github.com/QuiiBz/next-international/releases/tag/1.1.0 (Support Static Rendering in nested Client Components)
Describe the bug When viewing a page using a locale that is not the default locale, I get this error:
This also happens when I try to use the
getI18n
function in thegenerateMetadata
function in order to translate the page titleTo Reproduce Steps to reproduce the behavior:
Expected behavior Shouldn't get an error, should just translate the page correctly as it does with the default locale.
Screenshots If applicable, add screenshots to help explain your problem.
About (please complete the following information):
Additional context Add any other context about the problem here.