WARNING: Most of this content (with the exception of the Mozilla 1.9 XPCOM reference) is very old, and can be expected to be out of date and possibly obsolete. For better XUL documentation, please visit the XUL hub at the Mozilla Developer Center.

@mozilla.org/intl/nslocaleservice;1

This component implements the following interfaces:

Methods

InterfaceMethod
nsILocaleService nsILocale getApplicationLocale ( )
nsILocaleService AString getLocaleComponentForUserAgent ( )
nsILocaleService nsILocale getLocaleFromAcceptLanguage ( char* acceptLanguage )
nsILocaleService nsILocale getSystemLocale ( )
nsILocaleService nsILocale newLocale ( AString locale )

Reference documentation is generated from Mozilla's source.