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

48 lines
1.8 KiB
JSON
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

{
"WHATSAPP_TEMPLATES": {
"MODAL": {
"TITLE": "WhatsApp 範本",
"SUBTITLE": "請選擇要發送的 WhatsApp 範本",
"TEMPLATE_SELECTED_SUBTITLE": "設定範本:{templateName}"
},
"PICKER": {
"SEARCH_PLACEHOLDER": "搜尋範本",
"NO_TEMPLATES_FOUND": "找不到相符的範本",
"HEADER": "標題",
"BODY": "內文",
"FOOTER": "頁尾",
"BUTTONS": "按鈕",
"CATEGORY": "類別",
"MEDIA_CONTENT": "媒體內容",
"MEDIA_CONTENT_FALLBACK": "媒體內容",
"NO_TEMPLATES_AVAILABLE": "沒有可用的 WhatsApp 範本。點選重新整理以從 WhatsApp 同步範本。",
"REFRESH_BUTTON": "重新整理範本",
"REFRESH_SUCCESS": "已開始重新整理範本,可能需要幾分鐘才能完成更新。",
"REFRESH_ERROR": "重新整理範本失敗,請重試。",
"LABELS": {
"LANGUAGE": "語言",
"TEMPLATE_BODY": "範本內文",
"CATEGORY": "類別"
}
},
"PARSER": {
"VARIABLES_LABEL": "變數",
"LANGUAGE": "語言",
"CATEGORY": "類別",
"VARIABLE_PLACEHOLDER": "輸入 {variable} 的值",
"GO_BACK_LABEL": "返回",
"SEND_MESSAGE_LABEL": "傳送訊息",
"FORM_ERROR_MESSAGE": "傳送前請填寫所有變數",
"MEDIA_HEADER_LABEL": "{type} 標題",
"OTP_CODE": "輸入 4 至 8 位數的一次性密碼",
"EXPIRY_MINUTES": "輸入到期分鐘數",
"BUTTON_PARAMETERS": "按鈕參數",
"BUTTON_LABEL": "按鈕 {index}",
"COUPON_CODE": "輸入優惠碼(最多 15 個字元)",
"MEDIA_URL_LABEL": "輸入 {type} URL",
"DOCUMENT_NAME_PLACEHOLDER": "輸入文件檔名(例如 Invoice_2025.pdf",
"BUTTON_PARAMETER": "輸入按鈕參數"
}
}
}