Skip to content

Commit 4f13dea

Browse files
committed
Mention gettext for user-defined strings
1 parent 8fcd1b5 commit 4f13dea

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Doc/howto/argparse.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -839,6 +839,7 @@ Once the messages in the ``.po`` file are translated and the translations are
839839
installed using :mod:`gettext`, :mod:`argparse` will be able to display the
840840
translated messages.
841841

842+
To translate your own strings in the :mod:`argparse` output, use :mod:`gettext`.
842843

843844
Conclusion
844845
==========

0 commit comments

Comments
 (0)