[Sugar-devel] [PATCH browse] Display pages based on locale specific information

Chris Leonard cjlhomeaddress at gmail.com
Mon Jan 23 10:45:21 EST 2012

This sounds good,  I certain;y have no objections, but I would like to
understand a little more about how this works so I can determine if we
need to do anything to improve upstream support for some of the
less-common langs where Sugar Labs is on the "bleeding edge" of L10n.
It might be as simple as pushing more glibc locales upstream, but I'd
like to have a better handle on the process if someone is wiling to
explain it to a non-devel in a human language instead of a computer
language :-)



2012/1/23 Manuel Quiñones <manuq at laptop.org>:
> El día 13 de enero de 2012 08:35, Simon Schampijer
> <simon at schampijer.de> escribió:
>> This displays pages based on your locale information e.g. 'google.com'
>> will be in French when your locale is set to 'fr'. We use our
>> associated SoupSession to set the "accept-language-auto" property [1]
>> which will set the 'accept-language' header when making requests based
>> on the return value of g_get_language_names() [2]. This does
>> replace our custom code that did determine the locale information
>> and the 'intl.accept_languages' [3] property before.
>> [1] http://developer.gnome.org/libsoup/stable/SoupSession.html#SoupSession--accept-language-auto
>> [2] http://developer.gimp.org/api/2.0/glib/glib-I18N.html#g-get-language-names
>> [3] http://kb.mozillazine.org/About:config_entries#Intl.
>> Signed-off-by: Simon Schampijer <simon at laptop.org>
> Great,
> Acked-by: Manuel Quiñones <manuq at laptop.org>
> --
> .. manuq ..
> _______________________________________________
> Sugar-devel mailing list
> Sugar-devel at lists.sugarlabs.org
> http://lists.sugarlabs.org/listinfo/sugar-devel

More information about the Sugar-devel mailing list