Skip to content

Add Traditional Chinese localization for macOS - #94

Open
MaxTheHaters wants to merge 1 commit into
mobrava:mainfrom
MaxTheHaters:localization/traditional-chinese-macos
Open

MaxTheHaters wants to merge 1 commit into
mobrava:mainfrom
MaxTheHaters:localization/traditional-chinese-macos

Conversation

@MaxTheHaters

Copy link
Copy Markdown

Description

Add Traditional Chinese (zh-Hant) using Taiwan macOS terminology. With Traditional Chinese (Taiwan) as the preferred macOS language, Clipbara can display labels such as 「剪貼簿」, 「貼上」, and 「設定」.

Closes #93.

+ 267 Traditional Chinese translations in the macOS string catalog
+ zh-Hant declared for the direct-download and Mac App Store builds

Type of Change

  • New feature (non-breaking change that adds functionality)

How to Test

  1. Run xcodegen generate and build the Clipbara and ClipbaraMAS schemes.
  2. Set the preferred macOS language to Traditional Chinese (Taiwan), then launch Clipbara.
  3. Open Settings and check the sidebar and General pane for labels such as 「一般」, 「貼上」, and 「快速鍵」.

Evidence

  • Before, the macOS catalog and both build configurations had no zh-Hant localization.
  • Both Release builds succeeded with signing disabled. A bundle check confirmed that zh-Hant-TW selects zh-Hant in both products and verified five representative strings in each. All 267 translations preserve their source format arguments.
  • The earlier preview based on v1.5.3 was launched on a Mac, and the Settings sidebar and General pane displayed Traditional Chinese.

Checklist

  • I have tested this change on macOS 15+
  • The project builds without warnings (xcodegen generate && xcodebuild)
  • I have followed the existing code style and conventions

The builds emitted a Swift capture warning in the unchanged PanelController.swift.

Merge Risk

Reversible. The change is limited to macOS localization resources and declarations.

This branch has not been deployed

No deployments
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.

[Feature]: Add Traditional Chinese (Taiwan) to the macOS app

1 participant