- Issue created by @D34dMan
Two forms, singular used for one only
This is the form used in most existing programs since it is what English is using. A header entry would look like this:
Plural-Forms: nplurals=2; plural=n != 1;
(Note: this uses the feature of C expressions that boolean expressions have to value zero or one.)
Languages with this property include:
Germanic family
English, German, Dutch, Swedish, Danish, Norwegian, Faroese
Romanic family
Spanish, Portuguese, Italian
Latin/Greek family
Greek
Slavic family
Bulgarian
Finno-Ugric family
Finnish, Estonian
Semitic family
Hebrew
Austronesian family
Bahasa Indonesian
Artificial
Esperanto
Other languages using the same header entry are:
Finno-Ugric family
Hungarian
Turkic/Altaic family
Turkish
Hungarian does not appear to have a plural if you look at sentences involving cardinal numbers. For example, “1 apple” is “1 alma”, and “123 apples” is “123 alma”. But when the number is not explicit, the distinction between singular and plural exists: “the apple” is “az alma”, and “the apples” is “az almák”. Since ngettext has to support both types of sentences, it is classified here, under “two forms”.
The same holds for Turkish: “1 apple” is “1 elma”, and “123 apples” is “123 elma”. But when the number is omitted, the distinction between singular and plural exists: “the apple” is “elma”, and “the apples” is “elmalar”.
Reference: https://www.gnu.org/software/gettext/manual/html_node/Plural-forms.html
Active
1.0
Code