Commit graph

4 commits

Author SHA1 Message Date
Virgil
6758585c36 feat(i18n): accept structured handler args
All checks were successful
Security Scan / security (push) Successful in 11s
Test / test (push) Successful in 1m45s
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-02 02:58:46 +00:00
Virgil
3b2f6ec2ec feat(i18n): accept subjects in namespace 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:41:43 +00:00
Virgil
945070c0da feat(i18n): respect subject counts in plural resolution
All checks were successful
Security Scan / security (push) Successful in 12s
Test / test (push) Successful in 1m12s
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-01 22:30:32 +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