Bug 1466936 - Website button link in Software makes Firefox not respect preferred languages preferences
Website button link in Software makes Firefox not respect preferred languages...
Product: Fedora
Classification: Fedora
Component: gnome-software (Show other bugs)
Unspecified Unspecified
unspecified Severity unspecified
: ---
: ---
Assigned To: Richard Hughes
Fedora Extras Quality Assurance
Depends On:
  Show dependency treegraph
Reported: 2017-06-30 15:53 EDT by Michal Stanke (Mozilla.cz) [:MikkCZ][:mstanke] (use needinfo)
Modified: 2017-07-03 06:55 EDT (History)
3 users (show)

See Also:
Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2017-07-03 06:55:05 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Michal Stanke (Mozilla.cz) [:MikkCZ][:mstanke] (use needinfo) 2017-06-30 15:53:21 EDT
Description of problem:
When clicking the website button in Software, the mozilla.org website opens in English version, despite the local version exists.

Version-Release number of selected component (if applicable):
Fedora 25
Firefox 54.0

How reproducible:
1. Have Firefox on Czech Fedora installation as default browser.
2. In Firefox content preferences ensure Czech (cs) is the preferred language.

Steps to Reproduce:
1. Go to Software.
2. Find Firefox there.
3. Click the website button.

Actual results:
https://www.mozilla.org/en-US/ is opened instead the expected localized version https://www.mozilla.org/cs/

The link from Software makes Firefox ignore the preferred language preferences and as a consequence it gets redirected to the en-US version of the website. To make things worse, this pollutes the cache and the redirect to the appropriate version won't work not even from regular links on the web, unless you clear the browser cache.
Comment 1 Richard Hughes 2017-07-03 06:55:05 EDT
in firefox git-dist: commit fb4e18f620ba19d05304f497e9a339464cde26cc (HEAD -> master)
Author: Richard Hughes <richard@hughsie.com>
Date:   Mon Jul 3 11:54:21 2017 +0100

    Do not hardcoded locale when clicking links in gnome-software
    Resolves: #1466936

The next build should contain this fix.

Note You need to log in before you can comment on or make changes to this bug.