[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: ngettext plural forms for arabic
- To: Development Discussions <developer at arabeyes dot org>
- Subject: Re: ngettext plural forms for arabic
- From: Youssef Chahibi <chahibi at gmail dot com>
- Date: Wed, 6 Sep 2006 19:39:22 +0000
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:from:to:subject:date:user-agent:references:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:message-id; b=W+JrYjcJMZZdlVfpaErRLRxeUsH2/vmT3d9byotCzV17zdgBc7XkwUH/Et43p6EBvLQn0J65oo4KSuRGbkqTkqzN+fOMAnCyt5vj8sYw98m5NGaL+yyYecK7n1KI+5dbElnltPmciGyhtG8dkMEAroBddZ/OWg7UgGdPODfb8JQ=
- User-agent: KMail/1.9.4
On Tuesday 15 August 2006 07:40, moayyad sadi wrote:
> I have deduced the plural forms for ngettext
> Plural-Forms: nplurals=2; plural=(n>9)?(n % 100 >2 && n % 100 < 11):(n % 10
> >2) to be used with
> char * ngettext (const char *MSGID1, const char *MSGID2,unsigned long int
> N) the translation of MSGID1 is singular and MSGID2 is plural, no MUTHANNA
> is needed because we don't say 2 namlatan, NASKH 2 MALAFFAN
> this note is importent for translators
. The arabic plural forms formula was discussed before. See a thread "Araic
Plural Forms Issues".
http://lists.arabeyes.org/archives/doc/2006/July/msg00217.html
We don't say "2 namlatan" but we say "namlatan" we can ommit the variable.
The new plural form is:
nplurals=6; plural=n == 0 ? 0 : n == 1 ? 1 : n == 2 ? 2 : n >= 3 && n <= 10 ?
3 : n >= 11 && n <= 99 ? 4 : 5;