How do I get QObject::tr("%n apple(s)", "", n) to work?
I'm expecting the following behavior:
What I get instead is
I thought this would work out of the box for English, but apparently it doesn't. Do I have to provide an English translation for English?
Unfortunately, the word "tr" is too short for the forums' search function.
Re: How do I get QObject::tr("%n apple(s)", "", n) to work?
Yes you have to do translation for English if you want to handle plurals. See here: http://developer.qt.nokia.com/doc/qt...ndling-plurals
Re: How do I get QObject::tr("%n apple(s)", "", n) to work?
You're right, I didn't realize that they had a "No Translation" column. Thank you, Marek!