fix some traslation message errors during build;

disable auto language recognition.
This commit is contained in:
Dobromir Popov
2024-04-29 13:15:52 +03:00
parent e4a84e74ff
commit 9668bc0ef8
5 changed files with 19 additions and 8 deletions

View File

@ -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,
},
})