Skip to content
This repository was archived by the owner on Apr 24, 2026. It is now read-only.

feat: add Flutter localization foundation#35

Open
BAYUNZIYUE wants to merge 3 commits into
verseles:mainfrom
BAYUNZIYUE:upstream/i18n-foundation
Open

feat: add Flutter localization foundation#35
BAYUNZIYUE wants to merge 3 commits into
verseles:mainfrom
BAYUNZIYUE:upstream/i18n-foundation

Conversation

@BAYUNZIYUE
Copy link
Copy Markdown

Summary

  • add Flutter localization scaffolding with generated delegates and baseline English/Chinese ARB files
  • persist a preferred app locale in experience settings and expose it through SettingsProvider
  • wire the root MaterialApp to use the generated localization delegates and supported locales

Notes

  • this PR intentionally stays small and does not add a language picker UI yet
  • the goal is to land the localization foundation first so follow-up UI work can build on a clean base

Validation

  • /workspace/usr/local/flutter/bin/flutter pub get
  • /workspace/usr/local/flutter/bin/flutter gen-l10n
  • /workspace/usr/local/flutter/bin/dart run build_runner build --delete-conflicting-outputs
  • /workspace/usr/local/flutter/bin/flutter analyze --no-fatal-infos --no-fatal-warnings
  • bash tool/ci/check_analyze_budget.sh /tmp/flutter_analyze_i18n.log 186
  • timeout --foreground 5m /workspace/usr/local/flutter/bin/flutter test --no-pub --fail-fast

insign and others added 3 commits April 23, 2026 13:58
Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent)

Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent)

Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent)

Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants