-
Hi, I use
|
Beta Was this translation helpful? Give feedback.
Answered by
ivanhofer
Jul 26, 2022
Replies: 1 comment 2 replies
-
Please take a look at the official Next.js example: https://github.com/ivanhofer/typesafe-i18n/tree/main/packages/adapter-react/examples/nextjs |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
ivanhofer
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Please take a look at the official Next.js example: https://github.com/ivanhofer/typesafe-i18n/tree/main/packages/adapter-react/examples/nextjs
You should not call
loadAllLocales
, instead you should useloadLocaleAsync
and just load the locale your user needs.