mirror of
https://github.com/siteboon/claudecodeui.git
synced 2026-06-12 17:12:06 +08:00
feat(i18n): add Traditional Chinese (zh-TW) locale (#773)
* feat(i18n): add Traditional Chinese (zh-TW) locale * fix(i18n): localize remaining English strings and fix README fence (zh-TW) * fix(i18n): track zh-TW tasks.json (was excluded by .gitignore) --------- Co-authored-by: Haile <118998054+blackmammoth@users.noreply.github.com>
This commit is contained in:
@@ -84,6 +84,15 @@ import itCodeEditor from './locales/it/codeEditor.json';
|
||||
// eslint-disable-next-line import-x/order
|
||||
import itTasks from './locales/it/tasks.json';
|
||||
|
||||
import zhTWCommon from './locales/zh-TW/common.json';
|
||||
import zhTWSettings from './locales/zh-TW/settings.json';
|
||||
import zhTWAuth from './locales/zh-TW/auth.json';
|
||||
import zhTWSidebar from './locales/zh-TW/sidebar.json';
|
||||
import zhTWChat from './locales/zh-TW/chat.json';
|
||||
import zhTWCodeEditor from './locales/zh-TW/codeEditor.json';
|
||||
// eslint-disable-next-line import-x/order
|
||||
import zhTWTasks from './locales/zh-TW/tasks.json';
|
||||
|
||||
// Import supported languages configuration
|
||||
import { languages } from './languages.js';
|
||||
|
||||
@@ -178,6 +187,15 @@ i18n
|
||||
codeEditor: itCodeEditor,
|
||||
tasks: itTasks,
|
||||
},
|
||||
'zh-TW': {
|
||||
common: zhTWCommon,
|
||||
settings: zhTWSettings,
|
||||
auth: zhTWAuth,
|
||||
sidebar: zhTWSidebar,
|
||||
chat: zhTWChat,
|
||||
codeEditor: zhTWCodeEditor,
|
||||
tasks: zhTWTasks,
|
||||
},
|
||||
},
|
||||
|
||||
// Default language
|
||||
|
||||
Reference in New Issue
Block a user