Page MenuHomePhabricator

change thousands separator character for Latin localization (la)
Closed, ResolvedPublic

Description

Currently, the Latin localization uses the en_US fallback number format, using a comma as the thousands separator character (1,234.56)

A community consensus was reached at [[la:Vicipaedia:Taberna#Numbers over One-Thousand]] that the preferred number format should use   as the thousands separator mark, but should continue to use the decimal point (1 234.56)

Therefore, please add the following line to languages/messages/MessagesLa.php :
$separatorTransformTable = array( ',' => ' ' );

Thanks! --[[la:Usor:UV]]


Version: 1.11.x
Severity: enhancement

Details

Reference
bz10375

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 9:52 PM
bzimport set Reference to bz10375.
bzimport added a subscriber: Unknown Object (MLST).

Would have to use the raw Unicode character, U+2009 (\xe2\x80\x89), to avoid breakage in text output.

Might be wise to confirm general browser support first.

(In reply to comment #1)

Would have to use the raw Unicode character, U+2009 (\xe2\x80\x89), to avoid
breakage in text output.

Might be wise to confirm general browser support first.

In case general browser support cannot be confirmed, please use the   character instead:
$separatorTransformTable = array( ',' => "\xc2\xa0" );

Thanks! --[[la:Usor:UV]]

(In reply to comment #2)

In case general browser support cannot be confirmed, please use the  
character instead:
$separatorTransformTable = array( ',' => "\xc2\xa0" );

Thanks! --[[la:Usor:UV]]

Applied with r23646.