[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Plural forms in Czech
From: |
Petr Kadlec |
Subject: |
Plural forms in Czech |
Date: |
Sun, 11 Jul 2004 14:44:09 +0200 |
Hi!
I have noticed that GNU gettext contains the following formula to determine
the plural type to be used for Czech (cs):
plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 ||
n%100>=20) ? 1 : 2);
(It is mentioned in the documentation and used in
gettext-tools/src/plural-table.c.)
While this is not exactly incorrect, it is not really used in todays
language. Nowadays, we have practically abandoned the convention of
singular-like endings for 101, 201, ..., 1001, 1101, ... (Similarly for
102, 103, 104, 202, ...) Almost any today speaker would use the following rule:
plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2;
(Which is identical to Slovak.)
In case there is some czech-speaking person who is not sure whether this is
"officially correct", please see this FAQ item at the website of the
Institute of the Czech Language: http://www.ujc.cas.cz/poradna/odpo.html#dveste
With regards,
Petr Kadlec
--
Warranty and guarantee clauses are voided by payment of the invoice.
--
Petr Kadlec <address@hidden>
ICQ #68196926, http://mormegil.wz.cz/
- Plural forms in Czech,
Petr Kadlec <=