diff options
| author | Georg Bauer <gb@hugo.westfalen.de> | 2005-10-11 14:22:28 +0000 |
|---|---|---|
| committer | Georg Bauer <gb@hugo.westfalen.de> | 2005-10-11 14:22:28 +0000 |
| commit | ef9207b66149efb48f10910e18166f40aa298014 (patch) | |
| tree | 1612a075ad8e96524f8f8f6cafcccb0210766b50 /docs/translation.txt | |
| parent | d606cf7e38a1e6f73eef8119a2f538f9de760593 (diff) | |
i18n: added documentation on LOCALE_PATHS
git-svn-id: http://code.djangoproject.com/svn/django/branches/i18n@840 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'docs/translation.txt')
| -rw-r--r-- | docs/translation.txt | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/docs/translation.txt b/docs/translation.txt index e63009883b..2a95286e0e 100644 --- a/docs/translation.txt +++ b/docs/translation.txt @@ -276,8 +276,10 @@ want to do that. Or you can just build a big project out of several apps and put all translations into one big project message file. The choice is yours. All message file repositories are structured the same. They are: -- $PROJECTPATH/apps/<app>/locale/<language>/LC_MESSAGES/django.(po|mo) +- $APPPATH/locale/<language>/LC_MESSAGES/django.(po|mo) - $PROJECTPATH/locale/<language>/LC_MESSAGES/django.(po|mo) +- all paths listed in LOCALE_PATHS in your settings file are + searched in that order for <language>/LC_MESSAGES/django.(po|mo) - $PYTHONPATH/django/conf/locale/<language>/LC_MESSAGES/django.(po|mo) Actually the appliaction doesn't need to be stored below the project path - |
