$nlslocalelist

Return a list of valid locales or the system locale.

Result = $NlsLocaleList { ("system") }

Example: $valrep (LOCALES) = $nlslocalelist

Parameters

Parameters
Parameter Data Type Description
system String Return the locale as specified on the operating system. If omitted, a list of available locales is returned

Return Values

Returns an associative list of available locales, or the system locale

Use

Allowed in all component types.

Description

You can use the $nlslocalelist to check the system locale or populate a widget's ValRep list, enabling the user to select the locale.

Using $nlslocalelist

$valrep (LOCALELIST) = $nlslocalelist
History
Version Change
9.4.01 Introduced

Related Topics