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

53 lines
1.7 KiB
JSON

{
"CONTENT_TEMPLATES": {
"MODAL": {
"TITLE": "Twilio 範本",
"SUBTITLE": "選擇您想要傳送的 Twilio 範本",
"TEMPLATE_SELECTED_SUBTITLE": "設定範本:{templateName}"
},
"PICKER": {
"SEARCH_PLACEHOLDER": "搜尋範本",
"NO_TEMPLATES_FOUND": "找不到對應的範本",
"NO_CONTENT": "無內容",
"HEADER": "標頭",
"BODY": "內文",
"FOOTER": "頁尾",
"BUTTONS": "按鈕",
"CATEGORY": "類別",
"MEDIA_CONTENT": "媒體內容",
"MEDIA_CONTENT_FALLBACK": "媒體內容",
"NO_TEMPLATES_AVAILABLE": "沒有可用的 Twilio 範本。點擊重新整理以從 Twilio 同步範本。",
"REFRESH_BUTTON": "重新整理範本",
"REFRESH_SUCCESS": "範本重新整理已啟動,可能需要幾分鐘才能完成更新。",
"REFRESH_ERROR": "重新整理範本失敗,請再試一次。",
"LABELS": {
"LANGUAGE": "語言",
"TEMPLATE_BODY": "範本內文",
"CATEGORY": "類別"
},
"TYPES": {
"MEDIA": "媒體",
"QUICK_REPLY": "快速回覆",
"CALL_TO_ACTION": "行動呼籲",
"TEXT": "文字"
}
},
"PARSER": {
"VARIABLES_LABEL": "變數",
"LANGUAGE": "語言",
"CATEGORY": "類別",
"VARIABLE_PLACEHOLDER": "請填寫 {variable} 的值",
"GO_BACK_LABEL": "返回",
"SEND_MESSAGE_LABEL": "傳送訊息",
"FORM_ERROR_MESSAGE": "傳送前請先填寫所有變數",
"MEDIA_HEADER_LABEL": "{type} 標頭",
"MEDIA_URL_LABEL": "輸入完整媒體 URL",
"MEDIA_URL_PLACEHOLDER": "https://example.com/image.jpg"
},
"FORM": {
"BACK_BUTTON": "返回",
"SEND_MESSAGE_BUTTON": "傳送訊息"
}
}
}