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

Jump to: navigation, search

This and other disambiguation bot messages should support PLURAL for one and many links. Translation may be more complicated then English (s) suffix.

EugeneZelenko15:19, 28 January 2011

I guess we will implement a separate plural tw-message if needed other than a $PLURAL(..) meta tag

Xqt21:52, 12 August 2011

Adding another message for plural is not going to solve the problem. That is not how plurals work in many languages.

Nike05:25, 13 August 2011

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.

Xqt12:30, 20 August 2011

Let me know is those are not clear enough.

Nike14: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?

Xqt14:00, 21 August 2011

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

Nike15: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?

Xqt19:21, 21 August 2011

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

Nike08:43, 22 August 2011