Hi,
Messages such as these: * MediaWiki:Pfunc-convert-unit-length-metre * MediaWiki:Pfunc-convert-unit-length-angstrom * MediaWiki:Pfunc-convert-unit-length-mile
all have a problem: they only take the plural of the word itself, but the number is left out. For example, MediaWiki:Pfunc-convert-unit-length-mile is {{PLURAL:$1|mile|miles}}.
Usually in such messages the number itself is not only an argument, but also a part of the return value and for a good reason: in some languages one is treated differently from plural. For example, in Hebrew the number 1 comes after the noun and all the other numbers come before it.
These messages must be re-written as {{PLURAL:$1|$1 mile|$1 miles}}. In Hebrew it would be something like {{PLURAL:$1|mile $1|$1 miles}}.
Thanks.
-- Amir Elisha Aharoni · אָמִיר אֱלִישָׁע אַהֲרוֹנִי http://aharoni.wordpress.com “We're living in pieces, I want to live in peace.” – T. Moore
Amir E. Aharoni wrote:
Hi,
Messages such as these:
- MediaWiki:Pfunc-convert-unit-length-metre
- MediaWiki:Pfunc-convert-unit-length-angstrom
- MediaWiki:Pfunc-convert-unit-length-mile
all have a problem: they only take the plural of the word itself, but the number is left out. For example, MediaWiki:Pfunc-convert-unit-length-mile is {{PLURAL:$1|mile|miles}}.
Usually in such messages the number itself is not only an argument, but also a part of the return value and for a good reason: in some languages one is treated differently from plural. For example, in Hebrew the number 1 comes after the noun and all the other numbers come before it.
These messages must be re-written as {{PLURAL:$1|$1 mile|$1 miles}}. In Hebrew it would be something like {{PLURAL:$1|mile $1|$1 miles}}.
Thanks.
Hello Amir, I have tried to address your problem in r96025. Now those messages have a leading $1 whichis the text (note that the other positional parameters were incremented)
Best regards
Op 1 sep. 2011 om 20:53 heeft Platonides platonides@gmail.com het volgende geschreven:
Hello Amir, I have tried to address your problem in r96025. Now those messages have a leading $1 whichis the text (note that the other positional parameters were incremented)
Thank you, Platonides!
-- Siebrand Mazeland
M: +31 6 50 69 1239 Skype: siebrand
mediawiki-i18n@lists.wikimedia.org