Detecting the native locale
Walter Bender
walter at laptop.org
Sat Mar 8 15:36:55 EST 2008
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 <ixo at myna.ws> wrote:
> 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 <j at lux.vu>:
>
> 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 <j at lux.vu> wrote:
> >
> > > 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 that I can just look at the environment variable $LANG and
> > > pick an accent with a similar ISO 639 language code.
> > >
> > > Can anyone confirm that using $LANG is appropriate for this?
> > >
> > > Also, aside from just setting $LANG to something else, how can I test
> > > that this actually works?
> > >
> > > -josh
> > >
> > > _______________________________________________
> > > Devel mailing list
> > > Devel at lists.laptop.org
> > > http://lists.laptop.org/listinfo/devel
> > >
> >
> >
> >
> > --
> > Walter Bender
> > One Laptop per Child
> > http://laptop.org
> >
> >
> >
> > _______________________________________________
> > Devel mailing list
> > Devel at lists.laptop.org
> > http://lists.laptop.org/listinfo/devel
> >
> >
>
--
Walter Bender
One Laptop per Child
http://laptop.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.laptop.org/pipermail/devel/attachments/20080308/436b437a/attachment.html>
More information about the Devel
mailing list