【发布时间】:2010-03-29 19:03:00
【问题描述】:
我正在开发一个包含两个不同站点的项目,除以 语言。也许我错了,但现在我的目录结构 看起来像:
/ruapp/settings.py # SITE_ID = 1
/ruapp/manage.py
/enapp/settings.py # SITE_ID = 2
/enapp/manage.py
/common/urls.py
/common/ # almost every other file
/common/templates/ # templates with {% trans %}
/locale/ # with locales ru-ru and en-us, generated by calling
makemessages from the root of all this structure
如何告诉 django 语言环境?似乎不会 自行查找 /locale/ 文件夹
【问题讨论】:
标签: django internationalization locale