You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
pygettext: Add support for multi-argument gettext functions #126700
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
Activity
gh-126700: pygettext: Support more gettext functions (GH-126912)
serhiy-storchaka commentedon Nov 22, 2024
Thank you @tomasr8. I did not expect that you can do this before making pygettext to use AST parser.
pythongh-126700: pygettext: Support more gettext functions (pythonGH-…