Re: Plural support in translations

"Abel Cheung" <[email protected]>
Newsgroups gmane.linux.mandrake.cooker.internationalization
Message-ID <[email protected]>
On 12/21/06, Pablo Saratxaga <[email protected]> wrote:
> The idea was already rounding for some time; it is now being
> implemented; ngettext will be used for handling translations of
> strings needing plural forms.
> zh_CN.po:"Plural-Forms: nplurals=1; plural=0;\n"
> zh_TW.po:"Plural-Forms: nplurals=1; plural=0;\n"

For Chinese, it is not unconditional to have single plural form.
Single plural form is only used in cases of specifying a quantity
of something, like: 1 horse, 2 horses, 5 pieces of paper etc.
If sentences in ngettext() call include certain words like
his/her -> their, then the plural form is the same as English,
since the singular/plural forms of his/her are different in Chinese
as well.

Abel

>
> --
> Ki ça vos våye bén,
> Pablo Saratxaga
>
> http://chanae.walon.org/pablo/          PGP Key available, key ID: 0xD9B85466
> [you can write me in Walloon, Spanish, French, English, Catalan or Esperanto]
> [min povas skribi en valona, esperanta, angla aux latinidaj lingvoj]
>
>
>


-- 
Abel Cheung   (GPG Key: 0xC67186FF)
Key fingerprint: 671C C7AE EFB5 110C D6D1  41EE 4152 E1F1 C671 86FF
--------------------------------------------------------------------
* GNOME Hong Kong - http://www.gnome.hk/
* Opensource Application Knowledge Assoc. - http://oaka.org/
* My own cave: http://me.abelcheung.org/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.