added a clarification on the location of the locale directory with appliations and projects

git-svn-id: http://code.djangoproject.com/svn/django/trunk@1850 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Georg Bauer 2006-01-07 10:21:51 +00:00
parent bbfc645337
commit 2bffee2e6c
1 changed files with 4 additions and 0 deletions

View File

@ -288,6 +288,10 @@ marked for translation. It creates (or updates) a message file in the directory
``conf/locale``. In the ``de`` example, the file will be ``conf/locale``. In the ``de`` example, the file will be
``conf/locale/de/LC_MESSAGES/django.po``. ``conf/locale/de/LC_MESSAGES/django.po``.
If run over your project source tree or your appliation source tree, it will
do the same, but the location of the locale directory is ``locale/LANG/LC_MESSAGES``
(note the missing ``conf`` prefix).
.. admonition:: No gettext? .. admonition:: No gettext?
If you don't have the ``gettext`` utilities installed, ``make-messages.py`` If you don't have the ``gettext`` utilities installed, ``make-messages.py``