GNOME Bugzilla – Bug 397306
[pending] Orca's default synthesis engine choice should take language into account
Last modified: 2008-06-17 19:12:31 UTC
From orca-list@gnome.org: "Could Orca select by default the relevant language for gnome-speech? I am running an old version of Orca so sorry if the feature is already available. It would be great if the default language of gnome-speech match the preferred language of the user. For example: * if a French user starts for the first time a Gnome desktop offering Orca + eSpeak, he may expect that eSpeak will speak automatically in French. * If a Chinese user has his environment variables: LANGUAGE=zh LANG=zh_HK.Big5 and starts for the first time Orca + IBM TTS, the Traditionnal Chinese language (zh_HK) could be selected if present in the voice list. Note: the eSpeak driver will supply soon the correct language info (after r268). "
Created attachment 112629 [details] [review] Patch to try to make some match to whatever gnome-speech is giving us In looking at this bug further, and in working more with accessible login, I now realize that the default voice choice is actually pretty important. If the user's login language is French, for example, Orca will still currently come up with whatever language it wants to when one activates Orca at the login screen. gnome-speech doesn't make this easy because it passes language and region information on to us directly from the speech synthesis engine. So, if the speech synthesis engine does things in a way we don't expect, we can get information that is hard to understand. This patch attempts to find some level of match for a language and region and tries to make the 'best' match the default voice. I tested this with the fr_FR (French for France) language choice and it seemed to do the right thing. It did expose another issue with login, though. See bug #487585.
Patch also committed to gnome-2-22 branch for GNOME 2.22.3. Closing as FIXED.