You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Based on 3.0 documentation ,I implemented I18n using next14's pages router.
But I have a couple of quibbles I'd like help with:
Is there any way to do this other than using getInitialProps in _app.tsx to return [locale].json? Because according to nextjs, using getInitialProps in _app.tsx will cause the static optimizations to lose their effectiveness
How should I use next-intl outside of react components in pages router, for example if I need to use next-intl in my axios interceptor, how do I do it?
The text was updated successfully, but these errors were encountered:
Link to page
https://next-intl.dev/docs/getting-started/pages-router
Describe the problem
Based on 3.0 documentation ,I implemented I18n using next14's pages router.
But I have a couple of quibbles I'd like help with:
The text was updated successfully, but these errors were encountered: