Skip to content

fix(translations): correct zh-TW UI wording - #17744

Open
nrps9909 wants to merge 1 commit into
payloadcms:mainfrom
nrps9909:codex/fix-zhtw-ui-wording
Open

fix(translations): correct zh-TW UI wording#17744
nrps9909 wants to merge 1 commit into
payloadcms:mainfrom
nrps9909:codex/fix-zhtw-ui-wording

Conversation

@nrps9909

@nrps9909 nrps9909 commented Aug 11, 2026

Copy link
Copy Markdown

What?

Improves 23 existing Traditional Chinese (zh-TW) UI strings in the core translations package.

  • Replaces Simplified Chinese remnants in dashboard, search, layout, and save actions.
  • Corrects mistranslations such as Collection being rendered as 「收藏」 and widget documents as 「小文件」.
  • Aligns locale, version, discard, and ordering labels with the terminology already used elsewhere in the same locale.

Why?

The current zh-TW locale mixes Simplified Chinese wording with Traditional Chinese and includes several labels whose meanings do not match the English source. These strings are visible in common admin workflows and can be confusing for users in Taiwan.

How?

Only translation values in packages/translations/src/languages/zhTw.ts were changed. No keys or code paths were added, and all interpolation placeholders were preserved.

Verification

  • pnpm --filter @payloadcms/translations build
  • pnpm --filter @payloadcms/translations lint (0 errors)
  • pnpm exec prettier --check packages/translations/src/languages/zhTw.ts
  • pnpm exec vitest run --project unit packages/translations/src/utilities/deepMergeSimple.spec.ts packages/translations/src/utilities/languages.spec.ts (15 tests)
  • Translation parity check: 650/650 keys, with no missing, extra, or placeholder-mismatched entries
  • Targeted scan confirms the corrected Simplified Chinese remnants are no longer present

AI assistance disclosure: Codex was used to compare the existing zh-TW values with the English source, check terminology consistency and placeholder parity, run the listed validation, and help draft this description. I reviewed every changed value and the final diff.

@nrps9909
nrps9909 force-pushed the codex/fix-zhtw-ui-wording branch from ca4a5fe to 4eb48f9 Compare August 27, 2026 18:14
@nrps9909

Copy link
Copy Markdown
Author

Rebased this translation update onto current main (528977b62). The only conflict was the newly added fileFetchFailed key beside failedToSaveLayout; the resolved branch preserves that upstream entry and keeps the corrected Taiwan wording 無法儲存版面配置.

Validation on signed head 4eb48f981:

  • pnpm --filter @payloadcms/translations lint — 0 errors (13 existing warnings outside zhTw.ts)
  • pnpm --filter @payloadcms/translations build — declaration generation and all 59 SWC files pass
  • git diff --check — pass

GitHub now reports the PR mergeable rather than conflicting.

AI assistance disclosure: Codex was used to rebase the branch, inspect and resolve the one locale conflict, run the package validation, and draft this update. I verified the final diff, signed SHA, and live mergeability before posting.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

1 participant