Commit graph

6 commits

Author SHA1 Message Date
Virgil
1c45f39d36 feat(i18n): localise count string helpers
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-02 08:12:33 +00:00
Virgil
92add102a8 feat(i18n): add count support to translation context
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-02 07:59:58 +00:00
Virgil
440f96fc16 refactor(i18n): align core primitives with ax conventions
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-02 07:37:58 +00:00
Virgil
77f12f6441 feat(i18n): accept translation contexts in handlers
Some checks failed
Security Scan / security (push) Successful in 11s
Test / test (push) Has been cancelled
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-02 01:53:57 +00:00
Virgil
6bf02fd0bd feat(i18n): add location to translation context
All checks were successful
Security Scan / security (push) Successful in 10s
Test / test (push) Successful in 1m23s
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-01 23:53:16 +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