Re: GNU Coding Standards, internatialisation and plurals

2006-05-21 Thread Michael Thayer
Hello Karl, The solution to the problem of multiple plurals is GNU gettext's ngettext() function. The format is char * ngettext (const char *msgid1, const char *msgid2, unsigned long int n) The first two arguments are the English singular and plural, which are necessary because gettext defaul

Re: GNU Coding Standards, internatialisation and plurals

2006-05-19 Thread Karl Berry
Hi Michael, Thanks for writing. This has the problem that not all languages treat singular and plural the same way as English. I see the problem, but what is the solution? Repeating every message containing a number to have separate cases for so many integers seems quite impractical.