[wp-polyglots] Re: Wordpress 2.5 pot file broken - still not working, I spoke too soon

Sławomir Kozłowski kozlowski at torli.pl
Sat Apr 5 21:13:58 GMT 2008


Here is link with examples for different languages:
http://drupal.org/node/17564
(sorry for that drupal - can find another such complete doc about plural
forms)
Regards,
Sławek

05-04-08, Sławomir Kozłowski <kozlowski at torli.pl> napisał(a):
>
> OK,
> To do list after download:
> Solution:
> You must specify correct string for Plural forms in poEdit Settings
> window.
> For polish language there shoud be string like this:
>
> nplurals=3; plural=n==1 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 ||
> n%100>=20) ? 1 : 2;
>
> You must put such string BEFORE you translate any word in PO file.
>
> What does it mean?
> In polish language we have different plural forms for phrases with numbers
> 1, 2 to 4, and 5 and above.
> Try copy&paste this in poEdit here (english interface):
> CATALOG -> SETTINGS -> "Project info" tab, "Plural forms"
> you will see what I mean (interface will change in translation window).
>
> Short TO.DO list:
> 1. open source PO file
> 2. define correct Plural forms string
> 3. define language, team and email address of team
> 4. translate string with "%s"
> 5. save the file, which automaticaly create MO file
>
> Happy translating!
>
> Best regards,
> Sławek
>
>
> 05-04-08, Domen Savic <domen at e-demokracija.si> napisał(a):
> >
> > http://svn.automattic.com/wordpress-i18n/pot/tags/2.5/
> >
> > this is the one I downloaded.
> >
> > thanks in advance!
> >
> > 2008/4/5 Sławomir Kozłowski <kozlowski at torli.pl>:
> >
> > > Hi Domen,
> > > If you still have problem with that po file, send me yours corrupted
> > one.
> > > I'll check it and solve your problem.
> > > Best regards,
> > > Sławek
> > >
> > > 2008/4/4, Domen Savic <domen at e-demokracija.si>:
> > >
> > > > I was able to duplicate the same error with the "right" pot file.
> > > > After trying to edit the line "%s", the poEdit did not want to
> > > > translate it and not even using an escape character (\) did not
> > help.
> > > >
> > > > When I saved the file, the error message was
> > > >
> > > > C:\users\Domen\Desktop\wordpress.pot:683: missing mgstr[] section
> > > >
> > > > and after closing and opening the wordpress.pot, the poEdit said
> > > >
> > > > Couldn`t load the file C:\users\Domen\Desktop\default.po, it is
> > > > probably corrupted.
> > > >
> > > > So..What am I doing wrong?
> > > >
> > > > Thanks!
> > > >
> > > > d.
> > > >
> > > >
> > > >
> > > > On Fri, Apr 4, 2008 at 4:39 PM, Domen Savic <domen at e-demokracija.si>
> > > wrote:
> > > > > Found it, will try later on. Why are there two .pot files
> > anyway:)?
> > > > >
> > > > >
> > > > >
> > > > >  On Fri, Apr 4, 2008 at 3:06 PM, DjZoNe <djz at djz.hu> wrote:
> > > > >  > Domen,
> > > > >  >
> > > > >  >  Have you tried using the one, in tags/2.5 ?
> > > > >  >
> > > > >  >
> > > > >  >
> > > > >  >  > I`ve been trying to translate the wordpress 2.5 into
> > slovene, but
> > > had
> > > > >  >  > no success. The reason being that out of nowhere, the poEdit
> > finds
> > > > >  >  > strange errors in my translations and refuses to save the
> > file.
> > > When I
> > > > >  >  > close the .pot file and then try to reopen it, the poEdit
> > says the
> > > > >  >  > file contains error and it cannot be opened. I am using the
> > latest
> > > > >  >  > poEdit software. I downloaded pot file from
> > > > >  >  >
> > http://svn.automattic.com/wordpress-i18n/pot/trunk/wordpress.pot
> > > > >  >  >
> > > > >  >  > What am I doing wrong?
> > > > >  >  >
> > > > >  >  > Thanks!
> > > > >  >  >
> > > > >  >  > d.
> > > > >  >  >
> > > > >  >
> > > > >  >  --
> > > > >  >  Zsolt Lakatos
> > > > >  >  http://djz.hu
> > > > >  >
> > > > >  >
> > > > >  >
> > > > >  >  _______________________________________________
> > > > >  >  wp-polyglots mailing list
> > > > >  >  wp-polyglots at lists.automattic.com
> > > > >  >  http://lists.automattic.com/mailman/listinfo/wp-polyglots
> > > > >  >
> > > > >
> > > > >
> > > > >
> > > > >  --
> > > > >  V demokraciji se sodeluje!
> > > > >
> > > > >  http://www.e-demokracija.si
> > > > >
> > > >
> > > >
> > > >
> > > >
> > > > --
> > > > V demokraciji se sodeluje!
> > > >
> > > > http://www.e-demokracija.si
> > > > _______________________________________________
> > > > wp-polyglots mailing list
> > > > wp-polyglots at lists.automattic.com
> > > > http://lists.automattic.com/mailman/listinfo/wp-polyglots
> > > >
> > >
> > >
> > > _______________________________________________
> > >  wp-polyglots mailing list
> > >  wp-polyglots at lists.automattic.com
> > >  http://lists.automattic.com/mailman/listinfo/wp-polyglots
> > >
> > >
> >
> >
> >
> > --
> > V demokraciji se sodeluje!
> >
> > http://www.e-demokracija.si
> >
> > _______________________________________________
> > wp-polyglots mailing list
> > wp-polyglots at lists.automattic.com
> > http://lists.automattic.com/mailman/listinfo/wp-polyglots
> >
> >
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://comox.textdrive.com/pipermail/wp-polyglots/attachments/20080405/e6be2db1/attachment.htm


More information about the wp-polyglots mailing list