Re: Improving the ngettext() patch

From: pg(at)thetdh(dot)com
To: "Sergey Burladyan" <eshkinkot(at)gmail(dot)com>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Improving the ngettext() patch
Date: 2009-06-04 11:53:10
Message-ID: W1409111436220251244116390@webmail8
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

> Russian plural forms for 100, 101, 102 etc. is different, as for 0, 1, 2.

True. The rule IIRC is that except for 11-14 and for collective numerals, declination follows the last digit.

It would be possible to generalize declination via a language-specific message-selector function, especially if the number of numerical complements were limited to 1.

How awkward would it be to re-word the style of messages to avoid declination? For example, the Russian equivalent of "X rows" could be something like "#rows -- X".

David Hudson

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Pavel Stehule 2009-06-04 12:42:40 Re: Question about FUNCDETAIL_MULTIPLE
Previous Message Magnus Hagander 2009-06-04 11:03:57 Re: It's June 1; do you know where your release is?