
2025/06/02
PremiumInternationalization
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.
import { i18n } from '@/lib/i18n';
import type { BaseLayoutProps } from 'fumadocs-ui/layouts/shared';
export function baseOptions(locale: string): BaseLayoutProps {
return {
i18n,
// different props based on `locale`
};
}Sign in to continue reading
This is premium content. Sign in to your account to access the full content.
Author
More Posts
Newsletter
Join the community
Subscribe to our newsletter for the latest news and updates


