Web browser should send the system language to websites (Accept-Language field)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Oxide |
Fix Released
|
High
|
Chris Coulson | ||
oxide-qt (Ubuntu) |
Fix Released
|
High
|
Unassigned |
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://
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-
---
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://
Related branches
summary: |
- Ubuntu Browser doesn't present system language to websites. + Ubuntu Browser should send the system language to websites |
summary: |
- Ubuntu Browser should send the system language to websites + Web browser should send the system language to websites (Accept-Language + field) |
tags: | added: i18n |
description: | updated |
Changed in oxide-qt (Ubuntu): | |
status: | Fix Committed → Fix Released |
Status changed to 'Confirmed' because the bug affects multiple users.