iachat/app/javascript/dashboard/i18n/locale/zh_TW/components.json
YJack0000 45124c3b41
fix(i18n): improve zh-TW translation coverage and quality (#14004)
Comprehensive update to Traditional Chinese (Taiwan) translations. As a
native zh-TW speaker and active user based in Taiwan, I found the
existing translations were quite incomplete (~54% overall) with many
strings still in English. Some existing translations also used
Simplified Chinese terms or unnatural phrasing.

I chose to submit this as a direct PR rather than going through Crowdin
because working through all the files at once is much faster and lets me
ensure consistent terminology across the entire locale.

Closes #14003

## What changed

**Backend (`config/locales/zh_TW.yml`)**
- Translated all ~259 previously untranslated strings (was ~19%
complete, now 100%)
- Covers: error messages, notifications, activity logs, integration
descriptions, Captain AI, public portal, reports

**Frontend (42 JSON files under `dashboard/i18n/locale/zh_TW/`)**
- Translated ~2,627 previously untranslated strings (was ~50% complete,
now ~100%)
- Most impacted files: `inboxMgmt.json`, `integrations.json`,
`settings.json`, `conversation.json`, `contact.json`, `report.json`

**Quality fixes across all files**
- Replaced Simplified Chinese terms mixed into zh-TW: 账→帳, 获→取得, 模板→範本,
收件箱→收件匣, 重置→重設, 自定義→自訂
- Standardized terminology for consistency: 客服人員 (agent), 延後 (snooze),
稽核 (audit), 巨集 (macro)
- Fixed incorrect translations (e.g., audit log table headers were
swapped, availability label was wrong)

## How to test

1. Set account/user language to 中文(台灣)
2. Navigate through the dashboard — settings, inbox management,
integrations, reports, conversations
3. Verify strings display in natural Traditional Chinese with no
remaining English gaps
4. Check that all placeholders (names, counts, dates) render correctly
2026-04-08 13:42:20 +05:30

57 lines
1.5 KiB
JSON

{
"PAGINATION_FOOTER": {
"SHOWING": "顯示第 {startItem} - {endItem} 項,共 {totalItems} 項 | 顯示第 {startItem} - {endItem} 項,共 {totalItems} 項",
"CURRENT_PAGE_INFO": "第 {currentPage} / {totalPages} 頁 | 第 {currentPage} / {totalPages} 頁"
},
"COMBOBOX": {
"PLACEHOLDER": "請選擇一個選項...",
"EMPTY_SEARCH_RESULTS": "找不到與搜尋詞「{searchTerm}」相符的項目",
"EMPTY_STATE": "查無結果。",
"SEARCH_PLACEHOLDER": "搜尋...",
"MORE": "還有 {count} 個"
},
"DROPDOWN_MENU": {
"SEARCH_PLACEHOLDER": "搜尋...",
"EMPTY_STATE": "查無結果。",
"SEARCHING": "搜尋中..."
},
"DIALOG": {
"BUTTONS": {
"CANCEL": "取消",
"CONFIRM": "確認"
}
},
"PHONE_INPUT": {
"SEARCH_PLACEHOLDER": "搜尋國家/地區",
"ERROR": "電話號碼應為空或符合 E.164 格式",
"DIAL_CODE_ERROR": "請從列表中選擇國碼"
},
"THUMBNAIL": {
"AUTHOR": {
"NOT_AVAILABLE": "作者不可用"
}
},
"BREADCRUMB": {
"ARIA_LABEL": "麵包屑導覽"
},
"SWITCH": {
"TOGGLE": "切換開關"
},
"LABEL": {
"TAG_BUTTON": "標籤"
},
"FEATURE_SPOTLIGHT": {
"LEARN_MORE": "瞭解更多",
"WATCH_VIDEO": "觀看影片"
},
"DURATION_INPUT": {
"MINUTES": "分鐘",
"HOURS": "小時",
"DAYS": "天",
"PLACEHOLDER": "輸入時間長度"
},
"CHANNEL_SELECTOR": {
"COMING_SOON": "即將推出!"
}
}