Skip to content

Complete the Simplified Chinese (zh-Hans) localization - #1916

Open
AkiyamaKunka wants to merge 2 commits into
rxhanson:mainfrom
AkiyamaKunka:l10n/zh-hans
Open

AkiyamaKunka wants to merge 2 commits into
rxhanson:mainfrom
AkiyamaKunka:l10n/zh-hans

Conversation

@AkiyamaKunka

@AkiyamaKunka AkiyamaKunka commented Oct 15, 2026 •

Copy link
Copy Markdown

Fills in the 180 zh-Hans strings missing from Localizable.xcstrings and Main.xcstrings (the 2026 additions: eighths, ninths, twelfths and sixteenths, stacked windows, tiling, mouse-button shortcuts and the modernized settings UI), re-validates the 16 entries marked needs-review against their updated English source, and stops translating the app name "Spectacle", which had been rendered as the word for "magnifying glass".

Naming for the new grid positions follows the existing sixths (左上1/6, 中上1/6…): three-column grids use 左/中/右 with 上/中/下, four-column grids name the row (上排/中排/下排, 中上排/中下排) then the column (左/中左/中右/右), and the full-height vertical eighths are 竖向1/8(第 N 列).

Both catalogs are written in Xcode's own string-catalog layout, so the diff only adds or updates zh-Hans entries. Built with Xcode 27 on macOS 27.0.1.

Why a complete Simplified Chinese localization is worth having

  • The app was half translated. Before this PR, 175 of the 360 strings in Localizable.xcstrings (49%) had a zh-Hans value, and everything added in 2026 (the new grids, stacked windows, tiling, mouse-button shortcuts, the redesigned settings) showed up in English in the middle of a Chinese UI, which reads as unfinished. Across both catalogs it goes from 342 to 538 of 545 strings; the remaining 7 are symbol-only keys (½, ⅓, %, px) that need no translation.
  • It is a large audience. Greater China is Apple's third-largest segment: $64.4 billion of $416.2 billion in net sales in fiscal 2025 (15.5%), and Apple's 10-K notes that higher Mac sales partly offset the region's decline that year. Simplified Chinese is the system language for most of those Mac users, so this is the language they evaluate Rectangle in.
  • The demand is already visible in this repo. Community contributors sent zh-Hans updates in 2022, 2023 and 2024 (Update Chinese translation #1010, Update Simplified Chinese localization #1105, Update zh-Hans.lproj #1160, Update Simplified Chinese localization #1168, Update simplified chinese translation #1425), and each time the catalog drifted again as features landed. This PR brings it back to parity with the current release.
  • It feeds Rectangle Pro. A fully localized free Rectangle is the entry point for these users: they learn the shortcuts in their own language and are the ones who later consider Pro for layouts and iCloud sync. More Chinese-speaking Rectangle users means more Pro customers.

I'm a native Simplified Chinese speaker; the terminology follows Apple's own macOS Chinese UI (显示器, 快捷键, 调度中心, 台前调度, 桌面与程序坞). Happy to adjust any term.

🤖 Generated with Claude Code

Fill in the 180 zh-Hans strings that were missing from Localizable.xcstrings
and Main.xcstrings (the 2026 additions: eighths/ninths/twelfths/sixteenths,
stacked windows, tiling, mouse button shortcuts, the modernized settings UI),
re-validate the 16 entries marked needs_review against their updated English
source, and stop translating the app name "Spectacle" (it was rendered as the
word for "magnifying glass").

Grid positions follow the scheme already used for sixths: three-column grids
use 左/中/右 + 上/中/下, four-column grids use the row (上排/中排/下排,
中上排/中下排) followed by the column (左/中左/中右/右), and the full-height
vertical eighths are 竖向1/8(第 N 列).

Both catalogs are written in Xcode's own string-catalog layout, so the diff
only adds and updates zh-Hans entries.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
@rxhanson

Copy link
Copy Markdown
Owner

Thanks!

If you don't mind, there's one more that was just added:

image

The option added in rxhanson#1901 is a Swift literal that the catalog had not
picked up yet, so the Snap Areas tab showed it in English (as noted in
the review). Adds the key with its Simplified Chinese value.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
@AkiyamaKunka

Copy link
Copy Markdown
Author

Added in 962ddad: 「到达屏幕边缘前即吸附」. That toggle's literal hadn't been extracted into the catalog yet, so I added the key by hand; Xcode will pick it up as usual on the next build. Thanks for the quick look!

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