I want to display a nicely formatted integer value via the usual pluralization technology .stringsdict
file. (Apple docs here.)
So if I have one thing, I want my output to read
1 thing
But if I have two thousand, three hundred sixty-four things, I want those commas:
2,364 things
but alas the string pluralization technology doesn't give them to me:
2364 things
I can achieve commas with an NSNumberFormatter
. I can achieve pluralization with .stringsdict
localization technology.
Can I easily achieve both?