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

--~--~---------~--~----~------------~-------~--~----~
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