[Feature]: Chinese (zh-CN) speech recognition and desktop composer voice #10489
Replies: 2 comments
|
This could be easilly done with #10708 where you could just hook up whatever input capability you wanted |
|
This gist is a demonstration of how this feature could be built or customized with the Qt/QML branch. It is an example to try and adapt, not a complete implementation of the discussion request or a feature shipped in upstream T3 Code. I added an opt-in local dictation example for the Qt composer. Once configured with an existing Python environment and faster-whisper model, it uses Linux PipeWire capture and local CPU transcription, then inserts an editable transcript at the caret without sending it. It installs or downloads nothing and stays disabled until configured. A result arriving after a thread switch is retained for copying instead of being inserted into the wrong draft. The gist also includes a paste-transcript alternative. The actual Dictate and Stop controls were tested with prerecorded Mandarin audio and an existing local faster-whisper large-v3 model. The recognizer inserted The screenshot shows that real recognition result on workspace 5, alongside demo conversation data. Code and checks assisted by Codex. |

Uh oh!
There was an error while loading. Please reload this page.
Problem
Voice dictation in T3 Code is iPhone-only today, and the shipped iOS path does not treat Chinese (or mixed Chinese–English) as a first-class locale.
I write prompts in Chinese and in mixed Chinese–English (identifiers, paths, and commands inside a Chinese sentence). On iPhone the composer already has a microphone. On T3 Code desktop there is no equivalent control, so the same workflow is keyboard-only.
This is not UI localization. It is speech-to-text into the composer draft.
Current status (verified 2026-09-07)
Proposed solution
Two scoped product requirements, one capability:
Chinese speech recognition on whatever dictation path you ship
zh-CN(and mixed Chinese–English in one utterance).把 src/auth.ts 里的 verifyToken 改掉should land as editable composer text with both Han characters and Latin identifiers, not as pinyin-only or English-only.Desktop composer voice, parity with iPhone
Smallest useful scope
zh-CN+ mixed Chinese–English on the existing Apple transcriber.Out of scope for this ask: TTS, sending raw audio to the agent, Android, UI translation.
Why this matters
Chinese-speaking developers use T3 from the phone and the desktop. Typing mixed Chinese–English is slow. Voice is already in the iPhone composer; without Chinese STT and without desktop, the feature is unusable for that workflow.
Contribution
I can test iOS + macOS desktop with a Chinese IME and mixed utterances, and report transcripts. I am not proposing a specific STT vendor.
All reactions