Complete.Org: Mailing Lists: Archives: freeciv-dev: June 2001:
[Freeciv-Dev] Re: GNU gettext 0.10.38 and "Plural Forms"
Home

[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]
To: Egbert Hinzen <garfy@xxxxxxxxxx>
Cc: <freeciv-dev@xxxxxxxxxxx>, bugs@xxxxxxxxxxx
Subject: [Freeciv-Dev] Re: GNU gettext 0.10.38 and "Plural Forms"
From: Gaute B Strokkenes <gs234@xxxxxxxxx>
Date: 25 Jun 2001 01:36:28 +0100

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:

Attachment: 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 --

[Prev in Thread] Current Thread [Next in Thread]