summaryrefslogtreecommitdiff
path: root/docs/howto
diff options
context:
space:
mode:
authorJannis Leidel <jannis@leidel.info>2010-12-21 14:57:57 +0000
committerJannis Leidel <jannis@leidel.info>2010-12-21 14:57:57 +0000
commitb224b05304f64a34fcb13262bbffc30c1337abc7 (patch)
tree4ef2276baabaf3b4ab1096fda4a480570a5f190c /docs/howto
parent98e1a71ceb75faa706fca237c1c91d3fa12eda0f (diff)
Fixed #14910 -- Clarified the order of precedence of loading translation catalogues. Thanks, vanschelven.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@14998 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'docs/howto')
-rw-r--r--docs/howto/i18n.txt10
1 files changed, 5 insertions, 5 deletions
diff --git a/docs/howto/i18n.txt b/docs/howto/i18n.txt
index 6bec531177..64b33d765f 100644
--- a/docs/howto/i18n.txt
+++ b/docs/howto/i18n.txt
@@ -6,11 +6,11 @@ Using internationalization in your own projects
At runtime, Django looks for translations by following this algorithm:
- * First, it looks for a ``locale`` directory in the application directory
- of the view that's being called. If it finds a translation for the
- selected language, the translation will be installed.
- * Next, it looks for a ``locale`` directory in the project directory. If it
- finds a translation, the translation will be installed.
+ * First, it looks for a ``locale`` directory in the directory containing
+ your settings file.
+ * Second, it looks for a ``locale`` directory in the project directory.
+ * Third, it looks for a ``locale`` directory in each of the installed apps.
+ It does this in the reverse order of INSTALLED_APPS
* Finally, it checks the Django-provided base translation in
``django/conf/locale``.