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

pygettext: Add support for multi-argument gettext functions #126700

Open
tomasr8 opened this issue Nov 11, 2024 · 0 comments
Open

pygettext: Add support for multi-argument gettext functions #126700

tomasr8 opened this issue Nov 11, 2024 · 0 comments
Assignees
Labels
stdlib Python modules in the Lib dir type-feature A feature request or enhancement

Comments

@tomasr8
Copy link
Member

tomasr8 commented Nov 11, 2024

Feature or enhancement

Proposal:

This came up while adding translation tests for various stdlib modules: #124295 and #126698. More specifically: #124295 (comment)

pygettext currently only supports single-argument gettext and its aliases (can be controlled via CLI arguments). pgettext, ngettext, etc., are not supported. pygettext should support these by default. I'm gonna take a stab at this hopefully this week :)

Has this already been discussed elsewhere?

This is a minor feature, which does not need previous discussion elsewhere

Links to previous discussion of this feature:

No response

@tomasr8 tomasr8 added the type-feature A feature request or enhancement label Nov 11, 2024
@tomasr8 tomasr8 self-assigned this Nov 11, 2024
@picnixz picnixz added the stdlib Python modules in the Lib dir label Nov 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
stdlib Python modules in the Lib dir type-feature A feature request or enhancement
Projects
None yet
Development

No branches or pull requests

2 participants