docs(multi lang support): work on getting multi lang support working

This commit is contained in:
2025-09-06 11:58:40 -05:00
parent 1508fb2fa7
commit 945048f43e
39 changed files with 259 additions and 93 deletions

View File

@@ -33,7 +33,30 @@ const config: Config = {
// may want to replace "en" with "zh-Hans".
i18n: {
defaultLocale: "en",
locales: ["en"],
locales: ["en", "es"],
// localeConfigs: {
// en: {
// label: "English",
// direction: "ltr",
// htmlLang: "en-US",
// calendar: "gregory",
// path: "en",
// },
// es: {
// label: "Español",
// direction: "ltr",
// htmlLang: "es-ES",
// calendar: "gregory",
// path: "es",
// },
// de: {
// label: "Deutsch",
// direction: "ltr",
// htmlLang: "de-DE",
// calendar: "gregory",
// path: "de",
// },
// },
},
presets: [
@@ -92,6 +115,10 @@ const config: Config = {
// label: "GitHub",
// position: "right",
// },
// {
// type: "localeDropdown",
// position: "right",
// },
],
},
footer: {