[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Problem in documentation: number of plurals

From: Arpad Biro
Subject: Problem in documentation: number of plurals
Date: Mon, 14 Aug 2006 02:06:38 -0700 (PDT)


Section "10.2.5 Additional functions for plural forms" of the
gettext documentation ( http://www.gnu.org/software/gettext/manual )

  Only one form:

    Some languages only require one single form. There is no
    distinction between the singular and plural form. An appropriate
    header entry would look like this:

      Plural-Forms: nplurals=1; plural=0;

    Languages with this property include:

    Finno-Ugric family

There's a problem with this: it's NOT true when there's no
numeral involved.

A quick example:

"1   apple "   is   "1   alma"   in Hungarian, and
"123 apples"   is   "123 alma"

So far so good, but when there's no numeral:

"the apple "   is   "az alma "   in Hungarian, but
"the apples"   is   "az almák"

In the latter case we have 2 plural forms.

An example from the Gwenview POT file:

#: gvcore/deletedialog.cpp:97
msgid ""
"_n: <qt>This item will be moved to the trash bin.</qt>\n"
"<qt>These items will be moved to the trash bin.</qt>"

This has to be translated into 2 different forms in Hungarian
(just like it is in English).

Arpad Biro

Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 

reply via email to

[Prev in Thread] Current Thread [Next in Thread]