JSI Tip 3452. Windows 2000 regional settings in the registry.

Jerold Schulman

March 7, 2001

2 Min Read
ITPro Today logo in a gray background | ITPro Today


In tip 0311, I described the regional settings in the registry for Windows NT.

Windows 2000 adds the following registry values:

Value name        Data Type    Range Default D e s c r i p t i o niCalendarType     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.




Sign up for the ITPro Today newsletter
Stay on top of the IT universe with commentary, news analysis, how-to's, and tips delivered to your inbox daily.

You May Also Like