8000 feat(app): add English and Simplified Chinese localization by shroominic · Pull Request #85 · shroominic/OpenGlucose · GitHub
[go: up one dir, main page]

Skip to content

feat(app): add English and Simplified Chinese localization - #85

Merged
shroominic merged 11 commits into
mainfrom
feature/app-localization
Aug 31, 2026
Merged

shroominic merged 11 commits into
mainfrom
feature/app-localization

Conversation

@shroominic
Copy link
Copy Markdown
Owner

Summary

  • Add generated Flutter localization for English and Simplified Chinese, with 430 matched catalog entries across the app.
  • Default to the device language: every Chinese locale selects Simplified Chinese; all other locales select English.
  • Add a persistent Settings override: Follow device, English, or 简体中文.
  • Localize onboarding, dashboard, chart, settings, Apple Health, AI, archive, recovery guidance, and Android/iOS live surfaces.
  • Preserve the existing safety and redaction behavior by sending semantic state plus a language code to native live surfaces.
  • Keep export schema and filenames stable while localizing archive share metadata.

Verification

  • flutter analyze
  • flutter test -r compact (280 passed)
  • make build-android
  • make build-ios
  • make test-ios-native
  • make check (Android, web, iOS, and macOS gates)
  • Real iOS simulator inspection in English and Simplified Chinese

Notes

  • Simplified Chinese is selected for all zh device variants until a separate Traditional Chinese catalog is added.
  • The localization policy is documented in ADR-0004.

@shroominic
shroominic merged commit 32a2273 into main Aug 31, 2026
10 checks passed
shroominic added a commit that referenced this pull request Aug 31, 2026
Includes the archived data export fix and Simplified Chinese localization from PR #85. Releases app version 0.1.6+28.
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

0