Skip to content

feat(localization): add Simplified Chinese support#17

Open
131122syy-cloud wants to merge 1 commit into
jkuri:mainfrom
131122syy-cloud:contrib/zh-hans-localization
Open

feat(localization): add Simplified Chinese support#17
131122syy-cloud wants to merge 1 commit into
jkuri:mainfrom
131122syy-cloud:contrib/zh-hans-localization

Conversation

@131122syy-cloud

Copy link
Copy Markdown

What

Adds Simplified Chinese (zh-Hans) localization for Reframed, including app metadata, permissions UI, toolbar/settings/export/editor labels, history descriptions, and common status/error strings.

Why

This makes Reframed usable for Simplified Chinese users and lets macOS select the Chinese UI automatically when the system language is set to Simplified Chinese.

How

  • Adds zh-Hans.lproj/Localizable.strings and zh-Hans.lproj/InfoPlist.strings
  • Registers zh-Hans in the Xcode project
  • Wraps dynamic SwiftUI labels with LocalizedStringKey where needed
  • Uses localized strings for code-generated capture/export/history/status messages

Testing

  • make format
  • git diff --check origin/main...HEAD
  • plutil -lint Reframed/zh-Hans.lproj/Localizable.strings Reframed/zh-Hans.lproj/InfoPlist.strings Reframed.xcodeproj/project.pbxproj
  • swiftc -frontend -parse on changed Swift files

make build could not be run locally because this machine only has Command Line Tools installed, not full Xcode.

@jkuri

jkuri commented Jun 1, 2026

Copy link
Copy Markdown
Owner

svaka čast!!

@131122syy-cloud

Copy link
Copy Markdown
Author

Thank you! Glad to contribute. Happy to adjust anything if needed.

@jkuri

jkuri commented Jun 1, 2026

Copy link
Copy Markdown
Owner

thanks for your support ♥️

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