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.

nsILocaleService

IID:c2edc848-4219-4440-abbf-98119882c83f
Inherits From:nsISupports

This interface is intended to be used as a service.

This interface is implemented by the following components:


Methods

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

nsILocale getApplicationLocale ( )


AString getLocaleComponentForUserAgent ( )


nsILocale getLocaleFromAcceptLanguage ( char* acceptLanguage )

Arguments:
acceptLanguage

nsILocale getSystemLocale ( )


nsILocale newLocale ( AString locale )

Arguments:
locale

Reference documentation is generated from Mozilla's source.

Copyright © 1999-2006 XULPlanet.com