Changeset 8215 for django/branches/gis/docs/i18n.txt
- Timestamp:
- 08/05/08 12:15:33 (5 months ago)
- Files:
-
- django/branches/gis (modified) (1 prop)
- django/branches/gis/docs/i18n.txt (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
django/branches/gis
- Property svnmerge-integrated changed from /django/trunk:1-7978 to /django/trunk:1-8214
django/branches/gis/docs/i18n.txt
r7918 r8215 435 435 starting point; it's just an empty translation file. 436 436 437 .. admonition:: Working on Windows? 438 439 If you're using Windows and need to install the GNU gettext utilites so 440 ``django-admin makemessages`` works see `gettext on Windows`_ for more 441 information. 442 437 443 The format of ``.po`` files is straightforward. Each ``.po`` file contains a 438 444 small bit of metadata, such as the translation maintainer's contact … … 513 519 514 520 .. _Submitting and maintaining translations: ../contributing/ 521 522 .. admonition:: Working on Windows? 523 524 If you're using Windows and need to install the GNU gettext utilites so 525 ``django-admin compilemessages`` works see `gettext on Windows`_ for more 526 information. 515 527 516 528 3. How Django discovers language preference … … 889 901 used to differentiate between different programs that store their data 890 902 in a common message-file library (usually ``/usr/share/locale/``). The 891 ``django`` domain is used for python and template translation strings903 ``django`` domain is used for Python and template translation strings 892 904 and is loaded into the global translation catalogs. The ``djangojs`` 893 905 domain is only used for JavaScript translation catalogs to make sure … … 896 908 ``xgettext`` and ``msgfmt``. This is mostly for convenience. 897 909 910 ``gettext`` on Windows 911 ====================== 912 913 This is only needed for people who either want to extract message IDs or 914 compile ``.po`` files. Translation work itself just involves editing existing 915 ``.po`` files, but if you want to create your own .po files, or want to test 916 or compile a changed ``.po`` file, you will need the ``gettext`` utilities: 917 918 * Download the following zip files from http://sourceforge.net/projects/gettext 919 920 * ``gettext-runtime-X.bin.woe32.zip`` 921 * ``gettext-tools-X.bin.woe32.zip`` 922 * ``libiconv-X.bin.woe32.zip`` 923 924 * Extract the 3 files in the same folder (i.e. ``C:\Program Files\gettext-utils``) 925 926 * Update the system PATH: 927 928 * ``Control Panel > System > Advanced > Environment Variables`` 929 * In the ``System variables`` list, click ``Path``, click ``Edit`` 930 * Add ``;C:\Program Files\gettext-utils\bin`` at the end of the ``Variable value``
