[[Pywikipedia:Solve disambiguation-links-removed/en]] should support PLURAL

Jump to navigation Jump to search

Could you explain please why different messages, one for singular, one for plural, does not work in many languages? We have implemented sth similar for table2wiki messages: table2wiki-no-warning, table2wiki-one-warning, table2wiki-warnings. And there is a bot script (not ported to translatewiki yet) which uses messages like this:

template-msg-change = {
    'en':u'Robot: Changing template: %s',

template-msgs-change = {
    'en':u'Robot: Changing templates: %s',

This gives separate messages for each variant.

12:30, 20 August 2011
14:23, 20 August 2011

Ok, I see. I made a draft implementation for support in [1]. But how translators know about how many variants are used for a language?

14:00, 21 August 2011

They do. The number of forms is hopefully the same in every product.

15:59, 21 August 2011

Since we do not have any localisation yet except the default one, we must implement it first. Would it be acceptable using this as a basic for this pythonic stuff?

19:21, 21 August 2011

Yes. We are trying to unify the wildly different plural rules in different implementations, see also Plural.

08:43, 22 August 2011