[FEATURE] [understand-anything] Dashboard 支持中文语言切换 (i18n support)
Resolved 💬 2 comments Opened May 8, 2026 by aojiev Closed May 11, 2026
Preflight Checklist
- [x] I have searched existing requests and this feature hasn't been requested yet
- [x] This is a single feature request (not multiple features)
Problem Statement
问题描述
understand-anything 插件的 Dashboard 界面(如 File Explorer、Layers、Tour 等)目前所有文本都是硬编码的英文,缺乏国际化(i18n)支持。
对于中文用户来说,这造成了以下不便:
- 界面导航和标签全是英文,不够友好
- 虽然知识图谱中的项目内容(节点描述、摘要等)可以正确显示中文,但界面框架语言无法切换
Proposed Solution
## 期望的功能
希望 Dashboard 支持多语言切换,至少包括:
- 中文 (简体中文)
- 英文 (默认)
Alternative Solutions
## 可能的实现方式
- 引入 i18n 框架(如
react-i18next)管理界面文本 - 将硬编码的英文文本提取到语言资源文件(如
locales/en.json、locales/zh.json) - 在 Dashboard 添加语言切换按钮或自动检测浏览器语言
插件信息
- Dashboard 路径:
packages/dashboard/src/ - 涉及文件:
App.tsx、FileExplorer.tsx、NodeInfo.tsx、LearnPanel.tsx、ProjectOverview.tsx、CodeViewer.tsx等组件
Priority
Medium - Would be very helpful
Feature Category
CLI commands and flags
Use Case Example
_No response_
Additional Context
_No response_
This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗