[I18n-sig] Re: pygettext dilemma

Barry A. Warsaw barry@zope.com
Mon, 13 Aug 2001 01:58:36 -0400


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

    >> I personally don't feel like it's that big a problem.  So far,
    >> in my experience the only docstrings that really need to be
    >> extracted are module docstrings in command line scripts.

    MvL> I disagree somewhat, but I also have a different application
    MvL> in mind. I do want to get translations for the doc strings of
    MvL> the standard library; in fact, that is what the python domain
    MvL> in the translation project has at the moment. The application
    MvL> here is that the help() function should present the
    MvL> translation of the doc string if available.

That's a good point (and would be neat!) but in that case, wouldn't
you want all the docstrings to be extracted?  I.e. you wouldn't want
to just extract some docstrings in a module, but not all?

-Barry