Skip to content

feat(i18n): change wording for zh-TW - #1424

Open
yrctw wants to merge 4 commits into
openng-org:mainfrom
yrctw:main
Open

feat(i18n): change wording for zh-TW#1424
yrctw wants to merge 4 commits into
openng-org:mainfrom
yrctw:main

Conversation

@yrctw

@yrctw yrctw commented Aug 2, 2026

Copy link
Copy Markdown

Description

Modified to be a common expression used by local Taiwanese people.

@vercel

vercel Bot commented Aug 2, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

1 Skipped Deployment
Project Deployment Actions Updated (UTC)
optimus-ui Skipped Skipped Aug 7, 2026 2:19pm

Request Review

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates the Traditional Chinese (Taiwan) locale strings to use more common local wording, improving the UI’s tone and terminology consistency for zh-TW users.

Changes:

  • Refined multiple general UI action/label translations (e.g., accept/apply/filter, empty-state messages).
  • Adjusted date/time and navigation-related wording (e.g., next/prev year, selection message).
  • Updated several ARIA/accessibility labels to align with revised terminology (e.g., “過濾”, “列”, “檢視”).
Suppressed comments (1)

packages/optimus-ui-locale/src/zh-TW.json:128

  • startsWith is the string-match operator label (“Starts with”). The new translation “開始於” reads like “starts at (a time/place)” and can be misleading for text matching. Consider wording that explicitly means “starts with”, consistent with the operator semantics.
    "startsWith": "開始於",

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

"emptyMessage": "沒有可用項目",
"emptySearchMessage": "沒有相關搜尋結果",
"emptySelectionMessage": "沒有選取的項目",
"endsWith": "結束於",

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

resolved at commit 30e3034

endsWith is the string-match operator label (“Ends with”). The new translation “結束於” reads like “ends at (a time/place)” and can be misleading for text matching. Consider wording that explicitly means “ends with”, consistent with the operator semantics.

This issue also appears on line 128 of the same file.
@vercel

vercel Bot commented Aug 4, 2026

Copy link
Copy Markdown

@yrctw is attempting to deploy a commit to the Gerome Grignon Team on Vercel.

A member of the Team first needs to authorize it.

@geromegrignon

geromegrignon commented Aug 4, 2026

Copy link
Copy Markdown
Contributor

This PR will need to be reviewed by a native Taiwanese speaker because Claude alone provided me with feedback about inconsistent terms compared to the other languages than i can review myself.

Concerns worth raising on the PR

  1. nextYear / prevYear → 明年 / 去年 — I'd call this a regression.

datepicker.ts:1288 uses nextYear as the aria label for the forward-navigation button when the picker is in month view. It means "advance the displayed year," not "the year after today." 明年/去年 are anchored to the real current year, so a user browsing 1985 hears "next year / last year." The old 下一年/上一年 was correct. Ask for a revert on these two.

  1. accept / reject → 接受 / 拒絕 — visible behavior change, not just wording.

These aren't aria labels; they're the default button labels in ConfirmDialog and ConfirmPopup. The English source is "Yes" / "No", and 是/否 mirrored that. 接受/拒絕 changes what every existing zh-TW confirm dialog renders, and reads oddly for a "Are you sure you want to delete?" prompt. aria.trueLabel/falseLabel are still 是/否, so the file is now internally inconsistent on the same two words. I'd push back or split this out.

  1. 篩選 → 過濾 — the most contentious change, and the largest (10 keys).

For data-grid filtering, 篩選 is the established Taiwan convention (it's what Microsoft Office and Apple ship in zh-TW). 過濾 is understood but leans toward "filter out" and is more common in mainland-influenced technical writing — which is ironic given the PR's stated goal. The author applied it consistently, so it's not sloppy, but this one really needs a second native zh-TW reviewer before merge.

  1. Minor drift from the English source

cancelEdit / saveEdit ("Cancel Edit" / "Save Edit") became 取消變更 / 儲存變更 ("cancel/save changes"). Fine in isolation, but it's re-scoping the string rather than translating it. And emptyFilterMessage → 沒有符合過濾條件的結果 is 10 characters, noticeably longer than the old 6 — could wrap in narrow dropdowns.

- accroding to datePicker, nextYear / prevYear,上一年/下一年 is better wording than 去年/明年
- accept / reject revert back to yes (是) / no (否) meaning
- I came up with the Thunderbird Mail app, the filter function is named 篩選 rather than 過濾, so I reverted it back
- emptyFilterMessage and emptySearchMessage can be narrow to the same "沒有符合的結果" but it will lost the difference of filter and search
@yrctw

yrctw commented Aug 4, 2026

Copy link
Copy Markdown
Author
  • accroding to datePicker, nextYear / prevYear,上一年/下一年 is better wording than 去年/明年
  • accept / reject revert back to yes (是) / no (否) meaning
  • I came up with the Thunderbird Mail app, the filter function is named 篩選 rather than 過濾, so I reverted it back
  • emptyFilterMessage and emptySearchMessage can be narrow to the same "沒有符合的結果" but it will lost the difference of filter and search

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.

3 participants