Skip to content

Complete the Traditional Chinese (zh-Hant) localization - #1946

Merged
rxhanson merged 2 commits into
rxhanson:mainfrom
AkiyamaKunka:l10n/zh-hant
Nov 3, 2026
Merged

rxhanson merged 2 commits into
rxhanson:mainfrom
AkiyamaKunka:l10n/zh-hant

Conversation

@AkiyamaKunka

Copy link
Copy Markdown
Contributor

Follows up on #1929, where I said Traditional Chinese would come next. On main it covered 191 of the 373 strings in Localizable.xcstrings; after this it covers all of them.

What changes

  • The 182 strings that had no Traditional Chinese value get one, and the 13 that were marked as needing review are settled (kept where they were right, adjusted where they were not).
  • The ⓘ symbol entry gets the same value the Simplified catalog already carries.
  • 19 strings that already had a value are normalized so the set reads as one: the thirds use the same full-width digits and slash as every other fraction (左側1/3), 右首1/3 becomes 右側1/3 and 中央1/3 becomes 中間1/3 like their siblings, the Left half is 左半 next to 右半, the Settings window and menu item use 設定 (偏好設定 stays for the old Preferences… key), Open System Settings uses Apple's 打開, Restore Default Shortcuts & Snap Areas no longer drops the snap areas, Check for Updates… uses Apple's 更新項目, the Sides header matches 半螢幕動作, the General tab becomes 一般 instead of colliding with 設定, and four explanatory sentences get their missing sentence-final 。.
  • A separate commit adds the one Simplified Chinese string that was still missing, the Snap Areas toggle from Add a Snap Areas setting for restoring windows resized with Larger or Smaller #1940, so zh-Hans is at 373 of 373 again.

How the strings were produced

  • Terminology follows Apple's Traditional Chinese (Taiwan) UI and the strings already in the app: 視窗, 顯示器, 快速鍵, 選單, 貼齊, 復原, 放到最大, 待辦模式, 應用程式.
  • Action names mirror the structure of the Simplified set, which users of both scripts tend to compare: halves 左半/右半, corners 左上/右下, and the eighth, ninth, twelfth and sixteenth names use the same row and column scheme (上排/下排, 左/中左/中右/右). Fractions keep the full-width digits the existing sixths use (1/6).
  • Every value was checked for identical format specifiers, newlines and edge whitespace against the English source, for the ⋯ ellipsis, and for stray Simplified-only characters. Each batch had a second reviewer, and a final pass checked terminology across all of them.
  • The catalog is written back in Xcode's own formatting (an unchanged file round-trips byte for byte), so the diff is only the added and changed zh-Hant entries.

Testing

The project builds and the full RectangleTests suite passes: 654 tests, 0 failures, on macOS 27.0.1 / Xcode 27. A new test next to the existing Simplified one checks that the four Settings-only labels (Extra, Ninths (3x3), Twelfths (3x4), Sixteenths (4x4)) have Traditional Chinese values, since those used to be plain literals.

No code changes.

AkiyamaKunka and others added 2 commits October 29, 2026 01:27
The Snap Areas toggle added in rxhanson#1940 was still shown in English for
Simplified Chinese users.

Co-Authored-By: Claude Fable 5.1 <[email protected]>
Traditional Chinese covered 191 of the 373 strings. This adds the
missing 182, settles the 13 that were marked as needing review, adds the
ⓘ symbol entry the Simplified catalog already had, and normalizes 19
existing strings for consistency (full-width fraction digits, 半螢幕,
設定, 打開, missing sentence-final 。).
Terminology follows Apple's zh-Hant conventions and the strings already in
the app (視窗, 顯示器, 快速鍵, 選單, 貼齊, 復原, 放到最大), fractions keep the
existing full-width digits, and the action names mirror the structure of
the Simplified set.

Co-Authored-By: Claude Fable 5.1 <[email protected]>
@rxhanson
rxhanson merged commit 6797773 into rxhanson:main Nov 3, 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