Use the Use OS Locale (-useOsLocale) parameter to set certain default localization options for OpenEdge clients.
Operating system and syntax
Windows
-useOsLocale
Use with
Maximum value
Minimum value
Single-user default
Multi-user default
Client Session
—
—
—
—
This parameter causes the AVM to set certain SESSION system handle attributes based on the current Windows locale settings.
The following table lists these SESSION system handle attributes and shows the startup parameters that individually affect the value of each attribute.
If any of the startup parameters shown in this table appear on the same command line
with the -useOsLocale parameter, any that follow -useOsLocale override the setting
from -useOsLocale and any that -useOsLocale follows are overridden by the setting from -useOsLocale.
For more information on these SESSION system handle attributes, see OpenEdge Development: ABL Reference.
In a session accessing .NET objects, Progress Software Corporation recommends that you use this startup parameter to resolve potential discrepancies between localization settings in your ABL session and the embedded .NET Common Language Runtime (CLR). Using this parameter makes your ABL session conform to Windows (and therefore .NET) settings. If you want to override these settings in your ABL session, you can also propagate these overrides to the CLR by instantiating a .NET System.Globalization.Cultureinfo class and making the appropriate settings using the properties and methods of this instance.