[Interest] Translating plural with is/are

Jason H jhihn at gmx.com
Mon Mar 7 18:44:17 CET 2016



> Sent: Monday, March 07, 2016 at 12:38 PM
> From: "Thiago Macieira" <thiago.macieira at intel.com>
> To: interest at qt-project.org
> Subject: Re: [Interest] Translating plural with is/are
>
> Em segunda-feira, 7 de março de 2016, às 18:23:20 PST, Jason H escreveu:
> > While Qt handles certain phrases like:
> > "Use %n upper case character(s)"
> > 
> > adequately, if phrased slightly differently:
> > 
> > "At least %n upper case character(s) is required"
> > breaks because the translation is:
> > 1. "At least 1 upper case character is required"
> > 2a. "At least 2 upper case characters is required" <- grammatical error. 
> > Should be: 2b. "At least 2 upper case characters are required"
> > 
> > Is  there a way to indicate that if plural, that 'are' shoud be used?
> > "Use %n upper case character(s) [is|are] required" - where the brackets
> > specify [singular|plural]
> 
> Supply a translation file for en_US.

I'm not sure I follow. I don't see anything that allows me to tell it to select one for singular or the other? I think I'm missing something?
I'd like to have a redundant pluralisation check, which might not match the language's pluralization rules.




More information about the Interest mailing list