Skip to content
This repository was archived by the owner on Jan 2, 2025. It is now read-only.

Commit f4a4a12

Browse files
Add zh-TW Traditional Chinese locale for client (#1282)
1 parent 1c110d1 commit f4a4a12

5 files changed

Lines changed: 552 additions & 2 deletions

File tree

client/src/consts/general.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ export const localesMap: Record<LocaleType, { name: string; icon: string }> = {
1313
zhCN: { name: '简体中文', icon: '🇨🇳' },
1414
es: { name: 'Español', icon: '🇪🇸' },
1515
it: { name: 'Italiano', icon: '🇮🇹' },
16+
zhTW: { name: '繁體中文', icon: '🇹🇼' },
1617
};
1718

1819
export const repoStatusMap = {

client/src/i18n.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ import ja from './locales/ja.json';
66
import zhCN from './locales/zh-CN.json';
77
import es from './locales/es.json';
88
import it from './locales/it.json';
9+
import zhTW from './locales/zh-TW.json';
910
import { getPlainFromStorage, LANGUAGE_KEY } from './services/storage';
1011

1112
// the translations
@@ -27,6 +28,9 @@ const resources = {
2728
it: {
2829
translation: it,
2930
},
31+
zhTW: {
32+
translation: zhTW,
33+
},
3034
};
3135

3236
i18n

0 commit comments

Comments
 (0)