[Freeciv-Dev] Re: GNU gettext 0.10.38 and "Plural Forms"
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
On Sat, 23 Jun 2001, egbert@xxxxxxxxxx wrote:
> Gettext supports plural forms now.
>
> I don't know if the programmers will support it, but it may be
> useful to add it's header line to the .po-files.
>
> Because the format of the header line is different by numbers and
> kinds of plural forms, please read the chapter about them in the
> gettext info.
>
> The header for languages using one singular and one plural (like
> German or English) is:
>
> "Plural-Forms: nplurals=2; plural=n != 1;\n"
Here's a patch to do just that:
plurals.diff
Description: Text Data
I didn't add one for pt or pt_BR since the gettext manual doesn't
specify anything suitable; I just added a FIXME.
--
Big Gaute http://www.srcf.ucam.org/~gs234/
Of course, you UNDERSTAND about the PLAIDS in the SPIN CYCLE --
|
|