Every locale contains the following locale items. These may be specified as parameters to UniQueryLocaleItem, UniQueryLocaleValue, and UniSetUserLocaleItem.
#define LOCI_sDateTime 1 /* Date and time format string */ #define LOCI_sShortDate 2 /* Short date format */ #define LOCI_sTimeFormat 3 /* Time format string */ #define LOCI_s1159 4 /* AM string */ #define LOCI_s2359 5 /* PM string */ #define LOCI_sAbbrevDayName7 6 /* Abbreviation of day 7 (Sun) */ #define LOCI_sAbbrevDayName1 7 /* Abbreviation of day 1 (Mon) */ #define LOCI_sAbbrevDayName2 8 /* Abbreviation of day 2 (Tue) */ #define LOCI_sAbbrevDayName3 9 /* Abbreviation of day 3 (Wed) */ #define LOCI_sAbbrevDayName4 10 /* Abbreviation of day 4 (Thu) */ #define LOCI_sAbbrevDayName5 11 /* Abbreviation of day 5 (Fri) */ #define LOCI_sAbbrevDayName6 12 /* Abbreviation of day 6 (Sat) */ #define LOCI_sDayName7 13 /* Name of day of week 7 (Sun) */ #define LOCI_sDayName1 14 /* Name of day of week 1 (Mon) */ #define LOCI_sDayName2 15 /* Name of day of week 2 (Tue) */ #define LOCI_sDayName3 16 /* Name of day of week 3 (Wed) */ #define LOCI_sDayName4 17 /* Name of day of week 4 (Thu) */ #define LOCI_sDayName5 18 /* Name of day of week 5 (Fri) */ #define LOCI_sDayName6 19 /* Name of day of week 6 (Sat) */ #define LOCI_sAbbrevMonthName1 20 /* Abbreviation of month 1 */ #define LOCI_sAbbrevMonthName2 21 /* Abbreviation of month 2 */ #define LOCI_sAbbrevMonthName3 22 /* Abbreviation of month 3 */ #define LOCI_sAbbrevMonthName4 23 /* Abbreviation of month 4 */ #define LOCI_sAbbrevMonthName5 24 /* Abbreviation of month 5 */ #define LOCI_sAbbrevMonthName6 25 /* Abbreviation of month 6 */ #define LOCI_sAbbrevMonthName7 26 /* Abbreviation of month 7 */ #define LOCI_sAbbrevMonthName8 27 /* Abbreviation of month 8 */ #define LOCI_sAbbrevMonthName9 28 /* Abbreviation of month 9 */ #define LOCI_sAbbrevMonthName10 29 /* Abbreviation of month 10 */ #define LOCI_sAbbrevMonthName11 30 /* Abbreviation of month 11 */ #define LOCI_sAbbrevMonthName12 31 /* Abbreviation of month 12 */ #define LOCI_sMonthName1 32 /* Name of month 1 */ #define LOCI_sMonthName2 33 /* Name of month 2 */ #define LOCI_sMonthName3 34 /* Name of month 3 */ #define LOCI_sMonthName4 35 /* Name of month 4 */ #define LOCI_sMonthName5 36 /* Name of month 5 */ #define LOCI_sMonthName6 37 /* Name of month 6 */ #define LOCI_sMonthName7 38 /* Name of month 7 */ #define LOCI_sMonthName8 39 /* Name of month 8 */ #define LOCI_sMonthName9 40 /* Name of month 9 */ #define LOCI_sMonthName10 41 /* Name of month 10 */ #define LOCI_sMonthName11 42 /* Name of month 11 */ #define LOCI_sMonthName12 43 /* Name of month 12 */ #define LOCI_sDecimal 44 /* Decimal point */ #define LOCI_sThousand 45 /* Triad separator */ #define LOCI_sYesString 46 /* Yes string */ #define LOCI_sNoString 47 /* No string */ #define LOCI_sCurrency 48 /* Currency symbol */ #define LOCI_sCodeSet 49 /* Locale codeset */ #define LOCI_xLocaleToken 50 /* IBM Locale Token */ #define LOCI_xWinLocale 51 /* Win32 Locale ID */ #define LOCI_iLocaleResnum 52 /* Resource number for description */ #define LOCI_sNativeDigits 53 /* String of native digits */ #define LOCI_iMaxItem 54 /* Maximum item number */ #define LOCI_sTimeMark 55 /* Time mark (am/pm) format */ #define LOCI_sEra 56 /* Era definition */ #define LOCI_sAltShortDate 57 /* Alternate short date format string*/ #define LOCI_sAltDateTime 58 /* Alternate date and time format */ #define LOCI_sAltTimeFormat 59 /* Alternate time format */ #define LOCI_sAltDigits 60 /* XPG4 alternate digits */ #define LOCI_sYesExpr 61 /* XPG4 Yes expression */ #define LOCI_sNoExpr 62 /* XPG4 No expression */ #define LOCI_sDate 63 /* Short date separator */ #define LOCI_sTime 64 /* Time separator */ #define LOCI_sList 65 /* List separator */ #define LOCI_sMonDecimalSep 66 /* Monetary currency separator */ #define LOCI_sMonThousandSep 67 /* Monetary triad separator */ #define LOCI_sGrouping 68 /* Grouping of digits */ #define LOCI_sMonGrouping 69 /* Monetary groupings */ #define LOCI_iMeasure 70 /* Measurement (Metric, British) */ #define LOCI_iPaper 71 /* Normal paper size */ #define LOCI_iDigits 72 /* Digits to right of decimal */ #define LOCI_iTime 73 /* Clock format */ #define LOCI_iDate 74 /* Format of short date */ #define LOCI_iCurrency 75 /* Format of currency */ #define LOCI_iCurrDigits 76 /* Digits to right for currency */ #define LOCI_iLzero 77 /* Leading zero used */ #define LOCI_iNegNumber 78 /* Format of negative number */ #define LOCI_iLDate 79 /* Format of long date */ #define LOCI_iCalendarType 80 /* Type of default calandar */ #define LOCI_iFirstDayOfWeek 81 /* First day of week (0=Mon) */ #define LOCI_iFirstWeekOfYear 82 /* First week of year */ #define LOCI_iNegCurr 83 /* Format of negative currency */ #define LOCI_iTLzero 84 /* Leading zero on time */ #define LOCI_iTimePrefix 85 /* AM/PM preceeds time */ #define LOCI_iOptionalCalendar 86 /* Alternate calandar type */ #define LOCI_sIntlSymbol 87 /* International currency symbol */ #define LOCI_sAbbrevLangName 88 /* Windows language abbreviation */ #define LOCI_sCollate 89 /* Collation table */ #define LOCI_iUpperType 90 /* Upper case algorithm */ #define LOCI_iUpperMissing 91 /* Action for missing upper case */ #define LOCI_sPositiveSign 92 /* Positive sign */ #define LOCI_sNegativeSign 93 /* Negative sign */ #define LOCI_sLeftNegative 94 /* Left paren for negative */ #define LOCI_sRightNegative 95 /* Right paren for negative */ #define LOCI_sLongDate 96 /* Long date formatting string */ #define LOCI_sAltLongDate 97 /* Alternate long date format string */ #define LOCI_sMonthName13 98 /* Name of month 13 */ #define LOCI_sAbbrevMonthName13 99 /* Abbreviation of month 13 */ #define LOCI_sName 100 /* OS/2 locale name */ #define LOCI_sLanguageID 101 /* Abbreviation for language (ISO) */ #define LOCI_sCountryID 102 /* Abbreviation for country (ISO) */ #define LOCI_sEngLanguage 103 /* English name of Language */ #define LOCI_sLanguage 104 /* Native name of language */ #define LOCI_sEngCountry 105 /* English name of country */ #define LOCI_sCountry 106 /* Localized country name */ #define LOCI_sNativeCtryName 107 /* Name of country in native language*/ #define LOCI_iCountry 108 /* Country code */ #define LOCI_sISOCodepage 109 /* ISO codepage name */ #define LOCI_iAnsiCodepage 110 /* Windows codepage */ #define LOCI_iCodepage 111 /* OS/2 primary codepage */ #define LOCI_iAltCodepage 112 /* OS/2 alternate codepage */ #define LOCI_iMacCodepage 113 /* Mac codepage */ #define LOCI_iEbcdicCodepage 114 /* Ebcdic codepage */ #define LOCI_sOtherCodepages 115 /* Other ASCII codepages */ #define LOCI_sSetCodepage 116 /* Codpage to set on activation */ #define LOCI_sKeyboard 117 /* Primary keyboard name */ #define LOCI_sAltKeyboard 118 /* Alternate keyboard name */ #define LOCI_sSetKeyboard 119 /* Keyboard to set on activation */ #define LOCI_sDebit 120 /* Debit string */ #define LOCI_sCredit 121 /* Credit string */ #define LOCI_sLatin1Locale 122 /* Locale for Latin 1 names */ #define LOCI_wTimeFormat 123 /* Win32 Time format */ #define LOCI_wShortDate 124 /* Win32 Date format */ #define LOCI_wLongDate 125 /* Win32 Long date format */ #define LOCI_jISO3CountryName 126 /* Java abbrev for country (ISO-3) */ #define LOCI_jPercentPattern 127 /* Java percent pattern */ #define LOCI_jPercentSign 128 /* Java percent symbol */ #define LOCI_jExponent 129 /* Java exponential symbol */ #define LOCI_jFullTimeFormat 130 /* Java full time format */ #define LOCI_jLongTimeFormat 131 /* Java long time format */ #define LOCI_jShortTimeFormat 132 /* Java short time format */ #define LOCI_jFullDateFormat 133 /* Java full date format */ #define LOCI_jMediumDateFormat 134 /* Java medium date format */ #define LOCI_jDateTimePattern 135 /* Java date time format pattern */ #define LOCI_jEraStrings 136 /* Java era strings */