Skip to content

feat(i18n): add Traditional Chinese translations - #928

Merged
realcodesiman merged 4 commits into
ChatbotXIO:mainfrom
AlanSyue:feature/zh-tw-i18n
Aug 10, 2026
Merged

realcodesiman merged 4 commits into
ChatbotXIO:mainfrom
AlanSyue:feature/zh-tw-i18n

Conversation

@AlanSyue

@AlanSyue AlanSyue commented Aug 9, 2026 •

Copy link
Copy Markdown
Contributor

Summary

  • add a complete zh-TW message catalog with 2,820 localized strings
  • register Traditional Chinese in the builder locale configuration and message registry
  • resolve zh-Hant, zh-TW, zh-HK, and zh-MO variants to zh-TW, while keeping Simplified Chinese variants on the English fallback
  • add locale integrity and resolution coverage
  • include English/Traditional Chinese review tables for translation review
  • localize the user-menu language/theme labels and polish analytics-page terminology found during UI smoke testing

Why

This makes the builder available in Traditional Chinese and provides manually reviewed Taiwanese terminology for high-impact areas, especially Facebook and Instagram comment and story automations.

The UI smoke test also exposed two hardcoded English user-menu labels and several overly literal analytics translations. This follow-up removes those hardcoded labels and uses natural Taiwanese product terminology such as「真人客服」、「頻道」與「已指派」。

Review guide

  • docs/reviews/zh-TW-translation-review.csv contains the complete key-by-key English/Traditional Chinese comparison
  • docs/reviews/zh-TW-translation-review.md provides a Markdown review view
  • Facebook and Instagram comment automation namespaces were manually rewritten for natural Taiwanese terminology

UI smoke test

  • started Builder against an isolated temporary PostgreSQL database and Redis DB
  • switched the interface to「繁體中文」from the user menu
  • verified html[lang="zh-TW"], dir="ltr", translated navigation, analytics labels, localized dates, and the language/theme menu
  • cleaned up the temporary database, Redis data, MailHog, and local Builder process after testing

Builder Traditional Chinese UI smoke test

Validation

  • pnpm lint
  • pnpm --filter builder check-types
  • pnpm --filter builder exec vitest run __tests__/i18n-messages.test.ts -t 'zh-TW|locale resolution|registry' — 30 passed
  • git diff --check
  • catalog/review consistency — 2,820 English keys, 2,820 Traditional Chinese keys, and 2,820 matching CSV rows
  • Builder UI smoke test — passed in the in-app browser at 1280×720
  • project invariant audit — 0 violations

Known upstream baseline

The complete i18n catalog test still reports existing missing keys in several other locales. The zh-TW catalog and locale-resolution checks pass and do not introduce those baseline failures.

@realcodesiman

Copy link
Copy Markdown
Contributor

Hi @AlanSyue
Thanks so much for your contributing!
I notice that all your PRs are currently marked as drafts.
Was this intentional, or did you perhaps select the draft option by mistake?
If they’re ready, don’t hesitate to mark them as ready for review so we can review and merge them soon!

@AlanSyue

Copy link
Copy Markdown
Contributor Author

Thank you! I was just taking some time to review and double-check the PR content. It’s ready now, and I’d appreciate your help reviewing it.

@realcodesiman
realcodesiman merged commit ca293f5 into ChatbotXIO:main Aug 10, 2026
8 checks passed
viethung0o0 pushed a commit that referenced this pull request Sep 7, 2026
* feat(i18n): add Traditional Chinese translations

* fix(i18n): polish Traditional Chinese UI labels

* fix(i18n): sync traditional chinese catalog with main

This branch was previously deployed

1 inactive deployment
dev — 73f3652f Deployed Aug 10, 2026 by AlanSyue via Build mcp-server #2328
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

feature New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants