well, the locale directory should be in up-level of project
directorysorry for disturbing. ;)
On 2月5日, 下午2时05分, "pength" <[EMAIL PROTECTED]> wrote:
> i am using i18n as the following way. In urls.py, i added
> (r'^i18n/', include('django.conf.urls.i18n')),
> and in my page, there're 2 buttons
i am using i18n as the following way. In urls.py, i added
(r'^i18n/', include('django.conf.urls.i18n')),
and in my page, there're 2 buttons as
http://localhost:8000/i18n/setlang/?language=zh-cn
http://localhost:8000/i18n/setlang/?language=en
in my dev server (manage.py runserver), everything is O
2 matches
Mail list logo