diff --git a/website/docusaurus.config.ts b/website/docusaurus.config.ts index dc8d7d24..fb337909 100644 --- a/website/docusaurus.config.ts +++ b/website/docusaurus.config.ts @@ -80,6 +80,15 @@ const config: Config = { }, ] satisfies Redocusaurus.PresetEntry, ], + i18n: { + defaultLocale: 'en', + locales: ['en', 'de'], + localeConfigs: { + en: { + htmlLang: 'en-GB', + }, + }, + }, themeConfig: { navbar: { title: 'Redocusaurus', @@ -141,6 +150,10 @@ const config: Config = { }, ], }, + { + type: 'localeDropdown', + position: 'right', + }, { href: 'https://github.com/rohit-gohri/redocusaurus', position: 'right',