i10n using NextIntl

This commit is contained in:
Dobromir Popov
2024-04-28 22:56:41 +03:00
parent 46df4b6066
commit 6d2885de59
12 changed files with 304 additions and 11 deletions

View File

@ -50,4 +50,8 @@ module.exports = withPWA({
return config;
},
i18n: { // using https://next-intl-docs.vercel.app/docs/getting-started/pages-router
locales: ['bg', 'en', 'ru'],
defaultLocale: 'bg',
},
})