Use OS Locale (-useOsLocale)
- Last Updated: February 11, 2026
- 1 minute read
- OpenEdge
- Version 13.0
- Documentation
Use OS Locale (-useOsLocale)
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.
| SESSION system handle attribute | Associated startup parameters |
|---|---|
DATE-FORMAT |
Date Format (-d) |
NUMERIC-DECIMAL-POINT |
Fractional Separator (-numdec) |
NUMERIC-FORMAT |
European Numeric Format (-E), Fractional Separator (-numdec), Thousands Separator (-numsep) |
NUMERIC-SEPARATOR |
Thousands Separator (-numsep) |
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 about these SESSION
system handle attributes, see ABL Reference.
In a session accessing .NET objects, Progress 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.