Skip to content

Live Turkish ↔ English call translation - #1

Merged
ttabouch12 merged 3 commits into
mainfrom
call-translation
Nov 8, 2026
Merged

ttabouch12 merged 3 commits into
mainfrom
call-translation

Conversation

@ttabouch12

Copy link
Copy Markdown
Owner

Phase 1 of call translation for relayed calls.

  • Captions: caller's Turkish → English text (Translate in the call notification).
  • Captions + voice: my English → Turkish speech sent to the caller instead of my mic.
  • Cloud (Groq free tier) with per-line on-device fallback; on-device-only switch in Settings.
  • CI builds both phone flavors and uploads debug APKs.

Untested on a device yet.


Generated by Claude Code

ttabouch12 and others added 3 commits November 8, 2026 12:00
Captions: the caller's Turkish is transcribed and shown in English
(Translate in the in-call notification opens CaptionActivity).
Captions + voice: my English is transcribed, translated and spoken to
the caller in Turkish in place of my mic.

Cloud: Groq free tier (whisper-large-v3-turbo + chat model, default
openai/gpt-oss-120b). On-device: Android's recognizer fed by a pipe,
ML Kit translation (full flavor only). Cloud failures fall back to
on-device per line. CI now builds both phone flavors.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01A6dfuKXonbMrZt6eppeqNz
- Floating translate button over the call screen; expands to a mini
  chat with mode buttons (needs Display over other apps).
- Caller and own language pickers (19 languages).
- Engines: Groq GPT-OSS 120B/20B, Cerebras GPT-OSS 120B, Gemini 2.5
  Flash-Lite, on-device ML Kit; separate keys; model override.
- Faster: heard text shows before translation, reused and pre-warmed
  connections, pause length option (0.45/0.6/0.9 s), last 3 lines as
  context; per-line timing log.
- Optional: read the caller's translation to me in the earpiece.
- Readable caption colors and a large-text option.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01A6dfuKXonbMrZt6eppeqNz
The caption list is laid out bottom-up, so a line stays in view while
its translation fills in. Full build ships arm64 only (ML Kit native
libs made the APK 67 MB; now 20 MB).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01A6dfuKXonbMrZt6eppeqNz
@ttabouch12
ttabouch12 merged commit 16539f9 into main Nov 8, 2026
1 of 2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant