fix some traslation message errors during build;
disable auto language recognition.
This commit is contained in:
@ -50,8 +50,12 @@ module.exports = withPWA({
|
||||
|
||||
return config;
|
||||
},
|
||||
i18n: { // using https://next-intl-docs.vercel.app/docs/getting-started/pages-router
|
||||
i18n: {
|
||||
// next-intl
|
||||
// https://next-intl-docs.vercel.app/docs/usage/messages
|
||||
// using https://next-intl-docs.vercel.app/docs/getting-started/pages-router
|
||||
locales: ['bg', 'en', 'ru'],
|
||||
defaultLocale: 'bg',
|
||||
autoDetect: false,
|
||||
},
|
||||
})
|
Reference in New Issue
Block a user