Bug 332719

Summary: accept_language should also specify "en" whenever "en-US" is requested
Product: [Applications] konqueror Reporter: Ed Greshko <Ed.Greshko>
Component: generalAssignee: Konqueror Developers <konq-bugs>
Status: RESOLVED WORKSFORME    
Severity: normal CC: andrew.crouthamel
Priority: NOR    
Version: 4.12.3   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
URL: http://start.fedoraproject.org
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Ed Greshko 2014-03-27 23:39:40 UTC
I've got these installed on my system....

kde-l10n-4.12.3-1.fc20.noarch
kde-l10n-Japanese-4.12.3-1.fc20.noarch
kde-l10n-Chinese-Traditional-4.12.3-1.fc20.noarch
kde-l10n-Korean-4.12.3-1.fc20.noarch
kde-l10n-Chinese-4.12.3-1.fc20.noarch

In system settings the language preferences are set in the order of...

American English
Chinese Traditional

When a page is requested the accept_language transmitted to the server is

en-US,zh-TW;q=0.9,en;q=0.8

However, since the URL given only defines its language as "en" the Traditional Chinese is returned.  It would be more logical to include "en" in the request.

Reproducible: Always

Actual Results:  
The Chinese version of the page is returned by the server.

Expected Results:  
I would expect an English version returned even if that happens to be "British English" or "Australian English".
Comment 1 Andrew Crouthamel 2018-11-11 04:36:11 UTC
Dear Bug Submitter,

This bug has been stagnant for a long time. Could you help us out and re-test if the bug is valid in the latest version? I am setting the status to NEEDSINFO pending your response, please change the Status back to REPORTED when you respond.

Thank you for helping us make KDE software even better for everyone!
Comment 2 Ed Greshko 2018-11-11 05:15:49 UTC
Well, yes, 4 years is a long time.  I no longer use konqueror and it seems not to be a bother to others over the years.  So, unless there is a need by someone else I think it is best to simply close it.
Comment 3 Ed Greshko 2018-11-11 05:17:47 UTC
Oh, besides, it seems that many sites now ignore this requested language and use the geolocation of the requesting IP.
Comment 4 Andrew Crouthamel 2018-11-11 05:49:52 UTC
Thanks for the update!