Commit graph

80 commits

Author SHA1 Message Date
Virgil
f487e427e9 chore(i18n): align public API with AX
Some checks are pending
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
afe7b6e9de refactor(i18n): delegate prompt and lang wrappers
Some checks are pending
Security Scan / security (push) Waiting to run
Test / test (push) Waiting to run
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-03 07:12:34 +00:00
Virgil
99412a64ea fix(i18n): make service nil-safe
All checks were successful
Security Scan / security (push) Successful in 25s
Test / test (push) Successful in 1m20s
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-02 14:02:13 +00:00
Virgil
1fe523b921 fix(i18n): preserve exact namespace matches
Some checks failed
Security Scan / security (push) Successful in 17s
Test / test (push) Has been cancelled
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-02 13:53:26 +00:00
Virgil
62d08d7bc3 fix(i18n): preserve translate result status
Some checks failed
Security Scan / security (push) Successful in 13s
Test / test (push) Has been cancelled
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-02 13:46:25 +00:00
Virgil
cdc396269c fix(i18n): accept prefixed prompt and lang keys
All checks were successful
Security Scan / security (push) Successful in 15s
Test / test (push) Successful in 2m20s
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-02 12:52:13 +00:00
Virgil
24eaadda8a feat(i18n): add current prompt alias
All checks were successful
Security Scan / security (push) Successful in 14s
Test / test (push) Successful in 2m29s
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-02 12:31:00 +00:00
Virgil
e1f496f296 feat(i18n): add service prompt and language helpers
All checks were successful
Security Scan / security (push) Successful in 14s
Test / test (push) Successful in 2m29s
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-02 12:27:21 +00:00
Virgil
177912d4e6 refactor(i18n): use core join for available languages
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-02 12:20:39 +00:00
Virgil
1ae9ada1fd feat(i18n): add current text direction aliases
All checks were successful
Security Scan / security (push) Successful in 14s
Test / test (push) Successful in 2m27s
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-02 12:10:30 +00:00
Virgil
56099f5f07 fix(i18n): merge missing-key context args
All checks were successful
Security Scan / security (push) Successful in 14s
Test / test (push) Successful in 2m27s
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-02 12:06:17 +00:00
Virgil
b716661b7d refactor(i18n): sort available languages on write
All checks were successful
Security Scan / security (push) Successful in 14s
Test / test (push) Successful in 2m26s
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-02 12:02:52 +00:00
Virgil
849428ab10 feat(i18n): add plural category alias symmetry
All checks were successful
Security Scan / security (push) Successful in 14s
Test / test (push) Successful in 2m22s
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-02 11:52:32 +00:00
Virgil
8551af74be feat(i18n): add current language alias
All checks were successful
Security Scan / security (push) Successful in 22s
Test / test (push) Successful in 2m27s
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-02 11:48:29 +00:00
Virgil
e9f06342a7 feat(i18n): add rtl aliases and definite article template func
All checks were successful
Security Scan / security (push) Successful in 13s
Test / test (push) Successful in 2m23s
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-02 11:37:33 +00:00
Virgil
7f09ee550f feat(i18n): add current RTL and handler aliases
Some checks are pending
Test / test (push) Waiting to run
Security Scan / security (push) Successful in 19s
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-02 11:26:14 +00:00
Virgil
9617878f5a feat(i18n): add service current-state aliases
Some checks failed
Security Scan / security (push) Waiting to run
Test / test (push) Has been cancelled
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-02 10:51:20 +00:00
Virgil
9d1f266be7 feat(i18n): add reset handlers helper
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-02 10:18:13 +00:00
Virgil
0c7486ce28 refactor(i18n): centralise locale ingestion
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-02 09:57:05 +00:00
Virgil
0bb3d59ca9 docs(i18n): add AX usage examples to public api
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-02 09:43:45 +00:00
Virgil
02339893ee feat(i18n): add handler chain replacement helpers
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-02 09:40:20 +00:00
Virgil
58924e1710 feat(i18n): add initial language constructor option
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-02 09:36:34 +00:00
Virgil
3927860245 feat(i18n): add service constructor aliases
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-02 09:16:06 +00:00
Virgil
2345b401cb fix(i18n): use core helpers in translateOK
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-02 09:10:21 +00:00
Virgil
2ad5b66272 fix(i18n): surface loader wrapper errors
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-02 08:49:51 +00:00
Virgil
8a23f26a47 fix(i18n): merge duplicate loader languages
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-02 08:36:33 +00:00
Virgil
98a0748143 fix(i18n): improve unsupported language errors
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-02 08:16:00 +00:00
Virgil
f2d2f2e5fd fix(i18n): fail empty loader registrations
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-02 08:03:56 +00:00
Virgil
996fb4c849 refactor(i18n): unify filesystem loading path
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-02 07:55:11 +00:00
Virgil
487d897450 refactor(i18n): sort available language output
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-02 07:46:10 +00:00
Virgil
79f23264ef fix(i18n): ignore nil handlers
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-02 07:33:52 +00:00
Virgil
65dea1d4c9 refactor(i18n): centralise formality parsing
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-02 07:30:15 +00:00
Virgil
f091340da3 fix(service): copy handler slices in options
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-02 07:10:49 +00:00
Virgil
d95218917e fix(i18n): guard against nil loaders 2026-04-02 07:07:42 +00:00
Virgil
6810b352c5 fix(service): apply default location to contextual lookups
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-02 06:49:28 +00:00
Virgil
50dcc47836 fix(i18n): preserve translate ok in debug mode
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-02 06:39:39 +00:00
Virgil
94e6c2d5d7 fix(i18n): canonicalise locale scans
Some checks failed
Security Scan / security (push) Successful in 12s
Test / test (push) Has been cancelled
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-02 06:35:46 +00:00
Virgil
c4b91d6585 fix(i18n): normalise loader language tags
Some checks failed
Security Scan / security (push) Successful in 15s
Test / test (push) Has been cancelled
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-02 06:31:35 +00:00
Virgil
7e0f6cb13a fix(i18n): normalise fallback language tags
All checks were successful
Security Scan / security (push) Successful in 23s
Test / test (push) Successful in 2m14s
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-02 06:17:36 +00:00
Virgil
3c32b7a7ef fix(i18n): release raw missing-key lock
Some checks failed
Security Scan / security (push) Successful in 12s
Test / test (push) Has been cancelled
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-02 06:13:20 +00:00
Virgil
3f6c06add5 fix(i18n): release service lock before handler callbacks
Some checks are pending
Test / test (push) Waiting to run
Security Scan / security (push) Successful in 13s
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-02 06:10:14 +00:00
Virgil
885933626d fix(i18n): register runtime messages as languages
Some checks failed
Security Scan / security (push) Successful in 14s
Test / test (push) Has been cancelled
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-02 06:06:45 +00:00
Virgil
5b139b06f1 fix(i18n): make registered locales idempotent across service swaps
Some checks failed
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
b3fe050512 fix(i18n): make default service reinitialisable
All checks were successful
Security Scan / security (push) Successful in 14s
Test / test (push) Successful in 2m13s
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-02 05:44:02 +00:00
Virgil
c60a5e0474 fix(i18n): flag missing translations in Translate
Some checks are pending
Test / test (push) Waiting to run
Security Scan / security (push) Successful in 13s
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-02 05:40:52 +00:00
Virgil
bae8b1b788 fix(i18n): fall back to base fallback language tags
All checks were successful
Security Scan / security (push) Successful in 9s
Test / test (push) Successful in 2m1s
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-02 05:31:48 +00:00
Virgil
4d672f8fb6 fix(i18n): base fallback for common keys
All checks were successful
Security Scan / security (push) Successful in 12s
Test / test (push) Successful in 2m6s
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-02 04:52:39 +00:00
Virgil
7e931ed08f feat(i18n): implement core translator contract
All checks were successful
Security Scan / security (push) Successful in 13s
Test / test (push) Successful in 2m5s
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-02 04:49:33 +00:00
Virgil
d5060197f5 feat(i18n): add base language message fallback
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 04:41:24 +00:00
Virgil
a2e7f01cbb feat(i18n): expose fallback language accessors
Some checks failed
Security Scan / security (push) Successful in 9s
Test / test (push) Has been cancelled
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-02 04:20:04 +00:00