← Back to team overview

touch-packages team mailing list archive

[Bug 1464159] Re: Web browser should send the system language to websites (Accept-Language field)

 

The code is already there in oxide to support a localized Accept-
Language header, but it appears that the translation files needed for
this are not being installed.

** Package changed: webbrowser-app (Ubuntu) => oxide-qt (Ubuntu)

** Changed in: oxide-qt (Ubuntu)
   Importance: Undecided => High

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to webbrowser-app in Ubuntu.
https://bugs.launchpad.net/bugs/1464159

Title:
  Web browser should send the system language to websites (Accept-
  Language field)

Status in oxide-qt package in Ubuntu:
  Confirmed

Bug description:
  When the user has selected a specific system language for the phone,
  the Accept-Language HTTP header field should be set to that language.

  Currently, Accept-Language is hardcoded to "en-us;en;q=0.8".

  To test:

  1. [In the phone] Go to System → Language and Text → System Language
  Select something other than "English (United States)".

  2. To check the Accept-Language value, visit a website like
  http://myhttp.info

  WHAT HAPPENS NOW:
  Currently, Accept-Language is hardcoded to "en-us;en;q=0.8". 

  WHAT SHOULD HAPPEN: 
  The Accept-Language HTTP field should reference the system language (for example, for Greek, it should say something like "el;en-us;en;q=0.8". 

  
  ---
  I created a webapp for the secure email service Tutanota.  One nice feature is that it is localized in several different lanaguages and it automatically presents its interface in the user's preferred language.

  Unfortunately, the Ubuntu browser does not present the Accept-Language
  header and Tutanota does not offer language as a settings option.

  I think it would be optimal if the browser uses the system language as
  the Accept-Language header (and would be awesome if it used the active
  keyboard layout options to create a list of additional languages), and
  of course even better if the browser settings page also allowed
  customization as well.

  More information on this header is available here:

  http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.4

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/oxide-qt/+bug/1464159/+subscriptions


References