Repository navigation
Complete the Simplified Chinese (zh-Hans) localization - #1916
Open
AkiyamaKunka wants to merge 2 commits into
Open
AkiyamaKunka wants to merge 2 commits into
AkiyamaKunka wants to merge 2 commits into
Conversation
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>
Owner
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>
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! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Fills in the 180 zh-Hans strings missing from
Localizable.xcstringsandMain.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
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.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