| Regional
settings in the registry All Regional/International settings are stored in the registry as type REG_SZ value at HKEY_CURRENT_USER\Control Panel\International iCountry Country code is the international telephone code, except for Canada, which is 2. The default is 1. iCurrDigits Number digits displayed after the decimal separator. The default is 2. iCurrency Determines how currency is displayed:
iDate Determines how dates are displayed:
iDigits The number of digits displayed after the decimal separator in numbers. The default is 2. iLZero Leading zeros are not displayed if 0 (default). A Leading zero is displayed if set to 1. iMeasure Metric is 0, U.S. is 1 iNegCurr Determines the format for displaying negative
numbers (default is 1):
iTime Determines if the clock is 12 hours (0) or 24-hour (1). iTLZero The default of 0 means hours may have single digits, a 1 pads to double digits. Locale locale ID for spoken language. The default is U.S. English which is 00000409. s1159 AM indicator for a 12 hour clock. s2359 PM indicator for a 12 hour clock. sCountry Country name. The default for U.S. English is United States. sCurrency Currency symbol. The default for U.S. English is $. sDate Date separator. The default for U.S. English is /. sDecimal Decimal separator symbol. The default for U.S. English is the . (period). sLanguage Language abbreviation: (U.S. English is ENU)
sList List separator character. The default for U.S. English is , (comma). sLongDate Long Date format:
sShortDate Short date:
sThousand Thousands separator. The default for U.S. English is , (comma). sTime Time separator. The default for U.S. English is : (colon). sTimeFormat The default is HH:mm:ss NOTE: See tip 3452 for Windows 2000 additions. |
Windows 2000 regional settings in the registry. 08-Mar-01
Windows 2000 adds the following registry values: Value name Data Type Range Default D e s c r i p t i o n
iCalendarType REG_SZ 0-12 1 1 Gregorian (localized)
2 Gregorian (U.S.)
3 Era: Year of the Emperor (Japan)
4 Era: Year of Taiwan
5 Tangun Era (Korea)
6 Hijri (Arabic Lunar)
7 Thai
8 Hebrew (Lunar)
9 Gregorian (Middle East) French
10 Gregorian Arabic
11 Gregorian transliterated English
12 Gregorian transliterated French
iFirstDayOfWeek REG_SZ 0–6 6 First day of the week: 0 Monday
1 Tuesday
2 Wednesday
3 Thursday
4 Friday
5 Saturday
6 Sunday
iFirstWeekOfYear REG_SZ 0-2 0 First week of the year: 0 The week containing January 1.
1 The first full week following January 1.
2 The first week containing at least four days.
iTimePrefix REG_SZ 0-1 0 Where does the time marker (AM or PM) appear: 0 Suffix 6:15 AM
1 Prefix AM 6:15
NumShape REG_SZ 0-2 1 0 The shape of the digits depends on the context.
European digits follow Latin text,
Arabic-Indic digits follow Arabic text, and
Thai digits follow Thai text.
1 Digits are displayed according to the default locale.
2 Digit shapes are determined by the sNativeDigits entry.
sGrouping REG_SZ 3;0 How digits in a whole number are grouped.
The first number is the number of digits
immediately preceding the decimal point.
Each subsequent value determines the number
of digits between thousands separators.
If the last value is 0, the preceding value is repeated.
sMonDecimalSep REG_SZ . The symbol used to separate the decimal values in currency.
sMonGrouping REG_SZ 3;0 How digits are grouped to the left of the decimal in currency.
The first number is the number of digits
immediately preceding the decimal point.
Each subsequent value determines the number
of digits between thousands separators.
If the last value is 0, the preceding value is repeated.
Control Panel limits this value to 3;2;0 12,34,56,789
3;0 123,456,789
0;0 123456789
You can enter up to five groups in the registry (1;2;3;4;5).
sMonThousandSep REG_SZ , The thousands separator in currency.
sNativeDigits REG_SZ 0123456789 The native equivalent of the ASCII 0–9.
sNegativeSign REG_SZ - The symbol used to display negative numbers.
sPositiveSign REG_SZ The symbol used to display positive numbers.
|