Skip to content

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

Closed
@tomasr8

Description

@tomasr8

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

Linked PRs

Metadata

Metadata

Assignees

Labels

stdlibPython modules in the Lib dirtype-featureA feature request or enhancement

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions