Jump to content

About [[StatusNet:B26e69c301e25e30dc35a357ebfe0925423185ea-PLURAL GETTEXT s and d others/fr]]

Note also that the effective code passes the number ($count - 3), not ($count) to gettext, so the plural form will be selected by Gettext according to the wrong number. This will fail for all Slavic forms (for which you must pass up to 4 distinct forms to gettext).

If the code was supposed to pass the number of "other(s)", it should be ($count-4), not ($count-3). And you would have no hint to correctly conjugate the verb !

In other words, the message is buggy, but the code too ! The only "safe" translation is to assume the plural everywhere, without even using the plural template syntax in the message.

Note that for Slavic languages (Russian, Serbian, Czech, Slovak, Bulgarian...), Gettext will be used like this with the template syntax shown: dual See the declaration of plural conditions at the beginning of .pot files for those languages, which determines the number of forms taken for number forms (usually you don't need to provide it, TranslateWiki.net already knows that and generate the line for you for each supported language)

Verdy p (talk)00:07, 2 March 2012

You're using too much text. Please go file a bug report and walls of text somewhere else.

Siebrand00:24, 2 March 2012