[Numpy-discussion] Internationalization of numpy/scipy docstrings...

Tim Cera tim at cerazone.net
Sat May 19 22:35:00 EDT 2012


On Sat, May 19, 2012 at 8:16 PM, Nathaniel Smith <njs at pobox.com> wrote:

> help() just returns the __doc__ attribute, but a large number of numpy's
> __doc__ attributes are set up by code at import time, so in principle even
> these could be run through gettext pretty easily.
>
I didn't know that.  I suggested modifying np.info since I suspect that a
new np.info would be easier since changes to support i18n would be
contained to one command.  Of course if there is something easier/better,
let's go with that.

Kindest regards,
Tim
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/numpy-discussion/attachments/20120519/b9a8850d/attachment.html>


More information about the NumPy-Discussion mailing list