Last modified: 2006-01-03 15:23:06 UTC
I had to transfer formatNum() code from the Russian language
LanguageRu.php to LanguageHr.php in order to make the
last patch http://bugzilla.wikimedia.org/show_bug.cgi?id=3656
(convertPlural()) work properly. This removes
the thousands separator from the number of articles, because
in Croatian this is a dot (instead of a comma in English)
and this confuses the convertPlural() function.
Created attachment 992 [details]
Patch to remove the thousands separator
(In reply to comment #1)
> Created an attachment (id=992) 
> Patch to remove the thousands separator
You don't want to use $wgTranslateNumerals, it's only for language like Arabic
that have two widely used number format systems, which I understand is not the
case for Russian.
Created attachment 998 [details]
Patch to remove the commafy() from the current file
This fixes the problem with convertPlural() in LanguageHr.php. It dumps the
thousands separator, but that's a price worth paying because
a wrong case looks just awful in Croatian, and a missing
separator is not that big an issue. :-)
Another solution applied.