Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

In your settings.py you should have:

USE_I18N = True
LANGUAGE_CODE = 'zh_CN'

LocaleMiddleware should not be used.

Also django.po file needs to be compiled - cd askbot; python ../manage.py compilemessages

Your system must have package called gettext - it might be absent in some systems.

In your settings.py you should have:

USE_I18N = True
LANGUAGE_CODE = 'zh_CN'

LocaleMiddleware should not be used.

Also django.po file needs to be compiled - cd askbot; python ../manage.py compilemessages

Your system must have package called gettext - it might be absent in some systems.

Does this help you?