Re: Detecting the native locale

2008-03-08 Thread Joshua Minor
There is a pulldown menu that lets you pick any accent that espeak supports (minus a few that don't produce sound). If you want to select one of those as your default, you can configure Speak any way you want (eyes, mouth, etc) and then press Keep. Resuming that entry in the Journal will

Re: Detecting the native locale

2008-03-08 Thread Walter Bender
Not sure what you mean. Speak lets you choose a voice model and sugar-control-panel lets you set locale. The idea was to have the default model set by default to the current locale, but not eliminate the other models. -walter On Sat, Mar 8, 2008 at 2:50 PM, Ixo X oxI <[EMAIL PROTECTED]> wrote: >

Re: Detecting the native locale

2008-03-08 Thread Ixo X oxI
Although.. :) I would be really neat if this was settable as a user option, inside speak too. Example, In locale of US or UK, tune to speak with French accent or vice versa . :) Or in non-english locales, tune to english to learn english speaking ? -Ixo 2008/3/8 Joshua Minor <[EMAIL PROTECTED]

Re: Detecting the native locale

2008-03-08 Thread Joshua Minor
Great. This seems to be working. I've updated Speak to v5. -josh On Mar 8, 2008, at 8:47 AM, Walter Bender wrote: $LANG should do the trick. If you want to experiment, try using sugar-control-panel to set the language. -walter On Sat, Mar 8, 2008 at 10:42 AM, Joshua Minor <[EMAIL PROTECT

Re: Detecting the native locale

2008-03-08 Thread Sayamindu Dasgupta
Hi, You can take a look at the implementation http://library.gnome.org/devel/glib/stable/glib-I18N.html#g-get-language-names There are four environment variables that are taken into account for this kind of work 'LANGUAGE', 'LC_ALL', 'LC_MESSAGES', 'LANG' I had made a method to implement the same

Re: Detecting the native locale

2008-03-08 Thread Walter Bender
$LANG should do the trick. If you want to experiment, try using sugar-control-panel to set the language. -walter On Sat, Mar 8, 2008 at 10:42 AM, Joshua Minor <[EMAIL PROTECTED]> wrote: > I'm trying to make Speak pick its default accent based on the native > language of the laptop (per Walter's

Detecting the native locale

2008-03-08 Thread Joshua Minor
I'm trying to make Speak pick its default accent based on the native language of the laptop (per Walter's request http://dev.laptop.org/ticket/6656 ) This is a bit different from normal localization - although I need to do that also - because it is not just replacing strings. My guess is