|
Posted by Rik on 07/25/07 13:24
On Wed, 25 Jul 2007 15:02:40 +0200, Sergei Riaguzov <hello@world.com> =
wrote:
> On Wed, 25 Jul 2007 14:54:38 +0200, Rik wrote:
>
>> The only thing I know about that hat makes sense to use is the
>> HTTP_ACCEPT_LANGUAGE header in the request, which may or may not be
>> sent.
> That's not it..
>
> I have set general.useragent.locale to "en" in Firefox but what I get
> from $_SERVER["HTTP_ACCEPT_LANGUAGE"] is "pl,en-us;q=3D0.7,en;q=3D0.3"=
That's because you've set polish as your preferred language =
(tools->options->advanced->languages->Choose.. ). That's how I come by =
fairly large:
Accept-Language: en-gb,en;q=3D0.8,nl;q=3D0.7,nl-be;q=3D0.5,de;q=3D0.3,fr=
;q=3D0.2
It might help if you told us what the locale is going to be used for? I =
=
guessed for determening the language of the user, but I might be wrong..=
=
And the users themselves might not have it set correctly offcourse. =
Standard for most browsers is using the language of the OS as default on=
=
install however, so normally it would be pretty reliable.
-- =
Rik Wasmus
Navigation:
[Reply to this message]
|