Re: [poedit-users] Detecting plural forms from PHP source
Vaclav Slavik <[email protected]>
| Newsgroups | gmane.editors.poedit.user |
|---|---|
| Message-ID | <[email protected]> |
Hi, [email protected] wrote: > But the second form isn't recognized as plural.. Just removing the > __ it works fine, but I'm not using the extension. > > What am I supposed to do?! xgettext must be told that a keyword is plural, so you must either specify keywordspec as per xgettext documentation in place of the keyword in poedit's configuration dialog or wait for a fixed version of poedit. If __ngettext uses same arguments as C ngettext() function, then it should be enough to use "__ngettext:1,2" instead of "__ngettext" as the keyword (see xgettext documentation for explanation of what this means). HTH, Vaclav -- PGP key: 0x465264C9, available from http://pgp.mit.edu/ ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Poedit-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/poedit-users
signature.asc
(application/pgp-signature, 189 B)
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (GNU/Linux) iD8DBQBEzjOHxDYa/UZSZMkRAvDXAJ49WQSC4hWYyIZJq+TQWgGYx6jK0ACeLLEv 6o5tIjzdRCnloVjy6vk9Qfk= =xyKj -----END PGP SIGNATURE-----