Skip to content

Commit 291b005

Browse files
authored
Merge pull request #3472 from ClickHouse/followup_pr_translations
Translations followup: all languages in locales
2 parents 1aeb09e + f31b5be commit 291b005

File tree

4 files changed

+39
-24
lines changed

4 files changed

+39
-24
lines changed

docusaurus.config.en.js

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -57,24 +57,29 @@ const config = {
5757
trailingSlash: false,
5858
i18n: {
5959
defaultLocale: "en",
60-
locales: ["ru", "en", "jp"],
60+
locales: ["ru", "en", "jp", "zh"],
6161
path: "i18n",
6262
localeConfigs: {
63-
ru: {
64-
label: "Russian",
65-
htmlLang: "ru",
66-
path: "ru",
67-
},
6863
en: {
6964
label: "English",
7065
htmlLang: "en",
7166
path: "en",
7267
},
68+
ru: {
69+
label: "Russian",
70+
htmlLang: "ru",
71+
path: "ru",
72+
},
7373
jp: {
7474
label: "Japanese",
7575
htmlLang: "jp",
7676
path: "jp",
7777
},
78+
zh: {
79+
label: "Chinese",
80+
htmlLang: "zh",
81+
path: "zh",
82+
},
7883
},
7984
},
8085
staticDirectories: ["static"],

docusaurus.config.jp.js

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -57,24 +57,29 @@ const config = {
5757
trailingSlash: false,
5858
i18n: {
5959
defaultLocale: "jp",
60-
locales: ["ru", "en", "jp"],
60+
locales: ["ru", "en", "jp", "zh"],
6161
path: "i18n",
6262
localeConfigs: {
63-
ru: {
64-
label: "Russian",
65-
htmlLang: "ru",
66-
path: "ru",
67-
},
6863
en: {
6964
label: "English",
7065
htmlLang: "en",
7166
path: "en",
7267
},
68+
ru: {
69+
label: "Russian",
70+
htmlLang: "ru",
71+
path: "ru",
72+
},
7373
jp: {
7474
label: "Japanese",
7575
htmlLang: "jp",
7676
path: "jp",
7777
},
78+
zh: {
79+
label: "Chinese",
80+
htmlLang: "zh",
81+
path: "zh",
82+
},
7883
},
7984
},
8085
staticDirectories: ["static"],

docusaurus.config.ru.js

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -57,24 +57,29 @@ const config = {
5757
trailingSlash: false,
5858
i18n: {
5959
defaultLocale: "ru",
60-
locales: ["ru", "en", "jp"],
60+
locales: ["ru", "en", "jp", "zh"],
6161
path: "i18n",
6262
localeConfigs: {
63+
en: {
64+
label: "English",
65+
htmlLang: "en",
66+
path: "en",
67+
},
6368
ru: {
6469
label: "Russian",
6570
htmlLang: "ru",
6671
path: "ru",
6772
},
68-
en: {
69-
label: "English",
70-
htmlLang: "en",
71-
path: "en",
72-
},
7373
jp: {
7474
label: "Japanese",
7575
htmlLang: "jp",
7676
path: "jp",
7777
},
78+
zh: {
79+
label: "Chinese",
80+
htmlLang: "zh",
81+
path: "zh",
82+
},
7883
},
7984
},
8085
staticDirectories: ["static"],

docusaurus.config.zh.js

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -57,19 +57,19 @@ const config = {
5757
trailingSlash: false,
5858
i18n: {
5959
defaultLocale: "zh",
60-
locales: ["zh", "en"],
60+
locales: ["zh", "en", "jp", "ru"],
6161
path: "i18n",
6262
localeConfigs: {
63+
en: {
64+
label: "English",
65+
htmlLang: "en",
66+
path: "en",
67+
},
6368
ru: {
6469
label: "Russian",
6570
htmlLang: "ru",
6671
path: "ru",
6772
},
68-
en: {
69-
label: "English",
70-
htmlLang: "en",
71-
path: "en",
72-
},
7373
jp: {
7474
label: "Japanese",
7575
htmlLang: "jp",

0 commit comments

Comments
 (0)