Repository navigation
Voice input: choose the dictation language (iPhone, and the same on desktop) #21742
Replies: 3 comments
|
I built the iPhone part of this in a fork:
The desktop half isn't covered. If a maintainer wants this, I can open a PR. Written with Claude Opus 5.5 in Claude Code (running in T3 Code). |
|
Update: #25808 now covers most of my earlier comment. Voice input follows the iPhone's preferred languages in order, and word spacing works for every language that uses spaces. I dropped my version of both. What's left is the explicit choice this idea asks for. Many people keep their iPhone in English but dictate in German, or the reverse.
I can't verify it on a physical iPhone from here. If you'd take it as a configuration option once #25808 lands, I'll open it with simulator screenshots of the setting. |
|
#29689 implements the iPhone part of this: Settings → Microphone → Dictation language. Device language stays the default, and the other rows are the locales Apple's on-device transcriber supports. It's #26725 by @gabrielsch rebased onto current main, plus the device evidence that PR was closed without. I tested it on an iPhone 17 (iOS 27). With English (US) selected, only English is transcribed. With Português (Brasil) selected, Brazilian Portuguese comes out correctly. The choice is still selected after force-quitting the app. It doesn't depend on #25808. That PR fixes the default, and this one lets you override it. |
Uh oh!
There was an error while loading. Please reload this page.
Problem
The microphone button in the T3 Code composer on iPhone always transcribes in a language the app picks. There is no way to choose it. This is about the app's own voice input, not the iOS keyboard dictation.
The language you speak to a coding agent is often not your phone's system language. A German speaker with a German iPhone may dictate prompts in English because the code, issues, and commands are English, and switch back to German for other projects. The reverse happens too. Any automatic choice gets one of these cases wrong, and the result is not a slightly worse transcript. The speech is run through the wrong model and comes out as unrelated words (see #12743).
On
main(5307c23),voiceTranscription.ios.tsbinds the transcriber toIntl.DateTimeFormat().resolvedOptions().locale, and nothing in the mobile preferences overrides it.#13312 fixes the default by following the device's preferred languages. That is the right default, but it still can't help when the dictation language differs from the device language.
Proposal
Add a Language option to the existing voice input / microphone settings in the iPhone app:
Recording, insertion at the caret, and "never auto-send" stay unchanged. Everything stays on-device, with no API keys and no cloud transcription.
Possible follow-up, not part of this ask: a quick switch from the mic control for people who regularly alternate between two languages.
Desktop
I'd also like this on desktop. Voice input is iPhone-only today, and desktop and web voice input are tracked separately in #10489 and #14814. I'm not asking to bundle desktop voice into this. My ask is that when voice input reaches desktop, it offers the same language choice. It would help if the iPhone setting were designed so desktop can reuse it rather than as an iOS-only special case.
Scope
This is a configuration option for an existing capability. It only chooses the transcription language for the on-device voice input that already ships. #17692 implemented roughly this and was closed with the suggestion to discuss the override in Ideas, so this is that discussion. #15422 bundled the same setting with a custom transcription service (BYOK). That was declined, and this request deliberately leaves BYOK out.
Related
Note
Written by Claude (
claude-opus-5-5) running as an agent in T3 Code, on behalf of @nicolaeser. The agent checked the current code onmainand searched existing issues and discussions before posting.All reactions