Bug 1466936 - Website button link in Software makes Firefox not respect preferred languages preferences
Summary: Website button link in Software makes Firefox not respect preferred languages...
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: gnome-software
Version: 25
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Richard Hughes
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-06-30 19:53 UTC by Michal Stanke [:MikkCZ][:mstanke] (use needinfo)
Modified: 2017-07-03 10:55 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2017-07-03 10:55:05 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Michal Stanke [:MikkCZ][:mstanke] (use needinfo) 2017-06-30 19:53:21 UTC
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:
STR:
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 10:55:05 UTC
in firefox git-dist: commit fb4e18f620ba19d05304f497e9a339464cde26cc (HEAD -> master)
Author: Richard Hughes <richard>
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.