Skip to content

feat(app): add Simplified Chinese localization - #289

Open
Chendeqisky wants to merge 2 commits into
youssofal:mainfrom
Chendeqisky:feature/zh-hans-localization
Open

feat(app): add Simplified Chinese localization#289
Chendeqisky wants to merge 2 commits into
youssofal:mainfrom
Chendeqisky:feature/zh-hans-localization

Conversation

@Chendeqisky

Copy link
Copy Markdown

PR title

feat(app): add Simplified Chinese localization

Summary

  • add a generic Bundle-based lookup for runtime-provided SwiftUI labels
  • package every app-owned .lproj directory while keeping English as the development language
  • add a Simplified Chinese catalog for navigation, onboarding, settings, chat, Forge, benchmark, Hermes, and dynamic status text
  • validate duplicate keys, format placeholders, and localization bundle wiring in CI

Validation

  • swift build -c debug --product MTPLXApp
  • swift test -c debug — 632 passed, 1 skipped
  • pytest -q tests/test_app_localization.py — 2 passed
  • plutil -lint Localizable.strings
  • bash -n apps/MTPLXApp/script/build_and_run.sh
  • direct Foundation lookup of static and formatted Simplified Chinese strings

Compatibility

  • English remains the fallback and development language
  • the app bundle identifier is unchanged
  • Sparkle update behavior is unchanged
  • additional languages can be added later by placing another .lproj directory under Resources/Localization

@Chendeqisky
Chendeqisky marked this pull request as ready for review August 18, 2026 17:40
@Chendeqisky
Chendeqisky requested a review from youssofal as a code owner August 18, 2026 17:40
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