|
Posted by Sergei Riaguzov on 07/25/07 14:57
On Wed, 25 Jul 2007 15:24:01 +0200, Rik wrote:
>> I have set general.useragent.locale to "en" in Firefox but what I get
>> from $_SERVER["HTTP_ACCEPT_LANGUAGE"] is "pl,en-us;q=0.7,en;q=0.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=0.8,nl;q=0.7,nl-be;q=0.5,de;q=0.3,fr;q=0.2
And which one should be user locale? The first one?
> 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.
Yes that's right, I want to find out user locale settings to show
localized page.
Navigation:
[Reply to this message]
|