[I18n-sig] Re: pygettext.py extraction of docstrings

Barry A. Warsaw barry@wooz.org
Mon, 13 Aug 2001 02:01:17 -0400


>>>>> "MvL" == Martin v Loewis <martin@loewis.home.cs.tu-berlin.de> writes:

    >> - Mention the existence of pygettext.py for extracting
    >> translatable strings in Python.

    MvL> To my knowledge, Bruno just put a section in the gettext
    MvL> manual explaining gettext usage with various (progamming)
    MvL> languages. The Python entry there does mention pygettext.py.

Ah cool, I was only looking at the online documentation at gnu.org,
which claims it's the 30-Apr-1998 edition (a bit out-dated, eh? :).

    >> - Point to Python's gettext module documentation for more
    >> details on i18n'ing Python programs.  This should be a fairly
    >> stable url:
    >> http://www.python.org/doc/current/lib/module-gettext.html

    MvL> I don't think it has this link, yet. But then, URL-style
    MvL> links are infrequent in texinfo documentation. Instead,
    MvL> (python)gettext might be a better link.

    >> - Make sure that the other GNU gettext tools recognize the
    >> docstring flag, in whatever way is meaningful (I'm not sure
    >> what would be useful or not... ;).

    MvL> At a minimum, msgmerge should preserve them.

Good, thanks.
-Barry