Closed Bug 1001887 (Glow:L10NNumber) Opened 12 years ago Closed 12 years ago

Localize Number

Categories

(Websites :: glow.mozilla.org, defect)

x86
macOS
defect
Not set
normal

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: bensternthal, Assigned: bensternthal)

References

Details

Attachments

(1 file)

43 bytes, text/x-github-pull-request
Details | Review
Put in comma or point depending on locale. See bug 987191#c9 for discussion and context
Based on http://www.unicode.org/cldr/charts/latest/by_type/numbers.symbols.html#a1ef41eaeb6982d And also on some style guides from Microsoft https://www.microsoft.com/Language/en-US/StyleGuides.aspx comma (,) = en, he, ko, ja, zh-CN, zh-TW dot (.) = de, es, id, it, nl, pt-BR, ro space = cs, fr, hu, pl, ru, sk, sq Personally I think we should use the space as fallback (more readable, for sure less confusing than having the decimal separator character used as group separator), or maybe leave it empty.
Adding sl and lt, since they might be ready for launch comma (,) = en, he, ko, ja, zh-CN, zh-TW dot (.) = de, es, id, it, nl, pt-BR, ro, sl space = cs, fr, hu, lt, pl, ru, sk, sq
Attached file pull request
It's time to use ECMAScript Intl API.
I had the wrong bug id in my pr. This was merged in: https://github.com/mozilla/mrburns/pull/150
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Verified
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: