Opened 15 months ago
Last modified 3 days ago
#35684 new Cleanup/optimization
Remove raw_prefix when dropping support for gettext < 0.22.5
| Reported by: | Tim Graham | Owned by: | |
|---|---|---|---|
| Component: | Utilities | Version: | dev |
| Severity: | Normal | Keywords: | |
| Cc: | Triage Stage: | Someday/Maybe | |
| Has patch: | no | Needs documentation: | no |
| Needs tests: | no | Patch needs improvement: | no |
| Easy pickings: | no | UI/UX: | no |
Description
Serhii Tereshchenko commented on the PR for #26093:
Technically, it was a bug in gettext and it is fixed now (but not released yet, probably will be included in the next version after 0.22.5). Somewhere in the future when everyone uses new gettext this workaround may no longer be needed.
raw_prefix has since moved to django/utils/translation/template.py.
It may be a few years before this ticket is actionable, hence "Someday/Maybe" status.
Change History (2)
comment:1 by , 3 days ago
comment:2 by , 3 days ago
I think it's too soon to assume most users will have gettext 0.23.1. Ubuntu 24.04 LTS, for example, has 0.21.
I see a fix has been released (0.23.1 in Debian stable), I'd be interested in working on this.