After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 397306 - [pending] Orca's default synthesis engine choice should take language into account
[pending] Orca's default synthesis engine choice should take language into ac...
Status: RESOLVED FIXED
Product: orca
Classification: Applications
Component: speech
2.17.x
Other All
: High normal
: 2.22.3
Assigned To: Willie Walker
Orca Maintainers
Depends on:
Blocks:
 
 
Reported: 2007-01-16 16:44 UTC by Willie Walker
Modified: 2008-06-17 19:12 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Patch to try to make some match to whatever gnome-speech is giving us (2.31 KB, patch)
2008-06-12 17:18 UTC, Willie Walker
committed Details | Review

Description Willie Walker 2007-01-16 16:44:15 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).
"
Comment 1 Willie Walker 2008-06-12 17:18:43 UTC
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.
Comment 2 Willie Walker 2008-06-17 19:12:31 UTC
Patch also committed to gnome-2-22 branch for GNOME 2.22.3.  Closing as FIXED.