Fully offline
Models are downloaded once and verified; after that it works without a network. Nothing you say is uploaded.
Offline speech translation · Go
PTranslator listens to your microphone, recognises the language, translates the sentence and reads it aloud. Everything runs on your own computer: no cloud service, and no audio ever leaves the machine.
$ ptranslator live --to ja [1] en (2.82s): Hello, how are you today? → こんにちは、今日はお気持ちですか? VAD 504ms · STT 223ms · translate 226ms · TTS 291ms # every stage is timed, every sentence
What it does
Four steps in one pipeline — and nothing to sign up for.
Models are downloaded once and verified; after that it works without a network. Nothing you say is uploaded.
Speak in any supported language; PTranslator detects it for each sentence, so a conversation can switch languages.
Any pair of Vietnamese, Japanese, Korean, French and Chinese goes through English, using Mozilla's open Firefox Translations models.
A natural synthetic voice in the target language, with ten voices and adjustable speed.
Missing models are fetched with their size and licence shown first, resumable, checked by checksum, and kept under a memory limit.
Every sentence reports the time of each stage, and the project documents its known limits and test results openly.
How it works
Five stages run in parallel, so the next sentence can already be heard while this one is spoken.
The microphone is watched by a voice-activity detector that cuts the audio into sentences.
Whisper turns speech into text and detects the language.
The sentence is translated, through English when neither side is English.
A synthetic voice reads the translation in the target language.
The original, the translation and the time of each stage are printed.
FAQ
Only once, to download the models (roughly 800 MB for the core set and two languages). After that it works fully offline.
English, Vietnamese, Japanese, Korean, French and Chinese, in any direction through English. Speech can be read aloud in many more languages.
On the project's own test of synthetic voices, the largest recognition model made errors on about 5% of words in clean audio and 13% with noise. Real voices, accents and small translation models will do worse.
Not yet: PTranslator is a command-line program for now, with live translation, file transcription, translation and text-to-speech commands.
PTranslator is in development by the Calix team. Get in touch if you would like to try it.
Tell us the languages and the situations you need it for.
Get in touch