Skip to content

Commit 06027cb

Browse files
committed
SeaORM 中文
1 parent 32a202e commit 06027cb

96 files changed

Lines changed: 11044 additions & 1 deletion

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

SeaORM/docusaurus.config.js

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,14 @@ module.exports = {
2828
organizationName: 'SeaQL',
2929
projectName: 'sea-orm',
3030
trailingSlash: true,
31+
i18n: {
32+
defaultLocale: 'en',
33+
locales: ['en', 'zh-CN'],
34+
localeConfigs: {
35+
en: { label: 'English' },
36+
'zh-CN': { label: '中文' },
37+
},
38+
},
3139
themeConfig: {
3240
colorMode: {
3341
respectPrefersColorScheme: true,
@@ -70,6 +78,10 @@ module.exports = {
7078
position: 'right',
7179
dropdownActiveClassDisabled: true,
7280
},
81+
{
82+
type: 'localeDropdown',
83+
position: 'right',
84+
},
7385
],
7486
},
7587
footer: {

0 commit comments

Comments
 (0)