Files

i18n.ts

Configurations for Fumadocs i18n

What is This?

This file contains shared configurations for i18n.

lib/i18n.ts
import type { I18nConfig } from 'fumadocs-core/i18n';
 
export const i18n: I18nConfig = {
  defaultLanguage: 'en',
  languages: ['en', 'cn'],
};

See Internationalization for details.

Edit on GitHub

Last updated on

On this page