Commit graph

4 commits

Author SHA1 Message Date
Virgil
99412a64ea fix(i18n): make service nil-safe
All checks were successful
Security Scan / security (push) Successful in 25s
Test / test (push) Successful in 1m20s
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-02 14:02:13 +00:00
Virgil
852b11fda5 refactor(i18n): align helper formatting with core primitives
All checks were successful
Security Scan / security (push) Successful in 14s
Test / test (push) Successful in 2m19s
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-02 12:59:09 +00:00
Virgil
4d8b288a9c refactor(i18n): centralize default-service wrappers
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-02 09:52:50 +00:00
Claude
e8a87b0f50
feat: grammar-aware i18n module extracted from core
Standalone grammar-aware translation engine with:
- 3-tier verb/noun fallback (JSON locale → irregular maps → regular rules)
- 6 built-in i18n.* namespace handlers (label, progress, count, done, fail, numeric)
- Nested en.json with gram/prompt/time/lang sections (no flat command keys)
- CLDR plural rules for 10 languages
- Subject fluent API, number/time formatting, RTL detection
- 55 tests passing

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-16 19:51:27 +00:00