[Interest] Translating plural with is/are

Thiago Macieira thiago.macieira at intel.com
Mon Mar 7 21:18:20 CET 2016


Em segunda-feira, 7 de março de 2016, às 20:37:24 PST, Jason H escreveu:
> I now understand that is wrong, that it is just looking it up in a
> translation table, and that "(s)" does not specify the string alteration. I
> would assume then that the 3-parameter tr() call is what signifies that it
> is to be pluralized?

Correct, it's the third argument being different from -1 that triggers the 
pluralisation rules. One source string may become more than one translations, 
depending on the target language.

-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center




More information about the Interest mailing list