Feature Request: i18n / Multi-Language Support for System Messages
Problem
Currently, all system-level messages generated by Hermes Agent are hardcoded in English — interrupt notices (⚡ Interrupting current task...), tool approval prompts (⚠️ Dangerous command requires approval...), background process notifications, error messages, etc. For non-English-speaking users (e.g., Chinese), this creates an inconsistent experience: the agent responds fluently in Chinese, but system messages drop into English mid-conversation.
Proposed Solution
Add i18n support for system messages:
- Extract all user-facing system strings into locale files (e.g.,
locales/zh_CN.yaml, locales/ja.yaml)
- Auto-detect locale from the user's OS language (
$LANG) or config.yaml setting
- Fallback to English when a locale is unavailable
- Phase 1 scope: gateway system messages, interrupt notices, tool approval prompts, cron delivery headers
Affected Components
- Gateway interrupt/pause/resume messages
- Tool approval / dangerous command confirmation prompts
- Cron job delivery formatting
- Error and timeout messages
- Memory save confirmation messages
Example
# Now:
"⚡ Interrupting current task (2 min elapsed, iteration 2/90). I will respond to your message shortly."
# Expected (zh_CN):
"⚡ 正在中断当前任务(已运行 2 分钟,第 2/90 轮)。稍后回复你的消息。"
Additional Context
- User base includes multiple non-English platforms (Weixin/WeChat, DingTalk, Feishu, QQ Bot)
- The agent already correctly switches to the user's preferred language for conversation responses
- System prompt could include locale preference for full-system i18n
Feature Request: i18n / Multi-Language Support for System Messages
Problem
Currently, all system-level messages generated by Hermes Agent are hardcoded in English — interrupt notices (
⚡ Interrupting current task...), tool approval prompts (⚠️ Dangerous command requires approval...), background process notifications, error messages, etc. For non-English-speaking users (e.g., Chinese), this creates an inconsistent experience: the agent responds fluently in Chinese, but system messages drop into English mid-conversation.Proposed Solution
Add i18n support for system messages:
locales/zh_CN.yaml,locales/ja.yaml)$LANG) orconfig.yamlsettingAffected Components
Example
Additional Context