Commit graph

4 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
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
568ded9031 feat(i18n): add intent composition API
All checks were successful
Security Scan / security (push) Successful in 12s
Test / test (push) Successful in 1m37s
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-02 01:45:24 +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