feat: add Traditional Chinese zh-TW (#169)

* feat: add zh-TW

* fix: zh-TW 用語修正
This commit is contained in:
Yuan Chiu authored and GitHub committed 2025-12-31 19:25:28 +08:00
1 parent 51bf3be378
commit 3b5cc68d4a
2 files changed
+39

No files matched your search

+2
View File
@@ -3,6 +3,7 @@ import { initReactI18next } from 'react-i18next';
import LanguageDetector from 'i18next-browser-languagedetector';
import en from '../locales/en/common.json';
import zhCN from '../locales/zh-CN/common.json';
import zhTW from '../locales/zh-TW/common.json';
i18n
.use(LanguageDetector)
@@ -12,6 +13,7 @@ i18n
en: { common: en },
'zh-CN': { common: zhCN },
zh: { common: zhCN },
'zh-TW': { common: zhTW },
},
fallbackLng: 'en',
interpolation: {