feat(i18n): add configurable Chinese localization for CLI#15282
Closed
gzsiang wants to merge 2 commits into
Closed
feat(i18n): add configurable Chinese localization for CLI#15282gzsiang wants to merge 2 commits into
gzsiang wants to merge 2 commits into
Conversation
1 task
764cafc to
4732a1e
Compare
766fb55 to
e9d7c6c
Compare
ae2dc62 to
48c91f7
Compare
b01c6fd to
d47002b
Compare
b01c6fd to
4a632d7
Compare
- Add from tools.i18n import format_zh - Wrap 3 self._touch_activity() status strings - Wrap 7 print/_vprint/_safe_print interrupt messages - All translations present in tools/i18n.py Co-Authored-By: AI Assistant <noreply@example.com>
Author
|
This PR has been superseded by #22914 which landed a more comprehensive i18n solution. The new approach uses a YAML-based catalog with t() function, supports 16 languages (including zh and zh-hant), and covers all gateway commands, web dashboard, and plugin panels. Thank you for your contribution! |
gzsiang
added a commit
to gzsiang/hermes-agent
that referenced
this pull request
Jun 6, 2026
Added Chinese description of fork features: - Circuit breaker (NousResearch#16749) - CLI Chinese localization (NousResearch#15282) - Message embedding (NousResearch#18059) - Emergency compression (NousResearch#18607)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Add configurable Chinese (中文) localization to Hermes Agent CLI, including:
tools/i18n.pywithformat_zh()function for configurable localizationTIPSbackward compat alias)approvals.languagein config.yaml (zhoren)