cli/pkg/i18n
Snider 829be45fcc feat(i18n): add remaining API features for stability
Implements the final features from the semantic i18n plan:

- Template caching: sync.Map cache for compiled templates
- Translator interface: enables mocking for tests
- Custom intent registration: thread-safe RegisterIntents(), UnregisterIntent()
- JSON-based grammar: verb/noun forms in locale files, checked before computed
- Fallback chain: T() tries common.action.{verb} and common.{verb}
- CLI enhancements: Timeout(), Filter(), Multi() options, ChooseMulti()
- Intent key constants: type-safe IntentCore* and Key* constants

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-30 13:11:58 +00:00
..
locales feat(i18n): add remaining API features for stability 2026-01-30 13:11:58 +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
grammar.go feat(i18n): add remaining API features for stability 2026-01-30 13:11:58 +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 remaining API features for stability 2026-01-30 13:11:58 +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 remaining API features for stability 2026-01-30 13:11: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 feat(i18n): implement semantic i18n system with grammar engine 2026-01-30 12:29:44 +00:00
mode_test.go feat(i18n): implement semantic i18n system with grammar engine 2026-01-30 12:29:44 +00:00