Tencent / Tencent/teamai-cli

[Feature Request] dashboard 增加中英文切换(国际化 i18n 支持)

Open
#529 2 comments 1 reaction 0 assignees View on GitHub

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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.