← All posts

Panda Translator: Subtitles Over Any Android App

I was watching a Lebanese cooking video in a social app that offers no translation at all. I did not want the recipe summarized later. I wanted the words, while she was saying them, without leaving the app. Nothing I could install did that, so I built it.

A floating panel over a cooking video showing English subtitles translated from Lebanese Arabic, with the Arabic transcript dimmed underneath
The thing I actually wanted. The video is playing in someone else’s app. The panel is mine, drawn on top, translating as she talks.

Why Not Just Use Google Translate?

Google Translate can reach into another app, just not the audio. Tap to Translate draws over any app, but it translates text you copy, and nobody is copying text out of a cooking video. Everything Translate does with speech, it does in the foreground, through the microphone.

An Instagram recipe video breaks that. The audio is inside the phone rather than in the room, and leaving the app that is playing it means I cannot see it.

Where this does get solved, it gets solved exclusively: Live Translate for media handles audio from select apps on a Pixel 11 and later, not the phone in my pocket. Mine runs on anything with Android 10 or newer.

Two Ways To Use It

Overlay mode is the original goal. Pick where the audio is coming from and what language it is in, press Start, and switch to any other app. A subtitle window floats above it, drags wherever you want it, remembers where you put it, and passes your taps through to the app underneath.

Conversation mode came a few days later and is the half that works with actual people. It is one shared transcript for a back-and-forth between an English speaker and someone else.

The Panda Translator main screen with audio source, source language and read-aloud controls
The whole control surface. Where the audio comes from, what language it is in, whether to speak the result, and two buttons.
Conversation mode showing alternating English and Spanish utterances, each with its translation underneath
Conversation mode. One transcript, not two columns. Whichever language an entry starts in is the one that was actually spoken.

There is no direction arrow anywhere on the screen. If an entry starts in Spanish, the Spanish speaker spoke. If it starts in English, I did. The layout already says it, so no UX is required.

Both modes can read the translation out loud, and both of them treat that as optional. Subtitles are the primary output.

What It Cannot Do

Some of this is mine to fix and some of it is the phone’s.

  • It cannot listen while another app is recording. Android goes quiet rather than telling anyone. The app notices and says so, which is about the most that can be done.
  • It cannot translate phone calls. Call audio is walled off from apps entirely, and the permission that would change that is not one a personal build can hold.
  • Streaming apps often refuse to be captured, so for those the microphone is the only route in.
The Options screen showing permission status and per-language audio samples with Play buttons
Options. Each permission says what it is actually for. The sample clips let me test every language without needing a second person in the room.

What’s Doing the Translating

The Gemini API does the translating. The recognizer commits what it heard, and Gemini turns that into the caption that lands on screen. The API cost is approximately 50 cents per hour.

Where It Sits Now

It is a personal build on my own phone, and it does the thing I wanted. I can open a video in almost any app, in a language I do not speak, and read along. I can also hand a conversation to someone I share no language with and have both halves land.