[Mailman-i18n] sorting pygettext.py output
Barry A. Warsaw
Thu, 24 May 2001 19:12:06 -0400
>>>>> "MvL" == Martin von Loewis <email@example.com> writes:
MvL> While sorting and normalization certainly helps when a new
MvL> version of the catalog comes along, there is actually tool
MvL> for merging an old localized catalog with the new POT file,
MvL> in the form of GNU msgmerge. I don't know whether you are
MvL> all aware of it, so I thought I'd mention it.
Definitely! In fact the "make catalogs" target in Mailman's
messages/Makefile invokes msgmerge to merge any new definitions found
in mailman.pot with the individual language .po files. (I hope I
understand the usage properly. It looks good to me but others may
want to double check.)
MvL> Is anybody interested in having a pure-python version of
MvL> msgmerge, or is using GNU msgmerge good enough?
GNU's msgmerge seems fine to me. Mailman's Makefile is also using the
default msgfmt, although I know you contributed one for Python's
Tools/i18n directory. If you've got a msgmerge laying around, I think
it would make a good addition to Tools/i18n, but it isn't as urgent as
pygettext (which was required because the standard GNU tool, xgettext,
just didn't grok Python code well enough).