Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[doc] Write argparse i18n howto #54738

Closed
merwok opened this issue Nov 25, 2010 · 5 comments
Closed

[doc] Write argparse i18n howto #54738

merwok opened this issue Nov 25, 2010 · 5 comments
Labels
3.8 only security fixes 3.9 only security fixes 3.10 only security fixes docs Documentation in the Doc dir type-feature A feature request or enhancement

Comments

@merwok
Copy link
Member

merwok commented Nov 25, 2010

BPO 10529
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:

assignee = None
closed_at = None
created_at = <Date 2010-11-25.12:28:07.697>
labels = ['type-feature', '3.8', '3.9', '3.10', 'docs']
title = '[doc] Write argparse i18n howto'
updated_at = <Date 2020-11-07.20:23:43.051>
user = 'https://github.com/merwok'

bugs.python.org fields:

activity = <Date 2020-11-07.20:23:43.051>
actor = 'rhettinger'
assignee = 'docs@python'
closed = False
closed_date = None
closer = None
components = ['Documentation']
creation = <Date 2010-11-25.12:28:07.697>
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

@merwok
Copy link
Member Author

merwok commented 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 merwok added docs Documentation in the Doc dir type-feature A feature request or enhancement labels Nov 25, 2010
@merwok
Copy link
Member Author

merwok commented Nov 25, 2010

s/makes/marks/

@iritkatriel iritkatriel added 3.8 only security fixes 3.9 only security fixes 3.10 only security fixes labels Nov 5, 2020
@iritkatriel iritkatriel changed the title Write argparse i18n howto [doc] Write argparse i18n howto Nov 5, 2020
@rhettinger
Copy link
Contributor

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

@ezio-melotti ezio-melotti transferred this issue from another repository Apr 10, 2022
miss-islington pushed a commit to miss-islington/cpython that referenced this issue Jul 23, 2023
(cherry picked from commit dcd7acb)

Co-authored-by: Tomas R <tomas.roun8@gmail.com>
miss-islington pushed a commit to miss-islington/cpython that referenced this issue Jul 23, 2023
(cherry picked from commit dcd7acb)

Co-authored-by: Tomas R <tomas.roun8@gmail.com>
ambv pushed a commit that referenced this issue Jul 23, 2023
(cherry picked from commit dcd7acb)

Co-authored-by: Tomas R <tomas.roun8@gmail.com>
ambv pushed a commit that referenced this issue Jul 23, 2023
(cherry picked from commit dcd7acb)

Co-authored-by: Tomas R <tomas.roun8@gmail.com>
jtcave pushed a commit to jtcave/cpython that referenced this issue Jul 23, 2023
mementum pushed a commit to mementum/cpython that referenced this issue Jul 23, 2023
@hauntsaninja
Copy link
Contributor

This is a nice docs feature, thank you!

@merwok
Copy link
Member Author

merwok commented Sep 7, 2023

I wished I’d got a notification of the PR! (links don’t create notifications)
Great that someone took this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3.8 only security fixes 3.9 only security fixes 3.10 only security fixes docs Documentation in the Doc dir type-feature A feature request or enhancement
Projects
Status: Doc issues
Status: Done
Development

No branches or pull requests

4 participants