Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/setup.py
diff options
context:
space:
mode:
authorSimon Schampijer <simon@schampijer.de>2012-01-13 11:35:18 (GMT)
committer Manuel QuiƱones <manuq@laptop.org>2012-01-23 12:28:21 (GMT)
commitdd61998241129b0546fb9e5c513d1bafae63e329 (patch)
tree45b22d60af96be3500ca7ed0b933c08f9829ae8c /setup.py
parent356c2da64a39244fb309a8274e6ec72cff0efe0a (diff)
Display pages based on locale specific information
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@laptop.org>
Diffstat (limited to 'setup.py')
0 files changed, 0 insertions, 0 deletions