Virgil
f487e427e9
chore(i18n): align public API with AX
...
Security Scan / security (push) Waiting to run
Test / test (push) Waiting to run
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-03 07:35:27 +00:00
Virgil
6ca01b37a5
fix(i18n): append missing-key handlers
Security Scan / security (push) Successful in 17s
Test / test (push) Successful in 1m35s
2026-04-02 14:36:14 +00:00
Virgil
963ea7999d
fix(i18n): track immediate locale loads
Security Scan / security (push) Successful in 17s
Test / test (push) Has been cancelled
2026-04-02 13:57:15 +00:00
Virgil
6e202e8230
fix(i18n): copy missing-key snapshots safely
...
Security Scan / security (push) Successful in 18s
Test / test (push) Successful in 2m31s
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-02 13:13:49 +00:00
Virgil
0918f6cf72
feat(i18n): add variadic missing-key handler setter
...
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-02 10:05:49 +00:00
Virgil
9e49d133ec
fix(i18n): serialise missing key handler registration
...
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-02 08:56:00 +00:00
Virgil
e934c4f02c
refactor(i18n): remove missing-key handler wrapper
...
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-02 07:50:12 +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
5b139b06f1
fix(i18n): make registered locales idempotent across service swaps
...
Test / test (push) Waiting to run
Security Scan / security (push) Has been cancelled
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-02 06:03:18 +00:00
Virgil
f2dd3473b3
feat(i18n): add locale provider registry
...
Security Scan / security (push) Successful in 13s
Test / test (push) Has been cancelled
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-02 05:36:42 +00:00
Virgil
94b336247e
feat(i18n): add missing-key handler reset
...
Security Scan / security (push) Successful in 13s
Test / test (push) Successful in 1m40s
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-02 02:45:48 +00:00
Virgil
b8444b1780
feat(i18n): add missing-key handler registration
...
Security Scan / security (push) Successful in 11s
Test / test (push) Successful in 1m41s
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-02 02:33:10 +00:00
Virgil
0baf2d3e7f
fix(i18n): preserve missing-key hooks in core service
...
Test / test (push) Waiting to run
Security Scan / security (push) Successful in 11s
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-02 02:07:11 +00:00
Virgil
4b4f30cdb3
Load registered locales immediately
Security Scan / security (push) Successful in 10s
Test / test (push) Successful in 1m37s
2026-04-02 01:37:43 +00:00
Virgil
ed3094a7a7
fix(i18n): report missing-key call sites
...
Security Scan / security (push) Successful in 12s
Test / test (push) Successful in 1m27s
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-02 00:16:53 +00:00
Snider
9eb25f567b
fix: remove panic patterns and surface swallowed errors
...
Security Scan / security (push) Successful in 10s
Test / test (push) Successful in 42s
- SetDefault(nil) no longer panics — allows clearing the default service
- Default() logs Init() errors instead of discarding them
- NewWithLoader checks LanguagesErr() via interface assertion for richer error context
- hooks.go logs LoadFS errors instead of silently ignoring them
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-09 08:22:42 +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