Skip to content

feat(i18n): add internationalization with vue-i18n and translate codebase to English#189

Open
ysfbsf wants to merge 2 commits into666ghj:mainfrom
ysfbsf:feat/i18n-support
Open

feat(i18n): add internationalization with vue-i18n and translate codebase to English#189
ysfbsf wants to merge 2 commits into666ghj:mainfrom
ysfbsf:feat/i18n-support

Conversation

@ysfbsf
Copy link

@ysfbsf ysfbsf commented Mar 15, 2026

Summary

  • Add vue-i18n with runtime language switching (zh/en) using $t() translation keys across all frontend components and views
  • Pass language parameter through backend APIs (ontology generation, simulation config, profile generation) for localized output
  • Translate all Chinese comments, docstrings, error messages, log messages, and configuration descriptions to English across 43+ files (backend APIs, utilities, scripts, config/deploy files, and frontend)

Test plan

  • Verify frontend renders correctly in English (default)
  • Verify frontend renders correctly in Chinese when locale is switched
  • Test ontology generation with language=en and language=zh
  • Test simulation preparation with both language options
  • Verify backend API error messages return in English
  • Run existing test suite to ensure no regressions

ysfbsf added 2 commits March 14, 2026 22:30
Add vue-i18n to the frontend with zh/en locale files and update all
components and views to use translation keys. Pass language parameter
through backend APIs so ontology generation, simulation config, and
profile generation produce localized output.
…debase

Translate comments, docstrings, error messages, log messages, and
configuration descriptions from Chinese to English in 43 files covering
backend APIs, utilities, scripts, config/deploy files, and frontend
components/views.
@dosubot dosubot bot added size:XXL This PR changes 1000+ lines, ignoring generated files. enhancement New feature or request labels Mar 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request size:XXL This PR changes 1000+ lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants