Files
2026-08-25 10:38:22 +03:00

14 lines
361 B
TypeScript

import { defineI18n } from "fumadocs-core/i18n";
import { defineI18nUI } from "fumadocs-ui/i18n";
import { translations } from "@/geistdocs";
export const i18n = defineI18n({
defaultLanguage: "en",
languages: Object.keys(translations),
hideLocale: "default-locale",
});
export const { provider: i18nProvider } = defineI18nUI(i18n, {
translations,
});