~ubuntu-branches/ubuntu/quantal/python-django/quantal-security

« back to all changes in this revision

Viewing changes to docs/howto/i18n.txt

  • Committer: Bazaar Package Importer
  • Author(s): Raphaël Hertzog
  • Date: 2010-09-18 19:37:03 UTC
  • mto: (1.1.12 upstream) (4.4.9 sid)
  • mto: This revision was merged to the branch mainline in revision 30.
  • Revision ID: james.westby@ubuntu.com-20100918193703-sw44inm7dnu8mf42
Import upstream version 1.2.3

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
.. _howto-i18n:
2
 
 
3
1
.. _using-translations-in-your-own-projects:
4
2
 
5
3
===============================================
46
44
tool. You only need to be in the same directory where the ``locale/`` directory
47
45
is located. And you use :djadmin:`django-admin.py compilemessages <compilemessages>`
48
46
to produce the binary ``.mo`` files that are used by ``gettext``. Read the
49
 
:ref:`topics-i18n-localization` document for more details.
 
47
:doc:`/topics/i18n/localization` document for more details.
50
48
 
51
49
You can also run ``django-admin.py compilemessages --settings=path.to.settings``
52
50
to make the compiler process all the directories in your :setting:`LOCALE_PATHS`