wwLocaleInfo::GetLocaleInfo

Loads local properties with Locale specific info for a given Locale ID. Locale Ids are either numeric values (0x0409 for US for example) or string values (en-US, de-AT etc). You can use LocaleLookup to get a LocaleId from an string based LocaleID.

o.GetLocaleInfo(lvLocale)

Return Value

.T. on success. .F. if Locale is invalid or not installed on the machine.

Parameters

lvLocale
Numeric Locale Id. (0x409)
String Locale Id (en-US)

Pass in 0 to get the default locale information.


Example

o = CREATEOBJECT("wwLocaleInfo")
? o.GetLocaleInfo( o.LocaleLookup("en-us") )

See also:

Class wwLocaleInfo

© West Wind Technologies, 1996-2019 • Updated: 07/10/04
Comment or report problem with topic