Re: gettext, plural form and translation

From: Alvaro Herrera <alvherre(at)commandprompt(dot)com>
To: Sergey Burladyan <eshkinkot(at)gmail(dot)com>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: gettext, plural form and translation
Date: 2009-03-18 14:05:18
Message-ID: 20090318140518.GC3798@alvh.no-ip.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Alvaro Herrera escribió:
> Sergey Burladyan escribió:
> > Hi, all.
> >
> > gnu gettext have support for correct plural form translation
> > (http://www.gnu.org/software/gettext/manual/html_node/Plural-forms.html)
> > but postgresql does not use it. why not ?

> You don't need plural forms in this example. We have three separate
> messages, one for "(No rows)", another one for the singular "(1 row)"
> and a third one for the plural "(N rows)".

After reading the cited page it is clear that we need to improve our use
of gettext.

--
Alvaro Herrera http://www.CommandPrompt.com/
PostgreSQL Replication, Consulting, Custom Development, 24x7 support

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Ana Carolina Brito de Almeida 2009-03-18 14:41:29 could not bind IPv4 socket
Previous Message Alvaro Herrera 2009-03-18 13:49:27 Re: gettext, plural form and translation