Rod Whiteley a �crit:
> var here = Components
>    .classes["@mozilla.org/intl/nslocaleservice;1"]
>    .getService(Components.interfaces.nsILocaleService)
>    .getApplicationLocale()
>    .getCategory("NSILOCALE_CTYPE");

Correction: it works in javascript console of mozilla but when i am trying
to use it in an installation script (install.js) it doesn't: the
"Components" object is undefined.....any idea ?

-- 
Olivier Sirven
_______________________________________________
Mozilla-xpinstall mailing list
[EMAIL PROTECTED]
http://mail.mozilla.org/listinfo/mozilla-xpinstall

Reply via email to