5 ms·
Agreed! But I suspect several of these decisions are not intentionally made and are "...meh, whatever".
by ctxc 11mo ago
Agreed! But I suspect several of these decisions are not intentionally made and are "...meh, whatever".
- angiolillo 11mo agoFair enough, and honestly I agree with you that supporting the n==1 case is the bare minimum of care I'd expect from an application developer. Though if you support languages other than English even the decision to simplify pluralization logic to n==1 seems like a form of "...meh, whatever" given various pluralization rules: https://cldr.unicode.org/index/cldr-spec/plural-rules https://cldr.unicode.org/index/cldr-spec/plural-rules
- ctxc 11mo agoThe best approach is to probably separate the number out I guess. Files deleted: {0 or 1 or 1,000,000}
- angiolillo 11mo agoThat's certainly the approach our translation team prefers! Assembling a grammatically-correct statement from multiple discrete tokens is hard in languages with grammatical gender, complex pluralization rules, word ordering, etc. And there's not much benefit of doing it halfway right.