Format numbers in the font size drop-down using mozIntl.NumberFormat
Categories
(Firefox :: Settings UI, defect, P3)
Tracking
()
People
(Reporter: ailea, Unassigned)
References
(Blocks 1 open bug)
Details
Attachments
(1 file)
29.93 KB,
image/png
|
Details |
Affected versions:
ALL
Affected platforms:
ALL
Preconditions:
Install an AR build.
Steps:
- Launch Firefox with a new profile using the AR build and go to about:preferences.
- 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.
![]() |
||
Comment 1•6 years ago
|
||
Moving to the prefs UI, as this is just about how/if to call into the APIs, not what they're doing.
Reporter | ||
Comment 2•6 years ago
|
||
"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."
Updated•6 years ago
|
Updated•3 years ago
|
Description
•