Replies: 5 comments 10 replies
|
My French is not good enough to argue about plural rules. |
|
Ok I get it now. It's because the formatting can change once you get past 1 million. Sorry for the trouble! |
|
I'm really sorry to bug you again. I've changed |
|
@karljj1 Please have glance at https://github.com/axuno/SmartFormat/blob/a9b0fb356274cd78ece239613a1f163e4d5b88ca/src/SmartFormat/Utilities/PluralRules.cs#L215C1-L245C6 |
This is correct. Aucune porte (no door), une porte (one door), deux portes (two doors) |
Uh oh!
There was an error while loading. Please reload this page.
Heya,
I'm trying to understand why French is set to DualFromZeroToTwo instead of DualOneOther like English. I'm French Canadian and I'm having a hard time understanding why
{0:plural:No object|{} object|{} objects} cached on file systemis working in English but{0:plural:Aucun objet|{} objet|{} objets} en cache sur le systèmein French is giving meSmartFormat.Core.Formatting.FormattingException: Error parsing format string: Invalid number of plural parameters in PluralLocalizationFormatterMaybe there's something in FR-FR that explains this? But on a French Canadian point of view, this doesn't make much sense.
All reactions