New Tool Radar

Local AI

How to Translate an Audio Recording to English with Whisper

Translate a non-English recording to English with Whisper by adding --task translate and a multilingual model, because the default turbo model does not translate.

Schematic diagram with three boxes: practice-japanese.wav spoken in Japanese, the command whisper --model medium --language Japanese --task translate, and the English text output Mara is the lighthouse keeper.

Whisper can do more than write down what was said: it can translate speech in another language into English text, straight from the audio. The command is almost the same as transcription, but two details matter — you must add --task translate, and you must not use the default model. Whisper’s README is explicit: the turbo model is not trained for translation tasks, so for translation use one of the multilingual models (tiny, base, small, medium, large) instead.

The command, and the model trap

The README’s own translation example is:

whisper japanese.wav --model medium --language Japanese --task translate

It adds a warning: the turbo model will return the original language even if --task translate is specified. Use medium or large for the best translation results. So the most common failure is not a wrong flag — it is running the default model and getting back a transcript in the original language, which looks like the command did nothing.

Try it: translate one practice recording

Record yourself, or a willing friend, reading one short fictional sentence in a language other than English — for example, in Japanese, the sentence “Mara wa toudai no ban’nin desu.” (“Mara is the lighthouse keeper.”). Save it as practice-japanese.wav and run:

whisper practice-japanese.wav --model medium --language Japanese --task translate

Whisper also needs ffmpeg installed on your system, as in the transcription guide. Read the text file Whisper writes and check two things: is it in English, and does it say Mara is the lighthouse keeper?

Check What you should see If you do not see it
Language of the output English text You used turbo, or left out --task translate
Meaning Mara is the lighthouse keeper The model misheard the recording — try a clearer recording or a larger model
File written A text file next to the audio file Check that ffmpeg is installed

If the output is English and keeps the meaning, the translation worked. Expected result. We checked the Whisper README. We did not run Whisper on a sample recording.

Limits

Translation is a harder job than transcription in the same language, and a smaller model will translate worse than a larger one — the README recommends medium or large for the best translation results, and those need about 5 GB and 10 GB of memory respectively. A translation is the model’s reading of the speech, not a certified translation: check names, numbers, and dates against the original before you rely on them. We did not run Whisper, so no translation here is a measured result.

Sources

See all