Open Bug 1611161 Opened 6 years ago Updated 3 years ago

Format numbers in the font size drop-down using mozIntl.NumberFormat

Categories

(Firefox :: Settings UI, defect, P3)

defect

Tracking

()

People

(Reporter: ailea, Unassigned)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

Attached image AR.png

Affected versions:

ALL

Affected platforms:

ALL

Preconditions:

Install an AR build.

Steps:

  1. Launch Firefox with a new profile using the AR build and go to about:preferences.
  2. Scroll down to Language and Appearance section.

Actual result:

Font size drop-down displays western numerals. Default zoom drop-down displays eastern arabic numerals I think.

Expected result:

All drop-downs should display the numbers in the same format.

Moving to the prefs UI, as this is just about how/if to call into the APIs, not what they're doing.

Component: Internationalization → Preferences
Product: Core → Firefox

"We follow CLDR (and ECMA402 Intl.NumberFormat) default numerals for a locale. In case of Arabic, there's a debate over what should be default numeral system for ar and we know which one should be for each of the ar-* regions. So, I assume that Fluent used Intl.NumberFormat and its numeral system here and used eastern arabic numerals, rather than western arabic numerals. As we migrate more of Firefox to Fluent we expect all numerals to stay consistent. In case of the standalone dropdown with numerals, like in the screenshot, I'd expect it to be fixed by running the numbers via Intl.NumberFormat.format."

Priority: -- → P3
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: