Skip to content

Commit 53935dc

Browse files
author
LittleChest
committedMar 18, 2026
chore: i18n: Remove Chinese support
fix #34
1 parent 5d201b8 commit 53935dc

3 files changed

Lines changed: 1 addition & 637 deletions

File tree

 

‎i18n.ts‎

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,12 @@ import { initReactI18next } from "react-i18next";
44

55
import enUS from "src/i18n/en.json";
66
import frFR from "src/i18n/fr-FR.json";
7-
import zhCN from "src/i18n/zh-CN.json";
8-
import zhTW from "src/i18n/zh-TW.json";
97

108
i18n
119
.use(LanguageDetector)
1210
.use(initReactI18next)
1311
.init({
14-
fallbackLng: ["en-US", "zh-CN", "zh-TW", "fr-FR"],
12+
fallbackLng: ["en-US", "fr-FR"],
1513
debug: false,
1614
interpolation: {
1715
escapeValue: false,
@@ -23,12 +21,6 @@ i18n
2321
"fr-FR": {
2422
translation: frFR,
2523
},
26-
"zh-CN": {
27-
translation: zhCN,
28-
},
29-
"zh-TW": {
30-
translation: zhTW,
31-
},
3224
},
3325
});
3426

‎src/i18n/zh-CN.json‎

Lines changed: 0 additions & 314 deletions
This file was deleted.

‎src/i18n/zh-TW.json‎

Lines changed: 0 additions & 314 deletions
This file was deleted.

0 commit comments

Comments
 (0)
Please sign in to comment.