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
Sorry, there's barely any information available here, I'm not sure what you're intending to do. If you have a usage question, then please submit a new question on Stack Overflow.
Link to page
https://next-intl-docs.vercel.app/docs/faq
Describe the problem
**In _app ** Next
MyApp.getInitialProps = async (appContext) => { const appProps = await App.getInitialProps(appContext); const locale = appContext.router.locale || appContext.router.defaultLocale || "es"; const messages = (await import(
messages/${locale}.json`)).default;return {
...appProps,
pageProps: {
...appProps.pageProps,
messages: messages,
},
};
};
`
The text was updated successfully, but these errors were encountered: