Plural in pt and pt-BR (again)

Plural in pt and pt-BR (again)

Plural in pt and pt-BR should be:

  • 1 = single,
  • everything else = plural.

In particular, 0 should be plural. There have been various requests to fix it for pt and pt-BR in the past.

Despite the above fixes, the problem seems to have resurfaced at translatewiki.net, both for pt and pt-BR. This can be replicated by setting your language to either and then searching a non-existing string in Special:SearchTranslations. It yields: "Foi encontrado um resultado" (one result found), for both languages. {{PLURAL}} is again returning false for number 0, which should be plural.

May this have a local cause and fix, or should it be reported in Phabricator?

Hamilton Abreu (talk)09:52, 25 October 2016

Reported on Phabricator as T151008.

Hamilton Abreu (talk)23:35, 17 November 2016