Repository navigation
Closed
Description
| BPO | 18319 |
|---|---|
| Nosy | @loewis, @warsaw, @Cito, @jwilk, @gbassiere |
| PRs | |
| Files |
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 2013-06-27.22:53:23.400>
labels = ['type-bug', '3.8', '3.9', '3.10', '3.7', 'library']
title = 'gettext() cannot find translations with plural forms'
updated_at = <Date 2020-09-18.20:39:10.360>
user = 'https://github.com/jwilk'bugs.python.org fields:
activity = <Date 2020-09-18.20:39:10.360>
actor = 'cito'
assignee = 'none'
closed = False
closed_date = None
closer = None
components = ['Library (Lib)']
creation = <Date 2013-06-27.22:53:23.400>
creator = 'jwilk'
dependencies = []
files = ['30717']
hgrepos = []
issue_num = 18319
keywords = ['patch']
message_count = 3.0
messages = ['191967', '228601', '368346']
nosy_count = 6.0
nosy_names = ['loewis', 'barry', 'cito', 'jwilk', 'python-dev', 'Gilles Bassi\xc3\xa8re']
pr_nums = ['19869']
priority = 'normal'
resolution = None
stage = 'patch review'
status = 'open'
superseder = None
type = 'behavior'
url = 'https://bugs.python.org/issue18319'
versions = ['Python 3.7', 'Python 3.8', 'Python 3.9', 'Python 3.10']Linked PRs
Metadata
Metadata
Assignees
Labels
Projects
- StatusShow more project fieldsDone
Activity
jwilk commentedon Jun 27, 2013
gettext() cannot find translations for messages that have plural forms. I would expect that gettext(s) is equivalent to ngettext(s, s, 1) for such messages, as it is implemented in GNU gettext.
BreamoreBoy commentedon Oct 5, 2014
@martin can you comment on this please.
gbassiere commentedon May 7, 2020
Hi there,
I worked on a patch for this issue (see attached pull request).
I would be happy to discuss it with people involved in gettext module maintenance but I'm not sure how to contact them. Is there a dedicated mailing list or an IRC channel or something? I've found i18n-sig but it has been inactive for 5 years...
Best regards
Gilles
gh-62519: Make pgettext search plurals when translation is not found (#…
pythongh-62519: Make pgettext search plurals when translation is not …
pythongh-62519: Make pgettext search plurals when translation is not …
pythongh-62519: Make pgettext search plurals when translation is not …
pythongh-62519: Make pgettext search plurals when translation is not …
Merge branch 'main' into superfix
[3.12] gh-62519: Make pgettext search plurals when translation is not…
[3.11] gh-62519: Make pgettext search plurals when translation is not…
ambv commentedon Jul 31, 2023
This is now fixed. Thanks! ✨ 🍰 ✨