docs(multi lang support): work on getting multi lang support working
This commit is contained in:
@@ -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: {
|
||||
|
||||
Reference in New Issue
Block a user