Using a voice command to switch languages

I tried to make a voice command to switch the language from English to French when I use Voice-In.

But when I attempt to use the command, I get a brief window displaying the following error message, “ Unknown language en-FR selected”

I would appreciate any suggestions you have for how to troubleshoot this, so that I could make the command work. Thank you for making a wonderful program.

You are using the voice command almost correctly. The right command is
<lang:fr-FR>

fr-FR is the code for french. en-US is the code for English US.

List of languages and their codes are listed at https://dictanote.co/n/806053/