Closed
Bug 1433739
Opened 8 years ago
Closed 8 years ago
[bn-BD, bn-IN] Switch plural rule for Bengali from #1 to #2
Categories
(Mozilla Localizations :: bn-BD / Bengali, enhancement)
Mozilla Localizations
bn-BD / Bengali
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: flod, Assigned: flod)
Details
Gecko products: rule #1, 2 forms, like English
1st form [one]: for 1
2nd form [other]: for any other number, including 0
Pontoon: n!=1, so same as Gecko products
CLDR: 0 is like 1, so rule should be #2 in Gecko (n > 1)
http://www.unicode.org/cldr/charts/dev/supplemental/language_plural_rules.html#bn
Which rule is correct? Do you use the same sentence for '1 house' and '0 houses'?
The impact on product is minimal: same number of forms, and normally a special string is used for the 0 case, but it would be good to set the correct plural form.
I'm filing the bug in bn-BD, but I assume the same choice should be made for both Bengali variants, including bn-IN.
| Assignee | ||
Updated•8 years ago
|
Flags: needinfo?(brnet00)
Flags: needinfo?(bellayet)
| Assignee | ||
Comment 1•8 years ago
|
||
Clarifying the actual ask for the team.
Consider English for example. You would say:
- 0 cats
- 1 cat
- 2 cats
etc.
0 uses the same form of other numbers greater than 1. This is rule #1 internally.
Right now, according to Pontoon and Gecko products (Firefox, Firefox for Android, Thunderbird, etc.), your locale is using the same rule.
According to CLDR, for your locale 0 should use the same form as 1:
- 0 (cat localized)
- 1 (cat localized)
- 2 (cats localized)
etc.
Which one is correct?
Comment 2•8 years ago
|
||
we don't use plural for zero sum. CLDR is correct, for our locale we use same for 0 and 1.
These are correct.
> According to CLDR, for your locale 0 should use the same form as 1:
> - 0 (cat localized)
> - 1 (cat localized)
> - 2 (cats localized)
> etc.
Flags: needinfo?(bellayet)
| Assignee | ||
Comment 4•8 years ago
|
||
Thanks both, I'm going to update the rules for both bn-*. CLDR doesn't distinguish between bn-BN and bn-IN, so I hope it's safe to assume that both variants have the same rule.
I've updated the rule in Gecko and Pontoon
https://hg.mozilla.org/l10n-central/bn-BD/rev/1b75a8af1dd36b6d83372e46d9bc235460a40eb5
https://hg.mozilla.org/l10n-central/bn-IN/rev/959a9870e9bddc4652b8f6da753d630eb90ab82d
This doesn't have any practical effect on localization, so there's no further work needed on your side.
@pike
We need to switch both bn-IN and bn-BD to rule #2 in compare-locales
Assignee: nobody → francesco.lodolo
Status: NEW → RESOLVED
Closed: 8 years ago
Flags: needinfo?(brnet00) → needinfo?(l10n)
Resolution: --- → FIXED
Summary: [bn] Verify plural rule for bn-BD and bn-IN (currently #1) → [bn-BD, bn-IN] Switch plural rule for Bengali from #1 to #2
Comment 5•8 years ago
|
||
compare-locales updated in https://hg.mozilla.org/l10n/compare-locales/rev/335638705b54. This is released and deployed in 2.6.4.
Flags: needinfo?(l10n)
Comment 6•8 years ago
|
||
CLDR is correct, for bn-IN locale we use same for 0 and 1.
Sorry for late reply.
You need to log in
before you can comment on or make changes to this bug.
Description
•