cli/pkg/i18n
Snider 94723454a8 feat(i18n): add compile-time key validation tool
Adds cmd/i18n-validate that scans Go source files for i18n key usage
and validates them against locale JSON files and registered intents.

Features:
- Scans T(), C(), I(), and qualified i18n.* calls
- Expands ./... pattern to find all Go packages
- Validates message keys against locale JSON files
- Validates intent keys against registered core.* intents
- Reports missing keys with file:line locations
- Skips constant references (type-safe usage)

Usage:
  go run ./cmd/i18n-validate ./...
  task i18n:validate

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-30 13:18: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 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 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