From 48f4388c8bbd072db1e7949c7b954ca9ce989f77 Mon Sep 17 00:00:00 2001 From: Karen Tracey Date: Mon, 6 Oct 2008 01:38:22 +0000 Subject: [1.0.X] Fixed #9212: Added code to check the xgettext version, and if it is lower than 0.15, undo an incorrect encoding to utf-8 done by xgettext. This bug was fixed in xgettext 0.15, but the most-easily-installed Windows gettext binaries are older (0.13.1), so we work around it. Backport of r9155 from trunk. git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9156 bcc190cf-cafb-0310-a4f2-bffc1f526a37 --- docs/topics/i18n.txt | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'docs') diff --git a/docs/topics/i18n.txt b/docs/topics/i18n.txt index b2a181e5b8..3e8234b342 100644 --- a/docs/topics/i18n.txt +++ b/docs/topics/i18n.txt @@ -974,3 +974,10 @@ test or compile a changed message file, you will need the ``gettext`` utilities: * In the ``System variables`` list, click ``Path``, click ``Edit`` * Add ``;C:\Program Files\gettext-utils\bin`` at the end of the ``Variable value`` field + +You may also use ``gettext`` binaries you have obtained elsewhere, so long as +the ``xgettext --version`` command works properly. Some version 0.14.4 binaries +have been found to not support this command. Do not attempt to use Django +translation utilities with a ``gettext`` package if the command ``xgettext +--version`` entered at a Windows command prompt causes a popup window saying +"xgettext.exe has generated errors and will be closed by Windows". -- cgit v1.3