This question already has an answer here:
I am learning French and sometimes need to use Text to Speech to fix my pronunciation. As English is my second language, I also sometimes use Text to Speech with it.
The problem is that the English voices do not have correct French pronunciation, and vice versa. I have to open System Preferences to switch between the two every time.
How can I automatically switch between the voices according to the language of the text selected to be spoken? If there is no way to do that, how would do it using Automator/AppleScript?