I am building a Next.js app with internationalization using next-i18next.
// next-i18next.config.js
module.exports = {
i18n: {
locales: ['lv', 'en', 'ua'],
defaultLocale: 'lv',
localeDetection: false,
},
}
For better SEO, I wold like to use different URL params for same translated page. Default NextJS page/locale mapping looks like this:
lv: /about-us
en: /en/about-us
ua: /ua/about-us
I would like to map this page like this:
lv: /par-mums
en: /en/about-us
ua: /ua/про-нас
Is it even possible? Thanks!