Next.js Discord

Discord Forum

Why is `i18n` disabled in `output: 'export'`?

Unanswered
Saltwater Crocodile posted this in #help-forum
Open in Discord
Saltwater CrocodileOP
I want to build an app on Azure Static Sites. This reqires static export. I also want to localize my website with the i18n feature. Unfortunately there is a restriction that disables this.

I am struggling to understand why this restriction is in place. According to this [StackOverFlow](https://stackoverflow.com/questions/77921083/how-can-ssgi18ndynamic-routes-be-managed-in-nextjs-14-strictly-using-the-pag) thread. The functionality works just fine. Why can't this just be a warning in that case? Why does it need a work around?

0 Replies