Fixed #10741: Updated instructions on the best gettext package to get for Windows. Thanks Ramiro.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@11103 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Karen Tracey 2009-06-24 23:33:17 +00:00
parent 970be97530
commit fe2747d1e0
1 changed files with 11 additions and 7 deletions

View File

@ -978,15 +978,17 @@ message files (``.po``). Translation work itself just involves editing existing
files of this type, but if you want to create your own message files, or want to files of this type, but if you want to create your own message files, or want to
test or compile a changed message file, you will need the ``gettext`` utilities: test or compile a changed message file, you will need the ``gettext`` utilities:
* Download the following zip files from * Download the following zip files from the GNOME servers
http://sourceforge.net/projects/gettext http://ftp.gnome.org/pub/gnome/binaries/win32/dependencies/ or from one
of its mirrors_
* ``gettext-runtime-X.bin.woe32.zip`` * ``gettext-runtime-X.zip``
* ``gettext-tools-X.bin.woe32.zip`` * ``gettext-tools-X.zip``
* ``libiconv-X.bin.woe32.zip``
* Extract the 3 files in the same folder (i.e. ``C:\Program ``X`` is the version number, we recomend using ``0.15`` or higher.
Files\gettext-utils``)
* Extract the contents of the ``bin\`` directories in both files to the
same folder on your system (i.e. ``C:\Program Files\gettext-utils``)
* Update the system PATH: * Update the system PATH:
@ -995,6 +997,8 @@ test or compile a changed message file, you will need the ``gettext`` utilities:
* Add ``;C:\Program Files\gettext-utils\bin`` at the end of the * Add ``;C:\Program Files\gettext-utils\bin`` at the end of the
``Variable value`` field ``Variable value`` field
.. _mirrors: http://ftp.gnome.org/pub/GNOME/MIRRORS
You may also use ``gettext`` binaries you have obtained elsewhere, so long as 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 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 have been found to not support this command. Do not attempt to use Django