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

Manuel Quiñones manuq at laptop.org
Mon Jan 23 10:30:39 EST 2012


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 ..


More information about the Sugar-devel mailing list