Portuguese plural formula should be n != 1 #20441
Unanswered
mihael-lovrencic-niceshops
asked this question in
General
Replies: 1 comment
|
CLDR claims something different: https://www.unicode.org/cldr/charts/48/supplemental/language_plural_rules.html#pt |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
How This Applies to Portuguese Grammar
In formal Portuguese grammar, just like in English, any quantity other than exactly one requires the plural form. Crucially, the number zero is treated as a plural.
Here is how it looks in practice (using the word dia / day):
0: 0 dias (Plural)
1: 1 dia (Singular)
2: 2 dias (Plural)
10: 10 dias (Plural)
Because 0 requires the plural form, the system must trigger the plural translation when n = 0. The formula n != 1 successfully does this, because 0 is not equal to 1.
All reactions