Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I've long been bugged by the lazy approach to plurals/multiples in e.g. game tooltips. "You loot 861 gold(s)" I wonder if we'll ever see improvements on either front.


It's even more complicated when you try and localize this. Some languages make pluralization very complicated.

A few years ago, one of the localization team members gave me a tip I have been trying to stick to this time around.

Instead of "You found 1 coin." or "You found 2 coins." you turn it into an enumeration "Coins Found: 1"

The localization of the string part is the same for all languages.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: