Installation
Support multiple languages in your documentation
Fumadocs has built-in support for internationalized routing. You can define a list of supported languages and pass it to i18n utilities. Read the Next.js Docs to learn more about implementing I18n in Next.js.
Setup
- Put all supported languages in a file.
 
- Change your current source configurations.
 
- Create the middleware that redirects users when missing locale.
 
- Create a dynamic route, ensure all special files are nested under
/app/[lang]. 
Get Pages
To get the pages of a specific language, use the utilities exported from
source.ts.
Static Generation
Generate parameters for every language and page.
Last updated on