Message 342198 - Python tracker

Message342198

Author a.badger
Recipients a.badger, barry, bbkane
Date 2019-05-11.15:26:52
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1557588412.56.0.213895654318.issue36837@roundup.psfhosted.org>
In-reply-to
Content
Scratch what I said in https://bugs.python.org/issue36837?@ok_message=msg%20342005%20created%0Aissue%2036837%20message_count%2C%20messages%20edited%20ok&@template=item#msg342005

GNU msgfmt does extract the charset correctly.  (My previous test failed to write any output so it was using the .mo file I had written out with msgfmt.py.  I realized that this morning when I figured out why my C test program wasn't finding any message catalog.

For reference the three ways to extract strings with the three tools are:
* pygettext.py test.py
* pybabel extract -o messages.pot test.py
* xgettext test.py -o messages.pot test.py

and the three ways to generate catalogs via the three tools are:
* msgfmt3.7.py  es_MX/LC_MESSAGES/domain.po
* msgfmt es_MX/LC_MESSAGES/testc.po -o es_MX/LC_MESSAGES/testc.mo
* pybabel compile -D test -d . [--use-fuzzy]
History
Date User Action Args
2019-05-11 15:26:53a.badgersetrecipients: + a.badger, barry, bbkane
2019-05-11 15:26:52a.badgersetmessageid: <1557588412.56.0.213895654318.issue36837@roundup.psfhosted.org>
2019-05-11 15:26:52a.badgerlinkissue36837 messages
2019-05-11 15:26:52a.badgercreate