Opened 7 years ago

Closed 7 years ago

Last modified 5 years ago

#12673 closed (fixed)

Start requiring GNU gettext 0.15 or newer

Reported by: Ramiro Morales Owned by: Jannis Leidel
Component: Internationalization Version: master
Severity: Keywords:
Cc: Triage Stage: Accepted
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: UI/UX:

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)

12673-require-getetx-015.diff (3.2 KB) - added by Ramiro Morales 7 years ago.

Download all attachments as: .zip

Change History (8)

comment:1 Changed 7 years ago by Ramiro Morales

Needs documentation: unset
Needs tests: unset
Patch needs improvement: unset
Summary: Start requiron GNU getext 0.15 or newerStart requiring GNU gettext 0.15 or newer

Changed 7 years ago by Ramiro Morales

comment:2 Changed 7 years ago by Jannis Leidel

Owner: changed from nobody to Jannis Leidel
Status: newassigned
Triage Stage: UnreviewedAccepted

comment:3 Changed 7 years ago by Luke Plant

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.

comment:4 Changed 7 years ago by anonymous

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:

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 Changed 7 years ago by Jannis Leidel

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 Changed 7 years ago by Jannis Leidel

Resolution: fixed
Status: assignedclosed

(In [12296]) Fixed #12673 - Require a version of GNU gettext of 0.1.5 and above.

comment:7 Changed 5 years ago by Jacob

milestone: 1.2

Milestone 1.2 deleted

Note: See TracTickets for help on using tickets.
Back to Top