#1669 We are extracting too much Python doc for translation
Closed: Fixed None Opened 12 years ago by jdennis.

A while back we added pygettext to extract class doc for translation because our commands are classes, thus to get the command doc we needed to extract python docstrings.

All very well and good except we now seem to be pulling out a lot of unnecessary internal code documentation and sending it out for translation. This is a needless burden on translators especially since some of the python docstrings are quite long and involved.

We need to devise a method to selectively extract only what is necessary. This needs to be done before the next time we update the pot file.


patch submitted as:

[PATCH 46/46] ticket 1669 - improve i18n docstring extraction

Metadata Update from @jdennis:
- Issue assigned to jdennis
- Issue set to the milestone: FreeIPA 2.1.1 (bug fixing)

7 years ago

Login to comment on this ticket.

Metadata