0

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

2
  • Have you published your page? Feb 6 at 8:20
  • @RishirajShekhawat I've web pointed to master database.
    – Anonymous
    Feb 6 at 9:00

1 Answer 1

0

If you are trying to export static files with next export, it will not work. It's implicitly marked as a limitation in the docs.

2
  • Your answer could be improved with additional supporting information. Please edit to add further details, such as citations or documentation, so that others can confirm that your answer is correct. You can find more information on how to write good answers in the help center.
    – Community Bot
    Feb 6 at 21:32
  • I'm trying to access the URLs in connected mode.
    – Anonymous
    Feb 7 at 7:47

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.