[Feature Request] dashboard 增加中英文切换(国际化 i18n 支持)
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 4.8k
- Forks
- 342
- Avg merge
- 13h 48m
- Merged PRs (30d)
- 211
Description
问题
teamai dashboard 启动后的 Web 面板(默认端口 3721)目前全英文(Skills / Rules / MCP / Hooks / Sessions / Knowledge Base Health 等),对中文用户不友好,打开后难以理解。
期望
在面板右上角增加一个「中 / EN」语言切换按钮,默认跟随系统语言或默认中文,点击即可在中文 / 英文之间切换。
建议实现
- 在
getDashboardHtml()注入的页面中引入轻量 i18n 字典(zh / en),文案集中管理。 - 语言偏好可持久化到 localStorage,或读
TEAMAI_DASHBOARD_LANG环境变量。 - 不影响现有
/api/sessions、/api/kb-summary等接口。
背景
TeamAI 在国内个人 / 团队用户较多,dashboard 作为使用频率较高的可视化管理入口,中文化是提升体验的关键一步。感谢考虑!
Feature request: add a language switcher (zh / EN) to the dashboard UI (top-right corner). Currently the dashboard is fully English-only.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating getDashboardHtml() and read how the dashboard labels and top-right controls are assembled. Implement the requested zh/EN switch with the stated language preference behavior, then verify the dashboard labels switch languages and that /api/sessions and /api/kb-summary remain unaffected.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- frontend, internationalization, web-dev
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 58/100