cli/pkg/i18n
Snider f85064a954 feat(i18n): implement semantic i18n system with grammar engine
Add semantic intent system for natural language CLI interactions:

- Mode system (Normal/Strict/Collect) for missing key handling
- Subject type with fluent builder for typed subjects
- Composed type with Question/Confirm/Success/Failure forms
- 30+ core.* intents (delete, create, commit, push, etc.)
- Grammar engine: verb conjugation, noun pluralization, articles
- Template functions: title, lower, upper, past, plural, article
- Enhanced CLI: Confirm with options, Question, Choose functions
- Collect mode handler for QA testing

Usage:
  i18n.T("core.delete", i18n.S("file", "config.yaml"))
  result := i18n.C("core.delete", subject)
  cli.ConfirmIntent("core.delete", subject)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-30 12:29:44 +00:00
..
locales refactor(i18n): consolidate 85 keys into reusable templates 2026-01-30 11:44:45 +00:00
compose.go feat(i18n): implement semantic i18n system with grammar engine 2026-01-30 12:29:44 +00:00
compose_test.go feat(i18n): implement semantic i18n system with grammar engine 2026-01-30 12:29:44 +00:00
grammar.go feat(i18n): implement semantic i18n system with grammar engine 2026-01-30 12:29:44 +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): implement semantic i18n system with grammar engine 2026-01-30 12:29:44 +00:00
i18n_test.go refactor(i18n): use nested JSON format for translation files 2026-01-30 11:11:07 +00:00
intents.go feat(i18n): implement semantic i18n system with grammar engine 2026-01-30 12:29:44 +00:00
intents_test.go feat(i18n): implement semantic i18n system with grammar engine 2026-01-30 12:29:44 +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