django-dbgettext / docs / index.rst

Simon Meers 3b38945 




Simon Meers bcbcdae 







Simon Meers 3b38945 





Simon Meers bcbcdae 


Simon Meers c3b3422 

Simon Meers fddc058 

Simon Meers a1136ae 
Simon Meers 3b38945 
.. django-dbgettext documentation master file, created by
   sphinx-quickstart on Sat Dec 26 19:39:41 2009.
   You can adapt this file completely to your liking, but it should at least
   contain the root `toctree` directive.

django-dbgettext documentation
==============================

Here lies some basic documentation to get you started with django-dbgettext. The application itself is not overly large or complex, and I recommend perusing the source code for a full understanding.

The premise of django-dbgettext is simple: `gettext <http://www.gnu.org/software/gettext>`_ is already used for translating content from Django's source code and templates, so why not use it for translating database content also? Then the whole process is unified and simplified for translators, and there is no need to provide custom administration interfaces for dynamic content. Simply use the ``dbgettext_export`` `management command <http://docs.djangoproject.com/en/dev/howto/custom-management-commands/>`_ to export the content from the database prior to running `makemessages <http://docs.djangoproject.com/en/dev/topics/i18n/#message-files>`_.



Contents:

.. toctree::
   :maxdepth: 2

   registration
   dbgettext_export
   settings
   parsing
   nesting
   templatetags
   flatpages
   FAQ
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.