Re: gettext, plural form and translation
От | Alvaro Herrera |
---|---|
Тема | Re: gettext, plural form and translation |
Дата | |
Msg-id | 20090318134927.GB3798@alvh.no-ip.org обсуждение исходный текст |
Ответ на | gettext, plural form and translation (Sergey Burladyan <eshkinkot@gmail.com>) |
Ответы |
Re: gettext, plural form and translation
|
Список | pgsql-hackers |
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 ? > maybe it have some problem in some supported OS ? if not, can it implemented ? > maybe someone already doing this ? > > ps: i try to translate psql message "(1 row)/(3 rows)" but can't do this > correctly without plural form support. 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)". We avoid mixing plurals and singulars. Is this still a problem for you somewhere? -- Alvaro Herrera http://www.CommandPrompt.com/ The PostgreSQL Company - Command Prompt, Inc.
В списке pgsql-hackers по дате отправления: