Skip to content

Add Simplified Chinese localization - #36

Open
YspritanHyzygy wants to merge 1 commit into
Puzzaks:mainfrom
YspritanHyzygy:codex/simplified-chinese-localization
Open

Add Simplified Chinese localization#36
YspritanHyzygy wants to merge 1 commit into
Puzzaks:mainfrom
YspritanHyzygy:codex/simplified-chinese-localization

Conversation

@YspritanHyzygy

@YspritanHyzygy YspritanHyzygy commented May 17, 2026

Copy link
Copy Markdown

Summary

  • Add a bundled zh-Hans Simplified Chinese translation without replacing the existing Traditional Chinese zh locale.
  • Resolve common Simplified and Traditional Chinese device locale tags to the correct bundled language.
  • Merge bundled language metadata and dictionaries with cached or remote data so a new bundled locale remains available when those sources are stale.
  • Localize built-in prompt and resource display labels.
  • Replace the invalid starter counter test with localization regression checks.

The unrelated Android, resource-link, and Dart cleanup changes from the original combined submission were extracted to #39.

Validation

  • Parsed all bundled translation JSON files with jq.
  • Verified the Simplified Chinese dictionary has exactly the same keys as the English dictionary.
  • Verified the bundled language IDs are unique and include zh-Hans.
  • Verified pubspec.yaml registers the Simplified Chinese asset.
  • git diff --check upstream/main
  • git merge-tree --write-tree codex/simplified-chinese-localization codex/maintenance-fixes (clean merge with Fix Android setup and clean up Dart code #39)

flutter analyze and flutter test were not rerun in the current environment because no Flutter SDK is installed. The original combined commit reported both checks passing; this split retains the same production changes and separates the regression tests by topic.

@YspritanHyzygy
YspritanHyzygy marked this pull request as ready for review May 17, 2026 01:09
@Puzzak

Puzzak commented May 17, 2026

Copy link
Copy Markdown
Member

Holy heck, you really did dig into my bad code. Thanks, I will try my best to review it soon!

What a legend

@YspritanHyzygy
YspritanHyzygy force-pushed the codex/simplified-chinese-localization branch from 1764f80 to 7037485 Compare August 24, 2026 21:54
@YspritanHyzygy YspritanHyzygy changed the title [codex] Add Simplified Chinese localization Add Simplified Chinese localization Aug 24, 2026
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