On Thu, 2007-11-22 at 00:35 -0300, Xavier Alvarez wrote:
> Dwayne,
> 
> Yes, that would seem to be the problem (absent plural declaration 
> in the POT and Pootle adding the blank one). We'll apply the 
> patch as soon as possible.

Let us know how it goes.

> About the 'plural formula' list, thanks!

Pleasure, please feel free to add any that are missing.

> I'm still missing the formulas for:
>  - [ay] Aymara, 
>  - [ig] Igbo, 
>  - [rw] Kinyarwanda, 
>  - [qu] Quechua, 
>  - [th] Thai, 
>  - [ur] Urdu, and
>  - [yo] Yoruba
> Any pointers will be really appreciated.

What I have done in the past is to look in the files on my Linux box.
But ideally you need a mother tongue speaker.

> The following were missing from my Pootle default files (may want 
> to add them):
>  + [am] Amharic, 
>  + [ha] Hausa, and
>  + [mk] Macedonian
> 
> And in my files I have some that are not in the page you linked:
>  / [st] Sotho, nplurals=2; plural=(n != 1)
>  / [wo] Wolof, nplurals=2; plural=(n != 1)
> 
> 
> Cheers,
> Xavier
> 
> 
> On Wednesday 21 November 2007 19:36, Dwayne Bailey wrote:
> DB> On Wed, 2007-11-21 at 12:23 -0300, Xavier Alvarez wrote:
> DB> > Dwayne,
> DB> >
> DB> > The situation is a bit confusing because I'm not involved
> DB> > in the length of the loop (meaning that the dangerous
> DB> > plural error reported is something that happened to
> DB> > others, not me). 
> DB> >
> DB> > The bottom line is that if I define a language (through the
> DB> > GUI): 
> DB> > # Icelandic
> DB> >     is.fullname = u'Icelandic'
> DB> >     is.nplurals = '2'
> DB> >     is.pluralequation = '(n != 1)'
> DB> >
> DB> > When I add the language to a project through the GUI,
> DB> > Pootle generates the /is/ directory with all the PO files.
> DB> > Fine, but the "Plural-forms" line in them is the one noted
> DB> > below -- iow, a non valid line.
> DB>
> DB> OK so
> DB> 1) you have a correct plural definition in pootle.prefs
> DB> 2) you have a project and initialise the files for
> DB> translation 
> DB> 3) the files end up with a uninitalised plural header which
> DB> causes an error when you actually use then in the downstream
> DB> project. 
> DB>
> DB> Can you please check the following for me:
> DB> 1) Does the POT file contain a Plural-Form entry?
> DB>
> DB> I'm guessing that the problem is that the POT doesn't have or
> DB> need plurals.  That we then add a blank header when the
> DB> files are initialised.  We then edit in Pootle but it never
> DB> updates the header as its not a plural file.  If that is the
> DB> case then the following commit from Friedel was probably
> DB> designed to solve that problem: 
> DB>
> DB> 
> http://translate.svn.sourceforge.net/viewvc/translate?view=rev&revision=6723 
> DB>
> DB> > The unsafeness or dangerousness error reported downstream
> DB> > could just be result of the invalid line, but the first
> DB> > issue is why does Pootle generate it in the first place?
> DB> >
> DB> >
> DB> > As a side issue, is there a 'central repository' for plural
> DB> > formulas? I failed to find one.  Improvising on this is
> DB> > something I would like to avoid...
> DB>
> DB> We maintain:
> DB> http://translate.sourceforge.net/wiki/l10n/pluralforms
> DB>
> DB> These should all be in the pootle.prefs file though.
> DB>
> DB> >
> DB> > Cheers,
> DB> > Xavier
> DB> >
> DB> > On Wednesday 21 November 2007 05:50, Dwayne Bailey wrote:
> DB> > DB> Hi Xavier,
> ...snip...
> 
> 
-- 
Dwayne Bailey
Translate.org.za

+27-12-460-1095 (w)
+27-83-443-7114 (cell)


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Translate-pootle mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/translate-pootle

Reply via email to