Open Bug 876541 Opened 11 years ago Updated 2 years ago

Locale casing and spacing resulting from Languages Selection and the same shipped by default should be consistent

Categories

(Firefox :: Settings UI, defect)

defect

Tracking

()

People

(Reporter: haqer, Unassigned)

Details

User Agent: Mozilla/5.0 (Windows NT 6.1; rv:21.0) Gecko/20100101 Firefox/21.0 (Beta/Release)
Build ID: 20130511120803

Steps to reproduce:

1. Start off with a clean profile, having default Accept-Language value
1.1. Check intl.accept_languages in about:config
2. Open Options/Preferences->Content->Languages Selection
3. Move the first locale down.
3.1. Check intl.accept_languages in about:config
4. Move the now 2nd locale back up.
4.1. Check intl.accept_languages in about:config


Actual results:

Prefence copies from about:config:
1.1. intl.accept_languages;en-US, en
3.1. intl.accept_languages;en,en-us
4.1. intl.accept_languages;en-us,en


Expected results:

Prefences copied from about:config should have been (3.1. and 4.1. matching 1.1.):
1.1. intl.accept_languages;en-US, en
3.1. intl.accept_languages;en, en-US
4.1. intl.accept_languages;en-US, en

Alternatively, prefences copied should have been as follows (1.1. matching the others):
1.1. intl.accept_languages;en-us,en
3.1. intl.accept_languages;en,en-us
4.1. intl.accept_languages;en-us,en
Of course, i meant Preferences instead of Prefences above...
Component: Untriaged → Preferences
OS: Windows 7 → All
Hardware: x86 → All
Version: 21 Branch → Trunk
Build identifier: Mozilla/5.0 (X11; Linux i686; rv:24.0) Gecko/20130610 Firefox/24.0, build ID: 20130610031147

Confirming the issue on latest nightly.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.