iachat/app/javascript/dashboard/i18n/locale/zh_TW/customRole.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

95 lines
3.7 KiB
JSON

{
"CUSTOM_ROLE": {
"HEADER": "自訂角色",
"LEARN_MORE": "瞭解更多關於自訂角色",
"DESCRIPTION": "自訂角色是由帳戶擁有者或管理員建立的角色。這些角色可以指派給客服,以定義他們在帳戶中的存取權限。自訂角色可以根據組織的需求,建立具有特定權限和存取層級的角色。",
"COUNT": "{n} 個自訂角色 | {n} 個自訂角色",
"HEADER_BTN_TXT": "新增自訂角色",
"LOADING": "正在取得自訂角色...",
"SEARCH_PLACEHOLDER": "搜尋自訂角色...",
"NO_RESULTS": "找不到符合搜尋條件的自訂角色",
"SEARCH_404": "沒有任何項目符合此查詢。",
"PAYWALL": {
"TITLE": "升級以建立自訂角色",
"AVAILABLE_ON": "自訂角色功能僅在 Business 和 Enterprise 方案中提供。",
"UPGRADE_PROMPT": "升級您的方案以存取進階功能,例如團隊管理、自動化、自訂屬性等。",
"UPGRADE_NOW": "立即升級",
"CANCEL_ANYTIME": "您可以隨時變更或取消方案"
},
"ENTERPRISE_PAYWALL": {
"AVAILABLE_ON": "自訂角色功能僅在付費方案中提供。",
"UPGRADE_PROMPT": "升級至付費方案以存取進階功能,例如稽核日誌、客服容量等。",
"ASK_ADMIN": "請聯繫您的管理員進行升級。"
},
"LIST": {
"404": "此帳戶中沒有可用的自訂角色。",
"TITLE": "管理自訂角色",
"DESC": "自訂角色是由帳戶擁有者或管理員建立的角色。這些角色可以指派給客服,以定義他們在帳戶中的存取權限。自訂角色可以根據組織的需求,建立具有特定權限和存取層級的角色。",
"TABLE_HEADER": {
"NAME": "名稱",
"DESCRIPTION": "描述",
"PERMISSIONS": "權限",
"ACTIONS": "操作"
}
},
"PERMISSIONS": {
"CONVERSATION_MANAGE": "管理所有對話",
"CONVERSATION_UNASSIGNED_MANAGE": "管理未指派的對話及指派給自己的對話",
"CONVERSATION_PARTICIPATING_MANAGE": "管理參與中的對話及指派給自己的對話",
"CONTACT_MANAGE": "管理聯絡人",
"REPORT_MANAGE": "管理報表",
"KNOWLEDGE_BASE_MANAGE": "管理知識庫"
},
"FORM": {
"NAME": {
"LABEL": "名稱",
"PLACEHOLDER": "請輸入名稱。",
"ERROR": "名稱為必填。"
},
"DESCRIPTION": {
"LABEL": "描述",
"PLACEHOLDER": "請輸入描述。",
"ERROR": "描述為必填。"
},
"PERMISSIONS": {
"LABEL": "權限",
"ERROR": "權限為必填。"
},
"CANCEL_BUTTON_TEXT": "取消",
"API": {
"ERROR_MESSAGE": "無法連接伺服器,請再試一次。"
}
},
"ADD": {
"TITLE": "新增自訂角色",
"DESC": "自訂角色可讓您建立具有特定權限和存取層級的角色,以符合組織的需求。",
"SUBMIT": "送出",
"API": {
"SUCCESS_MESSAGE": "自訂角色新增成功。"
}
},
"EDIT": {
"BUTTON_TEXT": "編輯",
"TITLE": "編輯自訂角色",
"DESC": "自訂角色可讓您建立具有特定權限和存取層級的角色,以符合組織的需求。",
"SUBMIT": "更新",
"API": {
"SUCCESS_MESSAGE": "自訂角色更新成功。"
}
},
"DELETE": {
"BUTTON_TEXT": "刪除",
"API": {
"SUCCESS_MESSAGE": "自訂角色刪除成功。",
"ERROR_MESSAGE": "無法連接伺服器,請再試一次。"
},
"CONFIRM": {
"TITLE": "刪除確認",
"MESSAGE": "您確定要刪除嗎?",
"YES": "是,刪除",
"NO": "不,保留"
}
}
}
}