#12673 closed (fixed)
Start requiring GNU gettext 0.15 or newer
Reported by: | Ramiro Morales | Owned by: | Jannis Leidel |
---|---|---|---|
Component: | Internationalization | Version: | dev |
Severity: | Keywords: | ||
Cc: | Triage Stage: | Accepted | |
Has patch: | yes | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
This way we will be able to use translation contexts (see #10004, django-i18n thread) in a future release.
It will also allow us to drop some workarounds for bugs in old gettext versions (#9212, r9155) and would help with #9753.
GNU gettext 0.15 was released on July 2006 and current version is 0.17 (released on Nov. 2007). All sane OS platforms already comply with this requirement, there are also binaries for Windows available.
Attachments (1)
Change History (8)
comment:1 by , 15 years ago
Summary: | Start requiron GNU getext 0.15 or newer → Start requiring GNU gettext 0.15 or newer |
---|
by , 15 years ago
Attachment: | 12673-require-getetx-015.diff added |
---|
comment:2 by , 15 years ago
Owner: | changed from | to
---|---|
Status: | new → assigned |
Triage Stage: | Unreviewed → Accepted |
comment:3 by , 15 years ago
comment:4 by , 15 years ago
In the case of Webfaction (and other hosting platforms?): We don't need GNU gettext at runtime because we use Python's gettext module for that. It is expected that developers extract translatable literals to .po
files, translates and converts them to
.mo
in their local own workstation before deploying it to the hosting system and hopefully the workstation they use for Django development are running newer environments.
Otherwise, if we want to support developers using workstations running pristine RHES 4 until its end of life, and according to:
- http://en.wikipedia.org/wiki/Red_Hat_Enterprise_Linux
- http://www.redhat.com/docs/en-US/Red_Hat_Enterprise_Linux/4.8/html/Release_Notes/index.html#id2864583
- https://www.redhat.com/security/updates/errata/
we will be stuck with gettext 1.4 until May 2012.
Jannis Leidel also points via IRC that, for example, we are already dropping support for RHES 4 default Python (2.3).
comment:5 by , 15 years ago
Indeed, it's not common to create/update translation files on an already deployed Django project. I will make an announcement about the requirement bump on the django-i18n mailing list.
comment:6 by , 15 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
FWIW, webfaction.com, a favorite Django web host with some, is still using gettext 0.14. It uses "Red Hat Enterprise Linux ES release 4 (Nahant Update 8)". Web hosts are often not "sane" OSes.