Gemma Translator is an on-device voice translation system built around Google's Gemma 4 model and LiteRT-LM. It records speech, transcribes it locally, translates the resulting text, and speaks the translation back to another user. The entire inference workflow can operate offline after the required models are installed. Its React interface is optimized for compact handheld and Raspberry Pi displays, including two-person conversational layouts. A Python backend coordinates speech recognition, text-to-speech, and communication with the local language model. Scripts automate setup, model downloading, development startup, and production deployment as a Raspberry Pi kiosk. The repository also includes systemd configuration and printable enclosure files for building a dedicated translation appliance.
Features
- Fully offline on-device translation
- Gemma 4 inference through LiteRT-LM
- Local speech recognition and text-to-speech
- Two-person conversational translation interface
- Automated Raspberry Pi kiosk deployment
- Printable hardware enclosure files