Skip to content

feat(dashboard): add language switcher in ThemePicker panel#374

Open
Mowen559 wants to merge 4 commits into
Egonex-AI:mainfrom
Mowen559:main
Open

feat(dashboard): add language switcher in ThemePicker panel#374
Mowen559 wants to merge 4 commits into
Egonex-AI:mainfrom
Mowen559:main

Conversation

@Mowen559

@Mowen559 Mowen559 commented Jun 3, 2026

Copy link
Copy Markdown
  • Add setLanguage callback to I18nContext via onLanguageChange prop
  • Pass setOutputLanguage from App.tsx to I18nProvider
  • Add Language section in ThemePicker with 6 locale options (English, 简体中文, 繁體中文, 日本語, 한국어, Русский)
  • Add language field to all 6 locale common sections

Summary

Linked issue(s)

How I tested this

  • pnpm lint
  • pnpm --filter @understand-anything/core test
  • pnpm test
  • Manual smoke test (describe above)

Versioning

  • Version bumped in all five manifests, OR
  • N/A — internal/docs-only change

Mowen559 added 2 commits June 3, 2026 17:00
- Add setLanguage callback to I18nContext via onLanguageChange prop
- Pass setOutputLanguage from App.tsx to I18nProvider
- Add Language section in ThemePicker with 6 locale options
  (English, 简体中文, 繁體中文, 日本語, 한국어, Русский)
- Add language field to all 6 locale common sections
…de viewer back button

- Add sidebarPosition (left/right) and sidebarCollapsed state to store
- Sidebar tab bar now shows position toggle and collapse buttons
- Sidebar renders on left or right side based on position setting
- Collapsed state shows a thin edge button to re-expand
- CodeViewer header adds a back arrow button using nodeHistory/goBackNode
- Add i18n keys: sidebar.moveLeft, moveRight, collapse, expand, codeViewer.goBack
- All 6 locale files updated (en, zh, zh-TW, ja, ko, ru)
@Mowen559 Mowen559 closed this Jun 4, 2026
@Mowen559 Mowen559 reopened this Jun 4, 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.

1 participant