Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Fixed #15830 -- Add documentation regarding localflavor i18n. Thanks …

…framos.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@16109 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit 6d98cda03cc759fb1d60b15684dc7b969abf5477 1 parent 2706fdb
Simon Meers authored April 28, 2011

Showing 1 changed file with 11 additions and 0 deletions. Show diff stats Hide diff stats

  1. 11  docs/ref/contrib/localflavor.txt
11  docs/ref/contrib/localflavor.txt
@@ -127,6 +127,17 @@ Here's an example of how to use them::
127 127
 .. _United States of America: `United States of America (us)`_
128 128
 .. _Uruguay: `Uruguay (uy)`_
129 129
 
  130
+Internationalization of localflavor
  131
+===================================
  132
+
  133
+Localflavor has its own catalog of translations, in the directory
  134
+``django/contrib/localflavor/locale``, and it's not loaded automatically like
  135
+Django's general catalog in ``django/conf/locale``. If you want localflavor's
  136
+texts to be translated, like form fields error messages, you must include
  137
+:mod:`django.contrib.localflavor` in the :setting:`INSTALLED_APPS` setting, so
  138
+the internationalization system can find the catalog, as explained in
  139
+:ref:`using-translations-in-your-own-projects`.
  140
+
130 141
 Adding flavors
131 142
 ==============
132 143
 

0 notes on commit 6d98cda

Please sign in to comment.
Something went wrong with that request. Please try again.