Skip to content

Improve Traditional Chinese translations - #3175

Merged
knadh merged 1 commit into
knadh:masterfrom
dlackty:improve-zh-tw-translations
Aug 5, 2026
Merged

Improve Traditional Chinese translations#3175
knadh merged 1 commit into
knadh:masterfrom
dlackty:improve-zh-tw-translations

Conversation

@dlackty

@dlackty dlackty commented Aug 5, 2026

Copy link
Copy Markdown
Contributor

What changed

  • Improve and modernize Traditional Chinese (zh-TW) translations.
  • Use terminology more commonly used in Taiwan (TW):
    • Campaign → 行銷活動
    • Template → 版型
    • Header → 標頭
    • Blocklist → 封鎖名單
    • Account → 帳號
    • Connection → 連線
  • Fix inaccurate, outdated, and incomplete translations.
  • Restore the missing {error} placeholder in campaigns.invalidCustomHeaders.
  • Keep Chinese singular and plural labels identical without unnecessary | separators.

Why

The existing zh-TW translation had complete key coverage, but some entries:

  • used inconsistent terminology;
  • contained wording uncommon in Taiwan;
  • had drifted from the current English source;
  • omitted important details or interpolation placeholders.

The missing {error} placeholder also prevented the underlying custom-header validation error from being displayed.

Validation

  • Confirmed all 713 English translation keys are present.
  • Confirmed there are no extra or empty translations.
  • Confirmed interpolation placeholders match the English source.
  • Validated the JSON syntax.
  • Ran go test ./internal/i18n.
  • Ran git diff --check.

@knadh
knadh merged commit 0808fe5 into knadh:master Aug 5, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants