Internationalization
Support multiple languages in your documentation
Before you get started
Fumadocs is not a full-powered i18n library, it manages only its own components and utilities.
You can use other libraries like next-intl for the rest of your app. Read the Next.js Docs to learn more about implementing I18n in Next.js.
Manual Setup
Define the i18n configurations in a file, we will import it with @/ilb/i18n in this guide.
Pass it to the source loader.
import { i18n } from '@/lib/i18n';
import { loader } from 'fumadocs-core/source';
export const source = loader({
i18n,
// other options
});And update Fumadocs UI layout options.
MkSaaS Docs