Yes Adam, reading Accept-Language in your WSGI app is the way to go. Browse activates this LibSoup setting in the session: https://developer.gnome.org/libsoup/stable/SoupSession.html#SoupSession--accept-language-auto
2013/7/19 Chris Leonard <[email protected]>: > Let's ask sugar-devel to field this question > > cjl. > > On Thu, Jul 18, 2013 at 8:36 PM, Adam Holt <[email protected]> wrote: >> CJL & All, plz see email below Braddock Gaskill requests I forward. A >> specific example would be XOs in Haiti are commonly set to French, Creole >> and English, depending on the teacher. While the XO's entire language is >> not changed commonly, it does happen, and it'd certainly make things simple >> if Sugar's language setting was inherited by Browse, as well as detected by >> the IIAB server? Or is there a better way?! >> >> =============================================== >> >> We are adding translations into several languages for the >> Internet-in-a-Box project (http://internet-in-a-box.org) for use with >> XOs and the School Server project. It presents a web interface to the >> user (a WSGI app running under Apache). >> >> We need to know the correct way to detect a user's language >> preferences. We currently look at the browser's Accept-Language >> request header. >> >> Is the Accept-Language header properly set on an XO to reflect the >> language preference of the user? Is this the best way to do language >> selection for XO users? >> >> Thanks, >> Braddock Gaskill >> Internet-in-a-Box Project >> >> _______________________________________________ >> Localization mailing list >> [email protected] >> http://lists.laptop.org/listinfo/localization >> > _______________________________________________ > Localization mailing list > [email protected] > http://lists.laptop.org/listinfo/localization -- .. manuq .. _______________________________________________ Sugar-devel mailing list [email protected] http://lists.sugarlabs.org/listinfo/sugar-devel

