URLs throw 404 when trying with another language, it's only working for en. I can see the JSON response for it when accessing the API.
I have added language in CMS, setup the page for it and also added it to next.config.js
i18n: {
locales: ['en', 'fr-FR'],
defaultLocale: packageConfig.language,
},
Does anyone know if I'm missing something?
Sitecore version - 10.3
Frontend Framework - NextJs