Filip Gruszczyński <grusz...@gmail.com> added the comment: I understand I should do something similar to what is done in argparse:
from gettext import gettext as _, ngettext ... message = ngettext('conflicting option string: %s', 'conflicting option strings: %s', len(conflicting_actions)) and then let user define those messages somewhere in his own po files? ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue8841> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com