SpeechLanguage

The language that text-to-speech and speech-to-text should use. Select auto to use the configured display language if possible. Note that not all display languages maybe supported by speech recognition and synthesizers.

{
  "accessibility.voice.speechLanguage": "auto" // default
}

Type

string

Default

"auto"

Possible Values

"auto" - Auto (Use Display Language)

"da-DK" - Danish (Denmark)

"de-DE" - German (Germany)

"en-AU" - English (Australia)

"en-CA" - English (Canada)

"en-GB" - English (United Kingdom)

"en-IE" - English (Ireland)

"en-IN" - English (India)

"en-NZ" - English (New Zealand)

"en-US" - English (United States)

"es-ES" - Spanish (Spain)

"es-MX" - Spanish (Mexico)

"fr-CA" - French (Canada)

"fr-FR" - French (France)

"hi-IN" - Hindi (India)

"it-IT" - Italian (Italy)

"ja-JP" - Japanese (Japan)

"ko-KR" - Korean (South Korea)

"nl-NL" - Dutch (Netherlands)

"pt-BR" - Portuguese (Brazil)

"pt-PT" - Portuguese (Portugal)

"ru-RU" - Russian (Russia)

"sv-SE" - Swedish (Sweden)

"tr-TR" - Turkish (Türkiye)

"zh-CN" - Chinese (Simplified, China)

"zh-HK" - Chinese (Traditional, Hong Kong)

"zh-TW" - Chinese (Traditional, Taiwan)

Description

Controls which language the speech synthesizer reads text. Leaving it on the default "auto" will read it in the same display language that you have in VSCode, if that language is available. I assume it will choose and appropriate “close-enough” language if there is no synthesizer for your display language.

I have my display language as "en-US" but my synthesizer language as the pleasing "en-IE". Note that this requires the appropriate voice extension. If you set your speech language as something other than your display language and do not have the appropriate extension, VSCode will prompt you do install the extension.