claude-code - 💡(How to fix) Fix [FEATURE] [understand-anything] Dashboard 支持中文语言切换 (i18n support)

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
RAW_BUFFERClick to expand / collapse

Preflight Checklist

  • I have searched existing requests and this feature hasn't been requested yet
  • This is a single feature request (not multiple features)

Problem Statement

问题描述

understand-anything 插件的 Dashboard 界面(如 File Explorer、Layers、Tour 等)目前所有文本都是硬编码的英文,缺乏国际化(i18n)支持。

对于中文用户来说,这造成了以下不便:

  • 界面导航和标签全是英文,不够友好
  • 虽然知识图谱中的项目内容(节点描述、摘要等)可以正确显示中文,但界面框架语言无法切换

Proposed Solution

期望的功能

希望 Dashboard 支持多语言切换,至少包括:

  • 中文 (简体中文)
  • 英文 (默认)

Alternative Solutions

可能的实现方式

  1. 引入 i18n 框架(如 react-i18next)管理界面文本
  2. 将硬编码的英文文本提取到语言资源文件(如 locales/en.jsonlocales/zh.json
  3. 在 Dashboard 添加语言切换按钮或自动检测浏览器语言

插件信息

  • Dashboard 路径:packages/dashboard/src/
  • 涉及文件:App.tsxFileExplorer.tsxNodeInfo.tsxLearnPanel.tsxProjectOverview.tsxCodeViewer.tsx 等组件

Priority

Medium - Would be very helpful

Feature Category

CLI commands and flags

Use Case Example

No response

Additional Context

No response

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING