Firefox didn't use the OS default locale

Bug #1771272 reported by handsome_feng
22
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Default settings and artwork for Baltix OS
Confirmed
High
Mantas Kriaučiūnas
ubuntu-defaults-builder (Ubuntu)
New
Undecided
Unassigned
Bionic
New
Undecided
Unassigned
ubuntu-defaults-zh-cn (Ubuntu)
Confirmed
Undecided
Unassigned
Bionic
Confirmed
Undecided
Unassigned
ubuntukylin-default-settings (Ubuntu)
Fix Released
Undecided
Unassigned
Bionic
Fix Released
Undecided
Unassigned

Bug Description

[Impact]
The default language of firefox is English, and it should use the OS default locale.

[Test Case]
1. Choose "Chinese" when install Ubuntu Kylin 18.04.
2. Open Firefox browser and check its default language
Expected Result: Chinese
Actual Result:English

[Regression Potential]
Low, we just set pref `intl.locale.requested` to an empty string (""), which will cause the browser to use the OS default locale.

Revision history for this message
handsome_feng (feng-kylin) wrote :
tags: added: verification-needed
tags: added: verification-needed-bionic
Revision history for this message
handsome_feng (feng-kylin) wrote :

Hi,

Could someone help to upload this?

Thanks!

Revision history for this message
Simon Quigley (tsimonq2) wrote :

Uploaded, sorry for the delay!

Changed in ubuntukylin-default-settings (Ubuntu Bionic):
status: New → Fix Committed
Changed in ubuntukylin-default-settings (Ubuntu):
status: New → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package ubuntukylin-default-settings - 1.4.5

---------------
ubuntukylin-default-settings (1.4.5) cosmic; urgency=medium

  * Set firefox to use the OS default locale (LP: #1771272).

 -- handsome_feng <email address hidden> Wed, 02 May 2018 10:24:15 +0800

Changed in ubuntukylin-default-settings (Ubuntu):
status: Fix Committed → Fix Released
Revision history for this message
Brian Murray (brian-murray) wrote : Please test proposed package

Hello handsome_feng, or anyone else affected,

Accepted ubuntukylin-default-settings into bionic-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/ubuntukylin-default-settings/1.4.4.1 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how to enable and use -proposed.Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested and change the tag from verification-needed-bionic to verification-done-bionic. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-bionic. In either case, without details of your testing we will not be able to proceed.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance!

Revision history for this message
handsome_feng (feng-kylin) wrote :

Hi,

I have testing ubuntukylin-default-settings 1.4.4.1 in ubuntukylin 18.04, and It works fine.

tags: added: verification-done-bionic
removed: verification-needed-bionic
tags: added: verification-done
removed: verification-needed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package ubuntukylin-default-settings - 1.4.4.1

---------------
ubuntukylin-default-settings (1.4.4.1) bionic; urgency=medium

  * Set firefox to use the OS default locale (LP: #1771272).

 -- handsome_feng <email address hidden> Wed, 02 May 2018 10:24:15 +0800

Changed in ubuntukylin-default-settings (Ubuntu Bionic):
status: Fix Committed → Fix Released
Revision history for this message
Łukasz Zemczak (sil2100) wrote : Update Released

The verification of the Stable Release Update for ubuntukylin-default-settings has completed successfully and the package has now been released to -updates. Subsequently, the Ubuntu Stable Release Updates Team is being unsubscribed and will not receive messages about this bug report. In the event that you encounter a regression using the package from -updates please report a new bug using ubuntu-bug and tag the bug report regression-update so we can easily find any regressions.

Changed in baltix-default-settings:
status: New → Confirmed
importance: Undecided → High
assignee: nobody → Mantas Kriaučiūnas (mantas)
Revision history for this message
Mantas Kriaučiūnas (mantas) wrote :

Problem exist also in ubuntu-defaults-it , ubuntu-defaults-zh-cn and ubuntu-defaults-baltix packages - line
intl.locale.requested=""
is missing in /usr/lib/firefox/distribution/distribution.ini

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in ubuntu-defaults-zh-cn (Ubuntu Bionic):
status: New → Confirmed
Changed in ubuntu-defaults-zh-cn (Ubuntu):
status: New → Confirmed
tags: added: trusty xenial
Revision history for this message
Mantas Kriaučiūnas (mantas) wrote :

line
intl.locale.requested=""
 in /usr/lib/firefox/distribution/distribution.ini was added in Firefox 59.0.1 builds, for example: https://launchpad.net/ubuntu/+source/firefox/59.0.1+build1-0ubuntu1

Revision history for this message
Jonas Juodė (jonukas) wrote :

Problem is in ubuntu-defaults-builder package, /usr/bin/dh_ubuntu_defaults script - for Firefox 59+ this script should add line
intl.locale.requested=""
in file /usr/lib/firefox/distribution/distribution.ini
I'm attaching a patch againts /usr/bin/dh_ubuntu_defaults script

tags: added: patch
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.