Skip to content

feat(i18n): add Ukrainian locale#20467

Merged
teknium1 merged 2 commits into
mainfrom
hermes/hermes-709c268b
May 6, 2026
Merged

feat(i18n): add Ukrainian locale#20467
teknium1 merged 2 commits into
mainfrom
hermes/hermes-709c268b

Conversation

@teknium1

@teknium1 teknium1 commented May 6, 2026

Copy link
Copy Markdown
Contributor

Salvages #20287 (@olisikh) onto current main.

Summary

Adds Ukrainian (uk) as the 7th supported UI locale alongside en/zh/ja/de/es/fr. Catalog parity verified (18 keys each).

Changes

  • locales/uk.yaml: new catalog
  • agent/i18n.py: add uk to SUPPORTED_LANGUAGES + aliases (ukrainian, українська, uk-ua, ua, ukrainisch)
  • hermes_cli/config.py: update supported-language comment
  • tests/agent/test_i18n.py: cover uk alias + translation round-trip
  • website/docs/user-guide/configuration.md: document uk
  • scripts/release.py: AUTHOR_MAP entry for @olisikh

Salvage notes

The original PR predated the French locale landing, so it regressed fr out of SUPPORTED_LANGUAGES / docs / config comments. Resolved conflicts by keeping both fr and uk. Also fixed an unterminated module docstring in agent/i18n.py caused by the cross-PR rebase.

Credit: @olisikh (original authorship preserved on the feature commit).

Validation

  • tests/agent/test_i18n.py: 25/25 passed
  • E2E: catalogs load cleanly for all 7 languages; t('approval.denied', lang='uk')✗ Відхилено; fr still renders correctly

@alt-glitch alt-glitch added type/feature New feature or request P3 Low — cosmetic, nice to have comp/agent Core agent loop, run_agent.py, prompt builder comp/cli CLI entry point, hermes_cli/, setup wizard labels May 6, 2026
@teknium1 teknium1 merged commit 735349c into main May 6, 2026
10 of 12 checks passed
@teknium1 teknium1 deleted the hermes/hermes-709c268b branch May 6, 2026 00:22
@RyanRana RyanRana mentioned this pull request May 6, 2026
4 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

comp/agent Core agent loop, run_agent.py, prompt builder comp/cli CLI entry point, hermes_cli/, setup wizard P3 Low — cosmetic, nice to have type/feature New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants