Skip to content

feat(dashboard): add English i18n support for kanban UI#326

Open
dydydd wants to merge 1 commit into
cft0808:mainfrom
dydydd:feat/i18n-english
Open

feat(dashboard): add English i18n support for kanban UI#326
dydydd wants to merge 1 commit into
cft0808:mainfrom
dydydd:feat/i18n-english

Conversation

@dydydd

@dydydd dydydd commented Jun 18, 2026

Copy link
Copy Markdown
Contributor

Summary

Add English internationalization (i18n) support for the dashboard kanban UI.

Changes

  • Add i18n object with 180 translation keys (Chinese to English)
  • Add t() translation function with parameter interpolation
  • Add language toggle button (EN/中) next to theme toggle
  • Persist language preference in localStorage
  • Add data-i18n attributes to static HTML elements
  • Update PIPE, STATE_LABEL, DEPTS to use translation keys
  • Update time functions (fmtStalled, timeAgo) for locale awareness
  • Update renderMonitor, openTask, renderSchedulerState

Closes #226

- Add i18n object with zh/en translation dictionaries (~180 keys)
- Add t() translation function with parameter interpolation
- Add language toggle button (EN/中) next to theme toggle
- Persist language preference in localStorage
- Add data-i18n attributes to static HTML elements
- Update PIPE, STATE_LABEL, DEPTS to use translation keys
- Update time functions (fmtStalled, timeAgo) for locale awareness
- Update renderMonitor, openTask, renderSchedulerState for translations

Closes cft0808#226
@dydydd dydydd requested a review from cft0808 as a code owner June 18, 2026 14:33
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.

🌐 国际化 (i18n) — 英文翻译

1 participant