cli/pkg/i18n
Snider 39de3c2836 refactor(i18n): slim locale files using composable grammar
Reduce locale files from ~4600 to 338 total lines (93% reduction):
- en_GB.json: 1520 → 262 lines (83% reduction)
- en_US.json: ~1500 → 10 lines (US spelling overrides only)
- en_AU.json: ~1500 → 2 lines (inherits from en_GB)
- de.json: 120 → 64 lines

Removed redundant entries that can now be composed via core.* patterns:
- Labels: T("core.label.status") → "Status:"
- Counts: T("core.count.item", 5) → "5 items"
- Progress: T("core.progress.build") → "Building..."
- Done/Fail: T("core.done.build", subj) → "Build completed"

Updated tests to use new key patterns.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-30 14:24:23 +00:00
..
locales refactor(i18n): slim locale files using composable grammar 2026-01-30 14:24:23 +00:00
compose.go feat(i18n): add Phase 4 extended language support 2026-01-30 12:55:41 +00:00
compose_test.go feat(i18n): add Phase 4 extended language support 2026-01-30 12:55:41 +00:00
debug.go refactor(i18n): extract debug functionality to debug.go 2026-01-30 13:31:52 +00:00
grammar.go feat(i18n): add composable grammar for minimal locale files 2026-01-30 13:43:52 +00:00
grammar_test.go feat(i18n): implement semantic i18n system with grammar engine 2026-01-30 12:29:44 +00:00
i18n.go feat(i18n): add core.* namespace magic in T() 2026-01-30 13:57:34 +00:00
i18n_test.go refactor(i18n): slim locale files using composable grammar 2026-01-30 14:24:23 +00:00
intents.go feat(i18n): add remaining API features for stability 2026-01-30 13:11:58 +00:00
intents_test.go refactor(i18n): slim locale files using composable grammar 2026-01-30 14:24:23 +00:00
interface.go feat(i18n): add remaining API features for stability 2026-01-30 13:11:58 +00:00
interface_test.go refactor(i18n): slim locale files using composable grammar 2026-01-30 14:24:23 +00:00
keys.go feat(i18n): add compile-time key validation tool 2026-01-30 13:18:58 +00:00
language.go feat(i18n): add Phase 4 extended language support 2026-01-30 12:55:41 +00:00
language_test.go feat(i18n): add Phase 4 extended language support 2026-01-30 12:55:41 +00:00
mode.go refactor(i18n): simplify missing key handler API 2026-01-30 13:36:55 +00:00
mode_test.go feat(i18n): implement semantic i18n system with grammar engine 2026-01-30 12:29:44 +00:00