Add Traditional Chinese(zhTW) locale

This commit is contained in:
Peter Dave Hello
2024-08-19 21:40:49 +08:00
parent bb82b9a9d3
commit 8bcf7bdade
2 changed files with 134 additions and 0 deletions

View File

@@ -6,6 +6,7 @@ import en from './en.json'; //English
import es from './es.json'; //Spanish
import jp from './jp.json'; //Japanese
import zh from './zh.json'; //Mandarin
import zhTW from './zh-TW.json'; //Traditional Chinese
i18n
.use(LanguageDetector)
@@ -24,6 +25,9 @@ i18n
zh: {
translation: zh,
},
"zh-TW": {
translation: zhTW,
},
},
fallbackLng: 'en',
detection: {