It's a problen about plural forms in some languages. Example, where
are 3 form of plural in Russian, depending on "count mod 10".
Some translations (transliteration):
120 articles = 120 statEY
121 articles = 121 statYA
122 articles = 122 statYI
123 articles = 123 statYI
125 articles = 125 statEY
126 articles = 126 statEY
See
http://en.wikipedia.org/wiki/Plural
So I have written function "convertPluralForm" in Language.php and
LanguageRu.php. Invoked:
{{NUMBEROFARTICLES}}
{{pluralform:{{NUMBEROFARTICLES}}|wordform1|wordform2|wordform3}}
and it's fine, but it don't work in MediaWiki messages. Examle in
"MediaWiki:categoryarticlecount" ("There are $1 articles in this
category."), because in
$1 {{pluralform:$1|wordform1|wordform2|wordform3}}
substitution of number occurs later, than a call of function (function
pluralform receives not number, but a string "$1").
Any ideas?
--
meta:ajvol