hermes - 💡(How to fix) Fix v0.13.0: locales/ directory missing from pip package — slash commands show raw i18n keys

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…

Root Cause

The locales/ directory (containing en.yaml and other language catalogs) exists in the source repository but is NOT included in the pip package. After pip install, site-packages/locales/ is absent. The agent/i18n.py module falls back to returning raw keys when no catalog is found.

Fix Action

Fix

The locales/ directory needs to be included in the pip package distribution (MANIFEST.in or pyproject.toml package data).

Workaround

Copy locales/en.yaml from the source repo into site-packages/locales/en.yaml.

RAW_BUFFERClick to expand / collapse

Bug Description

After upgrading to v0.13.0, all gateway slash commands that use the new i18n system show raw translation keys instead of rendered text. For example, /status outputs:

gateway.status.header gateway.status.session_id gateway.status.title ...

Root Cause

The locales/ directory (containing en.yaml and other language catalogs) exists in the source repository but is NOT included in the pip package. After pip install, site-packages/locales/ is absent. The agent/i18n.py module falls back to returning raw keys when no catalog is found.

Steps to Reproduce

  1. Fresh install of v0.13.0 via pip
  2. Start gateway with Discord adapter
  3. Run /status slash command
  4. Observe raw i18n keys instead of rendered text

Fix

The locales/ directory needs to be included in the pip package distribution (MANIFEST.in or pyproject.toml package data).

Workaround

Copy locales/en.yaml from the source repo into site-packages/locales/en.yaml.

Environment

Hermes Agent v0.13.0, pip install, Python 3.12, Linux

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