mirror of
https://github.com/django/django.git
synced 2025-07-04 09:49:12 +00:00
i18n: added documentation on LOCALE_PATHS
git-svn-id: http://code.djangoproject.com/svn/django/branches/i18n@840 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
d606cf7e38
commit
ef9207b661
@ -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
|
and put all translations into one big project message file. The choice is
|
||||||
yours. All message file repositories are structured the same. They are:
|
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)
|
- $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)
|
- $PYTHONPATH/django/conf/locale/<language>/LC_MESSAGES/django.(po|mo)
|
||||||
|
|
||||||
Actually the appliaction doesn't need to be stored below the project path -
|
Actually the appliaction doesn't need to be stored below the project path -
|
||||||
|
Loading…
x
Reference in New Issue
Block a user