Well, intl.acceptlanguages is a comma separated string -- you configured
them on preferences.
My list is: en-us,pt-br,pt,en

So, ff will ask first for the american english site, them for the brazilian
portuguese one....

I think ff uses first the intl.acceptlanguages and them the useragent, but
i'm not an firefox expert (yet).

On Mon, Oct 6, 2008 at 11:50 AM, <[EMAIL PROTECTED]> wrote:

> On second thoughts, I found that. It seems to come from FF config.
>
> Actually that is confusing, since I have my languages set to "en-GB". This
> seems to come up in "intl.acceptlanguages". Why is this is different from
> the above?
>
> I guess what I am trying to know is that how do I get the language FF shows
> things in? I have noted that changing intl.acceptlanguages seems to take me
> to a different version of google (".co.uk" presently instead of ".com"
> when it was en-US)
>
>
> On Mon, Oct 6, 2008 at 3:44 PM, <[EMAIL PROTECTED]> wrote:
>
>> Thanks, does this come from Ubiquity or FF? Or are they both the same??
>> :-)
>>
>>
>> On Mon, Oct 6, 2008 at 3:15 PM, Fernando Takai <[EMAIL PROTECTED]>wrote:
>>
>>> You can see the FF default locale using this:
>>>
>>> function cmd_lang(){
>>>    var lang = Application.prefs.get("general.useragent.locale");
>>>    displayMessage(lang.value);
>>> }
>>>
>>> There's a way of doing that using Components but i really don't remember
>>> right now.
>>>
>>>
>>>
>>> On Mon, Oct 6, 2008 at 10:40 AM, <[EMAIL PROTECTED]> wrote:
>>>
>>>> Hello,
>>>>
>>>> I am putting together a command for a belgian friend. The website I am
>>>> doing this for offers the French or Dutch fork right up front. I was
>>>> wondering how I can read FF's default language? Any hints?
>>>>
>>>>
>>>> Thanks in advance..
>>>>
>>>> --
>>>> Mayuresh
>>>>
>>>>
>>>>
>>>
>>>
>>> --
>>> Fernando "Takai"
>>> http://flickr.com/photos/supeertakai
>>> http://fernandotakai.wordpress.com
>>> http://fernandotakai.jaiku.com
>>>
>>>
>>>
>>
>>
>> --
>> Mayuresh
>>
>
>
>
> --
> Mayuresh
>
> >
>


-- 
Fernando "Takai"
http://flickr.com/photos/supeertakai
http://fernandotakai.wordpress.com
http://fernandotakai.jaiku.com

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"ubiquity-firefox" 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/ubiquity-firefox?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to