Commit graph

4 commits

Author SHA1 Message Date
Virgil
1fcfc33d5c fix(i18n): align plural fallback with base tags
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-02 09:33:21 +00:00
Virgil
2c5c2b715e fix(i18n): normalise underscore language tags
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 03:11:15 +00:00
Virgil
d0e1312abf feat(language): add Welsh plural rules
Some checks are pending
Security Scan / security (push) Waiting to run
Test / test (push) Successful in 1m7s
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-01 23:24:12 +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