hermes - 💡(How to fix) Fix [i18n] clarify tool's reply-prompt template is hardcoded in English

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…

Fix Action

Fix / Workaround

Workaround: None from the user side — the template is hardcoded.

RAW_BUFFERClick to expand / collapse

The clarify tool (multiple-choice question feature) displays a prompt at the bottom of every question:

"Reply with the number, the option text, or your own answer."

This text is hardcoded in English in the source code. When the agent is used in non-English conversations (e.g., Chinese, Japanese, Korean), this instruction feels out of place and interrupts the language flow.

Suggestion: Make this template text localizable by:

  1. Extracting the string into an i18n-compatible location (e.g., a locale config or a messages dict)
  2. Detecting the conversation language (or allowing the agent config to set a preferred locale)
  3. Providing translations for major languages (zh-CN, ja, ko, etc.)

Example location in code (approximate): The clarify tool's response formatting logic where the choices list and the "Other" fallback option are appended.

Impact: Low effort (small string change), high quality-of-life improvement for non-English users.

Workaround: None from the user side — the template is hardcoded.

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