Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Speak the time on the hour in French' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Speak the time on the hour in French
Authored by: rickybuchanan on Jan 03, '08 01:21:08AM
A script like this would allow you to do that, as the say command has a -v voicename switch to specify which voice. So if you put whatever French text you want instead of the English text and specify the correct voice with the command, it will say the numbers in French automatically.

You'll need a French voice to do this with, such as the ones AssistiveWare sell - you can't get the default Apple voices to speak languages other than English.

Assuming your French voice was Alice the command would be (excuse my French) something like this:
say -v Alice Le temps est maintenant `date +%I` heures.
I think.

I don't actually use non-English voices - I just use both the American and British ones which is probably a little different - so if this doesn't work I suggest you consult Tom at The Multilingual Mac blog about it. It's definititely do-able though.

Ricky
ATMac - http://atmac.org/ - Assistive Technology for Mac OS X Users

---
[Please excuse mistakes/brevity, typed via on-screen keyboard due to disability]

[ Reply to This | # ]