hermes - 💡(How to fix) Fix feat: 扩展 display.language 中文翻译覆盖范围 (Extend zh i18n coverage)

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…

Error Message

Scope (thin slice, by design): only the highest-impact static strings shown to the user by Hermes itself — approval prompts, a handful of gateway slash command replies, restart-drain notices. Agent-generated output, log lines, error tracebacks, tool outputs, and slash-command descriptions all stay in English.

RAW_BUFFERClick to expand / collapse

问题描述

配置 display.language: zh 后,中文翻译覆盖范围非常有限。

当前覆盖范围

  • ✅ 危险命令批准提示(approval prompts)
  • ✅ Gateway 部分回复
  • ✅ 重启前等待通知

期望覆盖但目前仍是英文的部分

  • ❌ TUI 终端界面(状态栏、菜单、标签页)
  • ❌ 斜杠命令的描述文字
  • ❌ 工具输出的静态标签/提示
  • ❌ 错误信息/提示消息
  • --tui 模式的 Ink UI(ui-tui/ 目录完全没有 i18n 支持)

技术背景

根据 agent/i18n.py 文档说明,i18n 的设计范围是 "thin slice":

Scope (thin slice, by design): only the highest-impact static strings shown to the user by Hermes itself — approval prompts, a handful of gateway slash command replies, restart-drain notices. Agent-generated output, log lines, error tracebacks, tool outputs, and slash-command descriptions all stay in English.

中文翻译文件 locales/zh.yaml 已存在(350行),覆盖了上述 thin slice 范围。

建议

建议逐步扩展 i18n 范围,尤其是 TUI 界面和斜杠命令描述这两个高频暴露区域。我愿意协助提交中文翻译的 PR。

环境

  • Hermes v0.13.0 (2026.5.7)
  • macOS 26.4.1
  • Terminal 模式 + TUI 模式

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

hermes - 💡(How to fix) Fix feat: 扩展 display.language 中文翻译覆盖范围 (Extend zh i18n coverage)