Multilingual text and voice translation
Speak Amharic. Read Arabic. Hear English.
One workspace for text and voice across Amharic, English, Arabic, French, Spanish and Swahili. Type or talk on one side, get the translation and hear it on the other. Built for the MizanFlow web developer role as a functioning sample, not a mockup.
- 6 languages
- 30 translation pairs
- 3 engines in the fallback chain
- 0 build steps, static hosting
The translation appears here
Voice controls
Speech to text and text to speech run in the browser through the Web Speech API. Nothing leaves your device for the voice part.
Microphone
Checking browser support.
- Speak in the language chosen on the left
- Press once to start, again to stop
- Needs a secure page and microphone permission
Speech to text from an audio file
Drop a recording to review it here. The browser speech engine listens to the microphone only, so uploaded files play back in the player below while the live microphone handles transcription.
Voice and speed
How this prototype works
Every piece below is live in this page. No servers of mine are involved, so the demo stays online at no cost.
Text translation
A verified public translation API answers each request, with a second engine as fallback and a local cache so repeat phrases cost nothing. Amharic works in both directions across all six languages.
Speech to text
The Web Speech API records on the microphone, streams interim words while you talk, then hands the final sentence to the translator. Where a browser has no speech engine, the page says so and the typing and sample phrase path still works.
Speech output
The browser voice list is filtered to the target language, with a speed control from 0.5x to 1.8x. When a language has no installed voice, the page tells you where to add one instead of reading Amharic with an English voice.
Prototype by Anwar Kaya. Static HTML, CSS and JavaScript, deployed as a static site. The production plan in the proposal moves the same interface onto Next.js with a neural translation model, Whisper for speech to text and a neural voice for Amharic text to speech on a small server.