diff --git a/.dumirc.ts b/.dumirc.ts index 5d1ccaef2..d52ef25c5 100644 --- a/.dumirc.ts +++ b/.dumirc.ts @@ -34,6 +34,11 @@ export default defineConfig({ resolve: { docDirs: [`./docs/${lang}`], }, + locales: [ + { id: 'en-US', name: 'English' }, + { id: 'zh-CN', name: '中文' }, + { id: 'ja-JP', name: '日本語' }, + ], themeConfig: defineThemeConfig({ title: 'NocoBase', lang, diff --git a/package.json b/package.json index c7c34baba..a174c38b4 100644 --- a/package.json +++ b/package.json @@ -37,7 +37,7 @@ "sucrase": "^3.0.0", "@nocobase/client": "^0.21.0-alpha.6", "axios-mock-adapter": "1.22.0", - "dumi-theme-nocobase": "^0.2.28" + "dumi-theme-nocobase": "^0.2.29" }, "volta": { "node": "20.14.0",