Last modified: 2007-07-02 15:55:31 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T12375, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 10375 - change thousands separator character for Latin localization (la)
change thousands separator character for Latin localization (la)
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
Internationalization (Other open bugs)
1.11.x
All All
: Normal enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2007-06-26 21:36 UTC by uv.wiki
Modified: 2007-07-02 15:55 UTC (History)
0 users

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description uv.wiki 2007-06-26 21:36:32 UTC
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]]
Comment 1 Brion Vibber 2007-06-27 14:45:04 UTC
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.
Comment 2 uv.wiki 2007-07-01 18:03:28 UTC
(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]]
Comment 3 Raimond Spekking 2007-07-02 15:55:31 UTC
(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.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links