Skip to content

feat: add Chinese and English localization - #255

Open
xinglongMedical wants to merge 1 commit into
yc-software:mainfrom
xinglongMedical:codex/i18n-zh-en
Open

feat: add Chinese and English localization#255
xinglongMedical wants to merge 1 commit into
yc-software:mainfrom
xinglongMedical:codex/i18n-zh-en

Conversation

@xinglongMedical

@xinglongMedical xinglongMedical commented Aug 7, 2026

Copy link
Copy Markdown

Summary

  • add shared English and Simplified Chinese locale handling with browser inference, English fallback, and persisted language selection
  • add language switches to the Web UI and Admin UI while preserving user-authored, identity, secret, and server-provided content
  • localize Web and Admin navigation, forms, notices, accessibility labels, statuses, dates, numbers, and controlled dynamic copy
  • add regression coverage for locale resolution, dynamic UI sinks, and content-boundary collisions

Validation

  • Web UI: 503 tests passed
  • Admin UI: 81 tests passed
  • root TypeScript check passed
  • Web production build passed
  • Prettier, ESLint, and git diff checks passed
  • live browser QA passed at localhost:8129 for Web zh-CN -> en -> zh-CN and Admin zh-CN -> en -> zh-CN
  • independent read-only i18n review: GO

Screenshots

Web — 简体中文

Web zh-CN

Web — English

Web en

Admin — 简体中文

Admin zh-CN


View with [code]smith Autofix with [code]smith
Need help on this PR? Tag @codesmith-bot with what you need. Autofix is disabled.

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