Skip to content

[codex] Add Simplified Chinese localization#329

Open
RickeyRen wants to merge 2 commits into
ronitsingh10:mainfrom
RickeyRen:codex/add-simplified-chinese-localization-only
Open

[codex] Add Simplified Chinese localization#329
RickeyRen wants to merge 2 commits into
ronitsingh10:mainfrom
RickeyRen:codex/add-simplified-chinese-localization-only

Conversation

@RickeyRen

Copy link
Copy Markdown

Summary

  • Add Simplified Chinese string catalogs for the app UI and permission copy.
  • Route user-facing strings through a small L10n helper so existing plain String APIs can localize consistently.
  • Add an in-app language picker with System, English, and Simplified Chinese options; selecting a fixed language writes the AppleLanguages override and prompts the user to restart FineTune.

Validation

  • git diff --check origin/main...HEAD
  • Simplified Chinese catalog validator: catalog errors 0
  • xcodebuild build -project FineTune.xcodeproj -scheme FineTune -configuration Debug CODE_SIGN_IDENTITY=- CODE_SIGNING_REQUIRED=NO — passed
  • xcodebuild test -project FineTune.xcodeproj -scheme FineTune -configuration Debug -only-testing:FineTuneTests/LocalizationResourceTests -only-testing:FineTuneTests/AppLanguagePreferenceTests CODE_SIGN_IDENTITY=- CODE_SIGNING_REQUIRED=NO ENABLE_DEBUG_DYLIB=NO — passed
  • xcodebuild test -project FineTune.xcodeproj -scheme FineTune -configuration Debug -skip-testing:FineTuneUITests CODE_SIGN_IDENTITY=- CODE_SIGNING_REQUIRED=NO ENABLE_DEBUG_DYLIB=NO — aggregate run currently fails only HUDWindowControllerTimerTests.popupHiddenShowUpdatesPanel(); that same test passes when rerun by itself, so this appears to be an existing order/timing-sensitive test issue rather than a localization regression.

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.

1 participant