Closed
Bug 1001887
(Glow:L10NNumber)
Opened 12 years ago
Closed 12 years ago
Localize Number
Categories
(Websites :: glow.mozilla.org, defect)
Tracking
(Not tracked)
VERIFIED
FIXED
People
(Reporter: bensternthal, Assigned: bensternthal)
References
Details
Attachments
(1 file)
Put in comma or point depending on locale.
See bug 987191#c9 for discussion and context
Comment 1•12 years ago
|
||
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.
Comment 2•12 years ago
|
||
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
Comment 3•12 years ago
|
||
It's time to use ECMAScript Intl API.
Updated•12 years ago
|
Blocks: Glow:L10NTemplates
| Assignee | ||
Comment 4•12 years ago
|
||
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
You need to log in
before you can comment on or make changes to this bug.
Description
•