cli/pkg/i18n
Snider cbe44d28f0 feat(i18n): add core.* namespace magic in T()
T() now auto-composes grammar patterns for core.* keys:
- core.label.{word} → "Status:"
- core.progress.{verb} → "Building..."
- core.count.{noun}, n → "5 files"
- core.done.{verb}, subj → "File deleted"
- core.fail.{verb}, subj → "Failed to delete file"

_() and Raw() do direct key lookup without magic.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-30 13:57:34 +00:00
..
locales refactor(i18n): rename common.{verb,noun,article} to gram.* 2026-01-30 13:28:29 +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 feat(i18n): add Phase 4 extended language support 2026-01-30 12:55:41 +00:00
intents.go feat(i18n): add remaining API features for stability 2026-01-30 13:11:58 +00:00
intents_test.go feat(i18n): add remaining API features for stability 2026-01-30 13:11:58 +00:00
interface.go feat(i18n): add remaining API features for stability 2026-01-30 13:11:58 +00:00
interface_test.go feat(i18n): add remaining API features for stability 2026-01-30 13:11:58 +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