Skip to content

Add Simplified Chinese localization (zh-Hans) - #107

Open
EricoEC wants to merge 6 commits into
rooootdev:mainfrom
EricoEC:localization/zh-Hans
Open

Add Simplified Chinese localization (zh-Hans)#107
EricoEC wants to merge 6 commits into
rooootdev:mainfrom
EricoEC:localization/zh-Hans

Conversation

@EricoEC

@EricoEC EricoEC commented Aug 16, 2026

Copy link
Copy Markdown

Summary

This PR adds Simplified Chinese (zh-Hans) localization support to Mond, allowing Chinese-speaking users to use the app in their native language.

Changes

  • Added String Catalog with complete Chinese translations
  • Updated all user-facing UI strings to use for proper i18n support
  • Translated all UI elements including:
    • Navigation titles
    • Button labels
    • Section headers and footers
    • Alerts and confirmations
    • Settings options
    • Toggle descriptions

Testing

  • Build verified successfully with Command line invocation:
    /Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild

Resolve Package Graph

Resolved source packages:
ZIPFoundation: https://github.com/weichsel/ZIPFoundation.git @ 0.9.20
PartyUI: https://github.com/jailbreakdotparty/PartyUI @ 1.2.0

ComputePackagePrebuildTargetDependencyGraph

Prepare packages

CreateBuildRequest

SendProjectDescription

CreateBuildOperation

ComputeTargetDependencyGraph
note: Building targets in dependency order
note: Target dependency graph (6 targets)
Target 'mond' in project 'mond'
➜ Explicit dependency on target 'ZIPFoundation' in project 'ZIPFoundation'
➜ Explicit dependency on target 'PartyUI' in project 'PartyUI'
Target 'PartyUI' in project 'PartyUI'
➜ Explicit dependency on target 'PartyUI' in project 'PartyUI'
Target 'PartyUI' in project 'PartyUI' (no dependencies)
Target 'ZIPFoundation' in project 'ZIPFoundation'
➜ Explicit dependency on target 'ZIPFoundation' in project 'ZIPFoundation'
➜ Explicit dependency on target 'ZIPFoundation_ZIPFoundation' in project 'ZIPFoundation'
Target 'ZIPFoundation' in project 'ZIPFoundation'
➜ Explicit dependency on target 'ZIPFoundation_ZIPFoundation' in project 'ZIPFoundation'
Target 'ZIPFoundation_ZIPFoundation' in project 'ZIPFoundation' (no dependencies)

GatherProvisioningInputs

CreateBuildDescription

ExecuteExternalTool /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -v -E -dM -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS26.4.sdk -x c -c /dev/null

ExecuteExternalTool /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -v -E -dM -arch arm64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS26.4.sdk -x c -c /dev/null

ExecuteExternalTool /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc --version

ExecuteExternalTool /Applications/Xcode.app/Contents/Developer/usr/bin/actool --print-asset-tag-combinations --output-format xml1 /Users/erico/mond/mond/other/Assets.xcassets /Users/erico/mond/mond/other/mond.icon

ExecuteExternalTool /Applications/Xcode.app/Contents/Developer/usr/bin/actool --version --output-format xml1

ExecuteExternalTool /Applications/Xcode.app/Contents/Developer/usr/bin/xcstringstool compile --dry-run --output-directory /Users/erico/mond/build/mond.build/Release-iphoneos/mond.build /Users/erico/mond/mond/zh-Hans.xcstrings

ExecuteExternalTool /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld -version_details

Build description signature: c311eda7cf38ed61f30431fbba9a9913
Build description path: /Users/erico/mond/build/XCBuildData/c311eda7cf38ed61f30431fbba9a9913.xcbuilddata
/Users/erico/mond/mond.xcodeproj: error: No profiles for 'com.roooot.mond' were found: Xcode couldn't find any iOS App Development provisioning profiles matching 'com.roooot.mond'. Automatic signing is disabled and unable to generate a profile. To enable automatic signing, pass -allowProvisioningUpdates to xcodebuild. (in target 'mond' from project 'mond')

  • Localization strings properly generated

Notes

  • This follows Apple's official String Catalog localization pattern
  • Default language remains English; Chinese users will see Chinese based on system language settings
  • No changes to app logic or core functionality

@rooootdev

Copy link
Copy Markdown
Owner

im not looking to localize mond until I finish the project. thank you for the submission though!

@EricoEC

EricoEC commented Aug 16, 2026

Copy link
Copy Markdown
Author

im not looking to localize mond until I finish the project. thank you for the submission though!

It doesn't matter. You can try it if you want to use it. I will also continue to promote updates (if any)🙂

@ISvet228

Copy link
Copy Markdown
Contributor

@EricoEC you can work on localizations with me if you want

@EricoEC

EricoEC commented Aug 16, 2026

Copy link
Copy Markdown
Author

@EricoEC you can work on localizations with me if you want

sure
👌

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.

3 participants