Skip to content

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

Closed
ChinmayShringi wants to merge 1 commit intomainfrom
feat/i18n-support
Closed

feat(i18n): add internationalization with vue-i18n and translate codebase to English#247
ChinmayShringi wants to merge 1 commit intomainfrom
feat/i18n-support

Conversation

@ChinmayShringi
Copy link
Owner

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

Original PR: 666ghj/MiroFish#189
Original Author: @ysfbsf

@ChinmayShringi ChinmayShringi added the enhancement New feature or request label Mar 17, 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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant