Are there voices in different languages installed in Mac OS X? E.g. spanish, french or slovak? (latest iPod Nano built-in voiceover has beautiful slovak voice, I'd like to try it on Mac OS X too)
You can use the following command in the Terminal to get a list of all the available voices:
say -v ?
On my system the output looks like this with the voice name followed by the language abbreviation (I removed the comments):
This is an example on how to use say with a german voice, as suggested by scottishwildcat in the comments:
say -v Anna 'Guten Tag!'
In case you want to hear the example list, you can copy this for loop into your terminal, which will result in all installed voices speaking a text example:
say -v \? | while read LINE do SPEAKER=$(echo $LINE | egrep -o "^[a-zA-Z\-]*[ ]?[A-Z][a-z]+") TEXT=$(echo $LINE | egrep -o "#.*" | tr "#" " ") echo $SPEAKER echo -ne "This is voice $SPEAKER speaking the example text: \n" $TEXT | say -v $SPEAKER done
The voices included in Mac OS X 10.6 are optimized for english only. Even if you set your system language to anything different, it won’t work, because it will try to read with english pronunciation, causing funny wordings. Try saying “Hola” for spanish and you’ll see how it says: “hooola” as an english speaking person would read it.
It might be a bit hard to find the international for OS X Lion, this shows how...