diff options
| author | Karen Tracey <kmtracey@gmail.com> | 2008-10-06 01:38:22 +0000 |
|---|---|---|
| committer | Karen Tracey <kmtracey@gmail.com> | 2008-10-06 01:38:22 +0000 |
| commit | 48f4388c8bbd072db1e7949c7b954ca9ce989f77 (patch) | |
| tree | 9d1a6638a2843cc148b8bfc945aede4d6f12fdb4 /docs | |
| parent | 075274203f5c4c0245c915fb974e310aa1781bd8 (diff) | |
[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
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/topics/i18n.txt | 7 |
1 files changed, 7 insertions, 0 deletions
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". |
