mirror of
https://github.com/vercel/next.js.git
synced 2026-09-20 02:25:18 +08:00
72f5429fe0
Closes: https://linear.app/vercel/issue/DOC-4682/guide-internationalization-i18n Redirects: https://github.com/vercel/front/pull/45963
19 lines
674 B
Plaintext
19 lines
674 B
Plaintext
---
|
|
title: Export Internationalization (i18n)
|
|
---
|
|
|
|
## Why This Error Occurred
|
|
|
|
In your `next.config.js` you defined `i18n`, along with `output: 'export'` (or you ran `next export`).
|
|
|
|
## Possible Ways to Fix It
|
|
|
|
- Remove `i18n` from your `next.config.js` to disable Internationalization or
|
|
- Remove `output: 'export'` (or `next export`) in favor of [`next start`](/docs/pages/api-reference/cli/next#next-start-options) to run a production server
|
|
|
|
## Useful Links
|
|
|
|
- [Deployment Documentation](/docs/pages/getting-started/deploying)
|
|
- [`output: 'export'` Documentation](/docs/pages/guides/static-exports)
|
|
- [Internationalized Routing](/docs/pages/guides/internationalization)
|