claude-code - 💡(How to fix) Fix [FEATURE] Allow multiple push-to-talk keybindings configured per language in voice-dictation settings. [1 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
anthropics/claude-code#52464Fetched 2026-04-24 06:06:32
View on GitHub
Comments
0
Participants
1
Timeline
3
Reactions
0
Participants
Timeline (top)
labeled ×3

Error Message

Claude Code in English, but needs to dictate labels, error messages, or UI strings

RAW_BUFFERClick to expand / collapse

Preflight Checklist

  • I have searched existing requests and this feature hasn't been requested yet
  • This is a single feature request (not multiple features)

Problem Statement

Voice dictation (/voice) only supports a single language at a time, configured globally in settings.json. Switching languages requires manually changing the setting between recordings, which interrupts the workflow when working in multilingual contexts.

Proposed Solution

Allow multiple push-to-talk keybindings, each bound to a specific language. This could be implemented in two complementary ways:

  1. Keybinding configuration: { "key": "v", "command": "/voice lang=pt-br" } { "key": "b", "command": "/voice lang=es-es" } { "key": "c", "command": "/voice lang=en" }

  2. Command syntax with inline language parameter: /voice lang=pt-br (activates push-to-talk with PT-BR transcription) /voice lang=es-es (activates push-to-talk with ES-ES transcription)

Alternative Solutions

  • Manually update the "language" setting in settings.json before each recording session. Works but breaks the flow — requires leaving the conversation to edit a config file.
  • Use a third-party STT tool (e.g. local Whisper) with per-key language switching via a custom CLI wrapper. Functional but adds external dependencies and process noise into the chat context.

Priority

Medium - Would be very helpful

Feature Category

CLI commands and flags

Use Case Example

A developer working in a multilingual environment (e.g. team meetings in Spanish, documentation in Portuguese, code comments in English) uses /voice to dictate messages to Claude Code. Currently they must stop, edit settings.json, and resume each time they switch languages. With per-language keybindings, they could press "b" to dictate in Spanish and "v" to dictate in Portuguese without leaving the conversation.

Additional Context

The /voice command already supports mixing voice and typing within the same message (tap mode). Per-language keybindings would extend this composability to multilingual messages — press one key, speak in language A, press another, speak in language B, then submit a single composed message.

Another practical scenario: a developer building a multilingual system instructs Claude Code in English, but needs to dictate labels, error messages, or UI strings in the target language. For example, asking Claude to "create a label called [dictates in Portuguese: 'Arquivo não encontrado']" — without per-language keybindings, the English STT would misinterpret or mangle the Portuguese string, forcing a manual settings switch just to dictate a single value.

extent analysis

TL;DR

Implementing per-language keybindings for the /voice command would allow users to switch languages without manually editing the settings file.

Guidance

  • Consider adding a lang parameter to the /voice command to support inline language specification, as proposed in the issue.
  • Evaluate the feasibility of introducing multiple keybindings, each bound to a specific language, to enhance the user experience in multilingual contexts.
  • Assess the potential impact of this feature on the existing settings.json configuration and the tap mode functionality.
  • Investigate how to handle language switching within a single message, ensuring a seamless experience for users.

Example

{
  "key": "v",
  "command": "/voice lang=pt-br"
}

This example illustrates how a keybinding could be configured to activate the /voice command with a specific language (PT-BR).

Notes

The implementation of per-language keybindings may require adjustments to the existing command syntax and settings configuration. It is essential to ensure that the new feature does not introduce compatibility issues or disrupt the current workflow.

Recommendation

Apply workaround: Implementing per-language keybindings would provide a more efficient and user-friendly solution for multilingual users, allowing them to switch languages without interrupting their workflow.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING

claude-code - 💡(How to fix) Fix [FEATURE] Allow multiple push-to-talk keybindings configured per language in voice-dictation settings. [1 participants]