Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Browse files

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


git-svn-id: bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
1 parent 2706fdb commit 6d98cda03cc759fb1d60b15684dc7b969abf5477 @DrMeers DrMeers committed
Showing with 11 additions and 0 deletions.
  1. +11 −0 docs/ref/contrib/localflavor.txt
11 docs/ref/contrib/localflavor.txt
@@ -127,6 +127,17 @@ Here's an example of how to use them::
.. _United States of America: `United States of America (us)`_
.. _Uruguay: `Uruguay (uy)`_
+Internationalization of localflavor
+Localflavor has its own catalog of translations, in the directory
+``django/contrib/localflavor/locale``, and it's not loaded automatically like
+Django's general catalog in ``django/conf/locale``. If you want localflavor's
+texts to be translated, like form fields error messages, you must include
+:mod:`django.contrib.localflavor` in the :setting:`INSTALLED_APPS` setting, so
+the internationalization system can find the catalog, as explained in
Adding flavors

0 comments on commit 6d98cda

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