Page MenuHomePhabricator

Change Spanish formatnum behavior
Closed, ResolvedPublic

Description

Author: bachinchi

Description:
According to the Manual of Style, the numbers should be separated by spaces (non-breaking spaces). The comma and dot can be used as decimal separators.

We request to change the current behavior to match the one of fr.wikipedia with the difference the dot should be accepted as decimal separator too, although the comma is preferred.

So, formatnum would return this:

{{formatnum:1890.01}} -> 1 890,0

{{formatnum:1890,01}} -> 1 890,0

{{formatnum:1890}} -> 1 890


Version: unspecified
Severity: enhancement
URL: http://buscon.rae.es/dpdI/SrvltGUIBusDPD?lema=n%C3%BAmeros#2

Details

Reference
bz34977

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 22 2014, 12:12 AM
bzimport set Reference to bz34977.
bzimport added a subscriber: Unknown Object (MLST).

This isn't a per project customisation, it's done per language.

bachinchi wrote:

Well, the spanish Wikipedia doesn't say that. It was defined by the Real Academia Española, so it's kind of official: http://buscon.rae.es/dpdI/SrvltGUIBusDPD?lema=n%C3%BAmeros#2

There is a CLDR feedback welcome period beginning from next Wednesday (2012-04-04), seems something to report them.

Gerrit change #34429 merged. Marking this bug as resolved.