Change Spanish formatnum behavior
Closed, ResolvedPublic


Author: bachinchi

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


bzimport raised the priority of this task from to Normal.
bzimport set Reference to bz34977.
bzimport added a subscriber: Unknown Object (MLST).
bzimport created this task.Mar 4 2012, 11:08 PM
Reedy added a comment.Mar 4 2012, 11:15 PM

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:

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

Gerrit change 34429.

Also reported to CLDR on

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