BPO | [10529](https://bugs.python.org/issue10529) --- | :--- Nosy | @rhettinger, @jwilk, @merwok *Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.* Show more details GitHub fields: ```python assignee = None closed_at = None created_at = labels = ['type-feature', '3.8', '3.9', '3.10', 'docs'] title = '[doc] Write argparse i18n howto' updated_at = user = 'https://github.com/merwok' ``` bugs.python.org fields: ```python activity = actor = 'rhettinger' assignee = 'docs@python' closed = False closed_date = None closer = None components = ['Documentation'] creation = creator = 'eric.araujo' dependencies = [] files = [] hgrepos = [] issue_num = 10529 keywords = [] message_count = 3.0 messages = ['122358', '122359', '380524'] nosy_count = 6.0 nosy_names = ['rhettinger', 'bethard', 'jwilk', 'eric.araujo', 'docs@python', 'tshepang'] pr_nums = [] priority = 'normal' resolution = None stage = 'needs patch' status = 'open' superseder = None type = 'enhancement' url = 'https://bugs.python.org/issue10529' versions = ['Python 3.8', 'Python 3.9', 'Python 3.10'] ``` ### Linked PRs * gh-104562 * gh-107101 * gh-107102
Activity
merwok commentedon Nov 25, 2010
argparse helpfully makes its messages with gettext.gettext. The docs should explain how to benefit from that in one’s program.
merwok commentedon Nov 25, 2010
s/makes/marks/
[-]Write argparse i18n howto[/-][+][doc] Write argparse i18n howto[/+]rhettinger commentedon Nov 7, 2020
This is a great idea. I'm thinking that the Argparse Tutorial is the right place for this: https://docs.python.org/3/howto/argparse.html
gh-54738: Add argparse i18n howto (#104562)
pythongh-54738: Add argparse i18n howto (pythonGH-104562)
pythongh-54738: Add argparse i18n howto (pythonGH-104562)
[3.11] gh-54738: Add argparse i18n howto (GH-104562) (#107101)
[3.12] gh-54738: Add argparse i18n howto (GH-104562) (#107102)
pythongh-54738: Add argparse i18n howto (python#104562)
pythongh-54738: Add argparse i18n howto (python#104562)
hauntsaninja commentedon Sep 7, 2023
This is a nice docs feature, thank you!
merwok commentedon Sep 7, 2023
I wished I’d got a notification of the PR! (links don’t create notifications)
Great that someone took this.