mirror of
https://github.com/nomadkaraoke/karaoke-gen.git
synced 2026-11-20 13:07:57 +09:00
## Summary @coderabbitai ignore - Add GCS translation cache (`translation_cache.py`) to `translate.py` for instant repeated translations - Add `--no-cache`, `--dry-run`, `--cache-bucket` CLI flags to translation script - Add `translation-check` CI job that validates all 33 locale files have matching keys - Add `.githooks/pre-commit` hook for auto-translation when `en.json` changes - Add i18n section to CLAUDE.md documenting 33-locale support and enforcement rules ## Test plan - [ ] `python frontend/scripts/translate.py --messages-dir frontend/messages --target es --dry-run` shows cache stats - [ ] `python frontend/scripts/validate-translations.py --messages-dir frontend/messages` passes - [ ] CI `translation-check` job runs on PR 🤖 Generated with [Claude Code](https://claude.com/claude-code) --------- Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>