Message103988
| Author |
jhg |
| Recipients |
georg.brandl, jhg |
| Date |
2010年04月23日.01:09:46 |
| SpamBayes Score |
2.7085978e-06 |
| Marked as misclassified |
No |
| Message-id |
<1271985007.3.0.675755685137.issue8502@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
Wanting to figure out how to support multiple languages in my applications I read the gettext documentation and got to the part saying one should use pygettext.py to create .po files.
After copying that program from the python SVN repository I later found out that it cannot cope with plurals, i.e. ngettext(). xgettext can do that just fine. Since pygettext.py was not modified in 5 years I propose changing the documentation of gettext to encourage xgettext rather than pygettext.py.
My proposed changes are attached (edited as text file; I do not know how to convert it to a webpage and hence did not test that).
I used the 2.7b1 documentation, but the patch appears to apply just as well to the 3.1.2 documentation. |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2010年04月23日 01:10:07 | jhg | set | recipients:
+ jhg, georg.brandl |
| 2010年04月23日 01:10:07 | jhg | set | messageid: <1271985007.3.0.675755685137.issue8502@psf.upfronthosting.co.za> |
| 2010年04月23日 01:09:55 | jhg | link | issue8502 messages |
| 2010年04月23日 01:09:49 | jhg | create |
|