2007/10/31, Jeremy Dunck <[EMAIL PROTECTED]>:
>
>
> On 10/31/07, Jason Cui <[EMAIL PROTECTED]> wrote:
> > 2007/10/31, Malcolm Tredinnick <[EMAIL PROTECTED]>:
> > >
> > > On Tue, 2007-10-30 at 00:37 -0700, Jason Cui wrote:
> > > > When I update my site from 0.96 to 0.96.1,my internationalize
> function
> > > > won't work for firefox, but fine for IE.
> > > > I use english in views and templates, and trans it to chinese in po
> > > > file, and I have to local folder named en and zh, now, any firefox
> > > > users can only see english page, change the language options is
> > > > useless, but IE has no problem, show chinese page.
> > >
> > > Can anybody else confirm this?
> > >
> > > Malcolm
> > >
> >
> > If my firefox's language setting has only zh and zh_cn options, it will
> show
> > chinese page,
> > when I add en to this setting, it will always show english page, even if
> I
> > set en as the last one.
> >
>
> Please use a tool like Wireshark or LiveHttpHeaders to show us what
> your Accept-Language header has.
>
> Providing this info would give bonus points (ripped from LocaleMiddleware
> docs):
>
>    * a django_language key in the the current user's session.
>    * a cookie called django_language.
>    * Accept-Language HTTP header.
>    * the global LANGUAGE_CODE setting.
>
> >
>
The Accept-Language header is : zh-cn,zh;q=0.7,en;q=0.3
I think this is correct header, right?

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to