Re: installation localization
Olivier Sirven <[email protected]> Wed, 10 Nov 2004 18:16:35 +0100
| Newsgroups | gmane.comp.mozilla.devel.xpinstall |
|---|---|
| Organization | Another Netscape Collabra Server User |
| Message-ID | <[email protected]> |
Rod Whiteley a écrit:
> In JavaScript? Something like this, perhaps:
>
> var here = Components
> .classes["@mozilla.org/intl/nslocaleservice;1"]
> .getService(Components.interfaces.nsILocaleService)
> .getApplicationLocale()
> .getCategory("NSILOCALE_CTYPE");
Thanks this is exactly what I wanted !
--
Olivier Sirven