Re: [tuxdroid-user] Automatically detect language
Status: Beta
Brought to you by:
ks156
From: Georges D. <geo...@la...> - 2007-08-13 10:28:17
|
On Monday 13 August 2007 11:49:15 David Bourgeois wrote: > > The fallback to the male american voice is done in tuxttsd so you don't > really have access to that but in case you want some modifications, just > add a new issue to the trackers and that will be taken into account for > next release. > > On the other hand, you can get a list of all installed voices from the > events in the API. That list is used in the latest GTDI so only the > installed languages are shown. This list could also be used to enforce the > language selection. > > David I don't have my tux with me, so I can't check. Is the tux.tts.authorized_voices_list the list you're talking about ? If it's that, I'll write a patch that check whether the selected language is present, and return a message containing the url if not. Once done, maybe I can add a new function based on that code that would determine which language is to used. Maybe it could be used during the install in order to dowload the needed language. Georges |