Skip to content

Commit

Permalink
Removed a couple of notes associated with deprecated utilities from t…
Browse files Browse the repository at this point in the history
…he localization document to unclutter it a bit.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@16969 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information
ramiro committed Oct 13, 2011
1 parent 1f1b167 commit d544110
Showing 1 changed file with 5 additions and 14 deletions.
19 changes: 5 additions & 14 deletions docs/topics/i18n/localization.txt
Expand Up @@ -49,11 +49,6 @@ language. Message files have a ``.po`` file extension.
Django comes with a tool, ``django-admin.py makemessages``, that automates the Django comes with a tool, ``django-admin.py makemessages``, that automates the
creation and upkeep of these files. creation and upkeep of these files.


.. admonition:: A note to Django veterans

The old tool ``bin/make-messages.py`` has been moved to the command
``django-admin.py makemessages`` to provide consistency throughout Django.

.. admonition:: Gettext utilities .. admonition:: Gettext utilities


The ``makemessages`` command (and ``compilemessages`` discussed later) use The ``makemessages`` command (and ``compilemessages`` discussed later) use
Expand Down Expand Up @@ -179,12 +174,6 @@ compilemessages`` like this::


That's it. Your translations are ready for use. That's it. Your translations are ready for use.


.. admonition:: A note to Django veterans

The old tool ``bin/compile-messages.py`` has been moved to the command
``django-admin.py compilemessages`` to provide consistency throughout
Django.

.. admonition:: Working on Windows? .. admonition:: Working on Windows?


If you're using Windows and need to install the GNU gettext utilities so If you're using Windows and need to install the GNU gettext utilities so
Expand All @@ -202,9 +191,11 @@ That's it. Your translations are ready for use.
Creating message files from JavaScript source code Creating message files from JavaScript source code
================================================== ==================================================


You create and update the message files the same way as the other Django message You create and update the message files the same way as the other Django
files -- with the ``django-admin.py makemessages`` tool. The only difference is message files -- with the ``django-admin.py makemessages`` tool. The only
you need to provide a ``-d djangojs`` parameter, like this:: difference is you need to explicitly specify what in gettext parlance is known
as a domain in this case the ``djangojs`` domain, by providing a ``-d djangojs``
parameter, like this::


django-admin.py makemessages -d djangojs -l de django-admin.py makemessages -d djangojs -l de


Expand Down

0 comments on commit d544110

Please sign in to comment.