pinax i18n问题

4 views
Skip to first unread message

ode

unread,
Nov 22, 2009, 8:36:24 PM11/22/09
to django-cn
使用pinax的时候,发现i18n好像有点问题,语言配置为zh后,登陆admin却还是英文的,各位有没碰到类似的情况?

ode

unread,
Nov 23, 2009, 7:57:27 AM11/23/09
to django-cn
Problem solved!!

The reason is , language preference is saved in Account table. I
create superuser during syncdb, the default language is en-us, so when
I modified the language preference later, it doesn't work as what I'm
excepting, for the language preference is fetched from the database.

I think Pinax SHOULD improve this problem , It seems so strange that I
follow the trace and read the fucking code to solve the problem.


On Nov 23, 9:36 am, ode <fuji...@gmail.com> wrote:
> 使用pinax的时候,发现i18n好像有点问题,语言配置为zh后,登陆admin却还是英文的,各位有没碰到类似的情况?
Reply all
Reply to author
Forward
0 new messages