File tree Expand file tree Collapse file tree 1 file changed +20
-20
lines changed Expand file tree Collapse file tree 1 file changed +20
-20
lines changed Original file line number Diff line number Diff line change @@ -29,26 +29,26 @@ const config = {
2929 // Even if you don't use internationalization, you can use this field to set
3030 // useful metadata like html lang. For example, if your site is Chinese, you
3131 // may want to replace "en" with "zh-Hans".
32- // i18n: {
33- // defaultLocale: 'en-us',
34- // locales: ['en-us', 'ja-jp'],
35- // localeConfigs: {
36- // 'en-us': {
37- // label: 'English',
38- // direction: 'ltr',
39- // htmlLang: 'en-US',
40- // calendar: 'gregory',
41- // path: 'versioned_docs/en-us',
42- // },
43- // 'ja-jp': {
44- // label: '日本語',
45- // direction: 'ltr',
46- // htmlLang: 'ja-JP',
47- // calendar: 'gregory',
48- // path: 'versioned_docs/ja-jp',
49- // },
50- // },
51- // },
32+ i18n : {
33+ defaultLocale : 'en-us' ,
34+ locales : [ 'en-us' , 'ja-jp' ] ,
35+ localeConfigs : {
36+ 'en-us' : {
37+ label : 'English' ,
38+ direction : 'ltr' ,
39+ htmlLang : 'en-US' ,
40+ calendar : 'gregory' ,
41+ path : 'versioned_docs/en-us' ,
42+ } ,
43+ 'ja-jp' : {
44+ label : '日本語' ,
45+ direction : 'ltr' ,
46+ htmlLang : 'ja-JP' ,
47+ calendar : 'gregory' ,
48+ path : 'versioned_docs/ja-jp' ,
49+ } ,
50+ } ,
51+ } ,
5252
5353 presets : [
5454 [
You can’t perform that action at this time.
0 commit comments