Skip to content

Instantly share code, notes, and snippets.

@SamantazFox
Created May 3, 2020 12:09
Show Gist options
  • Save SamantazFox/68ab776da9f7daa52a66ad8647ba836c to your computer and use it in GitHub Desktop.
Save SamantazFox/68ab776da9f7daa52a66ad8647ba836c to your computer and use it in GitHub Desktop.
Header containing all the languages codes used in Microsoft Windows programs
/*
* winlang.h
*
* Language Identifier Constants and Strings for Microsoft Windows
*
* Extracted from:
* https://docs.microsoft.com/en-us/windows/desktop/Intl/language-identifier-constants-and-strings
*
* Disclaimer: As the data below was extracted from Microsoft website, I'm NOT
* responsible for any geo-political issues that may come from their sorting
* of the languages/countries.
*
*
* Copyright 2020 (c) Samantaz Fox
*
* This file is in the public domain.
* Feel free to copy, modify, redistribute it!
*
*/
#ifndef _WINLANG_H_
#define _WINLANG_H_
/*
* Special identifiers
*/
#define LANG_NEUTRAL 0x00 // Default custom (MUI) locale language
#define LANG_USER_DEFAULT 0x01 // User default locale language
#define LANG_SYSTEM_DEFAULT 0x02 // System default locale language
#define LANG_INVARIANT 0x7F // Invariant locale language
#define SUBLANG_NEUTRAL 0x00 // Neutral sublanguage
#define SUBLANG_INVARIANT 0x00 // Invariant sublanguage
#define SUBLANG_DEFAULT 0x01 // User default sublanguage
#define SUBLANG_SYS_DEFAULT 0x02 // System default sublanguage
#define SUBLANG_CUSTOM_DEFAULT 0x03 // Default custom sublanguage
#define SUBLANG_CUSTOM_UNSPECIFIED 0x04 // Unspecified custom sublanguage
#define SUBLANG_UI_CUSTOM_DEFAULT 0x05 // Default custom MUI sublanguage
/*
* All (sub)language identifiers
*/
#define LANG_AFRIKAANS 0x36 // Afrikaans (af)
#define SUBLANG_AFRIKAANS_SOUTH_AFRICA 0x01 // South Africa (ZA)
#define LANG_ALBANIAN 0x1C // Albanian (sq)
#define SUBLANG_ALBANIAN_ALBANIA 0x01 // Albania (AL)
#define LANG_ALSATIAN 0x84 // Alsatian (gsw)
#define SUBLANG_ALSATIAN_FRANCE 0x01 // France (FR)
#define LANG_AMHARIC 0x5E // Amharic (am)
#define SUBLANG_AMHARIC_ETHIOPIA 0x01 // Ethiopia (ET)
#define LANG_ARABIC 0x01 // Arabic (ar)
#define SUBLANG_ARABIC_ALGERIA 0x05 // Algeria (DZ)
#define SUBLANG_ARABIC_BAHRAIN 0x0F // Bahrain (BH)
#define SUBLANG_ARABIC_EGYPT 0x03 // Egypt (EG)
#define SUBLANG_ARABIC_IRAQ 0x02 // Iraq (IQ)
#define SUBLANG_ARABIC_JORDAN 0x0B // Jordan (JO)
#define SUBLANG_ARABIC_KUWAIT 0x0D // Kuwait (KW)
#define SUBLANG_ARABIC_LEBANON 0x0C // Lebanon (LB)
#define SUBLANG_ARABIC_LIBYA 0x04 // Libya (LY)
#define SUBLANG_ARABIC_MOROCCO 0x06 // Morocco (MA)
#define SUBLANG_ARABIC_OMAN 0x08 // Oman (OM)
#define SUBLANG_ARABIC_QATAR 0x10 // Qatar (QA)
#define SUBLANG_ARABIC_SAUDI_ARABIA 0x01 // Saudi Arabia (SA)
#define SUBLANG_ARABIC_SYRIA 0x0A // Syria (SY)
#define SUBLANG_ARABIC_TUNISIA 0x07 // Tunisia (TN)
#define SUBLANG_ARABIC_UAE 0x0E // U.A.E. (AE)
#define SUBLANG_ARABIC_YEMEN 0x09 // Yemen (YE)
#define LANG_ARMENIAN 0x2B // Armenian (hy)
#define SUBLANG_ARMENIAN_ARMENIA 0x01 // Armenia (AM)
#define LANG_ASSAMESE 0x4D // Assamese (as)
#define SUBLANG_ASSAMESE_INDIA 0x01 // India (IN)
#define LANG_AZERI 0x2C // Azerbaijani (az)
#define SUBLANG_AZERI_CYRILLIC 0x02 // Azerbaijan, Cyrillic (AZ)
#define SUBLANG_AZERI_LATIN 0x01 // Azerbaijan, Latin (AZ)
#define LANG_BANGLA 0x45 // Bangla (bn)
#define SUBLANG_BANGLA_BANGLADESH 0x02 // Bangladesh
#define SUBLANG_BANGLA_INDIA 0x01 // India (IN)
#define LANG_BASHKIR 0x6D // Bashkir (ba)
#define SUBLANG_BASHKIR_RUSSIA 0x01 // Russia (RU)
#define LANG_BASQUE 0x2D // Basque (Basque)
#define SUBLANG_BASQUE_BASQUE 0x01 // Basque (Basque)
#define LANG_BELARUSIAN 0x23 // Belarusian (be)
#define SUBLANG_BELARUSIAN_BELARUS 0x01 // Belarus (BY)
#define LANG_BOSNIAN_NEUTRAL 0x781A // Bosnian (bs) - Neutral
#define LANG_BOSNIAN 0x1A // Bosnian (bs)
#define SUBLANG_BOSNIAN_BOSNIA_HERZEGOVINA_CYRILLIC 0x08 // Bosnia and Herzegovina, Cyrillic (BA)
#define SUBLANG_BOSNIAN_BOSNIA_HERZEGOVINA_LATIN 0x05 // Bosnia and Herzegovina, Latin (BA)
#define LANG_BRETON 0x7E // Breton (br)
#define SUBLANG_BRETON_FRANCE 0x01 // France (FR)
#define LANG_BULGARIAN 0x02 // Bulgarian (bg)
#define SUBLANG_BULGARIAN_BULGARIA 0x01 // Bulgaria (BG)
#define LANG_CENTRAL_KURDISH 0x92 // Central Kurdish (ku)
#define SUBLANG_CENTRAL_KURDISH_IRAQ 0x01 // Iraq (IQ)
#define LANG_CHEROKEE 0x5C // Cherokee (chr)
#define SUBLANG_CHEROKEE_CHEROKEE 0x01 // Cherokee (Cher)
#define LANG_CATALAN 0x03 // Catalan (ca)
#define SUBLANG_CATALAN_CATALAN 0x01 // Spain (ES)
#define LANG_CHINESE 0x04 // Chinese (zh)
#define SUBLANG_CHINESE_HONGKONG 0x03 // Hong Kong SAR, PRC (HK)
#define SUBLANG_CHINESE_MACAU 0x05 // Macao SAR (MO)
#define SUBLANG_CHINESE_SINGAPORE 0x04 // Singapore (SG)
#define LANG_CHINESE_SIMPLIFIED 0x04 // Chinese (zh)
#define SUBLANG_CHINESE_SIMPLIFIED 0x02 // Simplified (Hans)
#define LANG_CHINESE_TRADITIONAL 0x7C04 // Chinese (zh)
#define SUBLANG_CHINESE_TRADITIONAL 0x7C04 // Traditional (Hant)
#define LANG_CORSICAN 0x83 // Corsican (co)
#define SUBLANG_CORSICAN_FRANCE 0x01 // France (FR)
#define LANG_CROATIAN 0x1A // Croatian (hr)
#define SUBLANG_CROATIAN_BOSNIA_HERZEGOVINA_LATIN 0x04 // Bosnia and Herzegovina, Latin (BA)
#define SUBLANG_CROATIAN_CROATIA 0x01 // Croatia (HR)
#define LANG_CZECH 0x05 // Czech (cs)
#define SUBLANG_CZECH_CZECH_REPUBLIC 0x01 // Czech Republic (CZ)
#define LANG_DANISH 0x06 // Danish (da)
#define SUBLANG_DANISH_DENMARK 0x01 // Denmark (DK)
#define LANG_DARI 0x8C // Dari (prs)
#define SUBLANG_DARI_AFGHANISTAN 0x01 // Afghanistan (AF)
#define LANG_DIVEHI 0x65 // Divehi (dv)
#define SUBLANG_DIVEHI_MALDIVES 0x01 // Maldives (MV)
#define LANG_DUTCH 0x13 // Dutch (nl)
#define SUBLANG_DUTCH_BELGIAN 0x02 // Belgium (BE)
#define SUBLANG_DUTCH 0x01 // Netherlands (NL)
#define LANG_ENGLISH 0x09 // English (en)
#define SUBLANG_ENGLISH_AUS 0x03 // Australia (AU)
#define SUBLANG_ENGLISH_BELIZE 0x0A // Belize (BZ)
#define SUBLANG_ENGLISH_CAN 0x04 // Canada (CA)
#define SUBLANG_ENGLISH_CARIBBEAN 0x09 // Caribbean (029)
#define SUBLANG_ENGLISH_INDIA 0x10 // India (IN)
#define SUBLANG_ENGLISH_EIRE 0x06 // Ireland (IE)
#define SUBLANG_ENGLISH_IRELAND 0x06 // Ireland (IE)
#define SUBLANG_ENGLISH_JAMAICA 0x08 // Jamaica (JM)
#define SUBLANG_ENGLISH_MALAYSIA 0x11 // Malaysia (MY)
#define SUBLANG_ENGLISH_NZ 0x05 // New Zealand (NZ)
#define SUBLANG_ENGLISH_PHILIPPINES 0x0D // Philippines (PH)
#define SUBLANG_ENGLISH_SINGAPORE 0x12 // Singapore (SG)
#define SUBLANG_ENGLISH_SOUTH_AFRICA 0x07 // South Africa (ZA)
#define SUBLANG_ENGLISH_TRINIDAD 0x0B // Trinidad and Tobago (TT)
#define SUBLANG_ENGLISH_UK 0x02 // United Kingdom (GB)
#define SUBLANG_ENGLISH_US 0x01 // United States (US)
#define SUBLANG_ENGLISH_ZIMBABWE 0x0C // Zimbabwe (ZW)
#define LANG_ESTONIAN 0x25 // Estonian (et)
#define SUBLANG_ESTONIAN_ESTONIA 0x01 // Estonia (EE)
#define LANG_FAEROESE 0x38 // Faroese (fo)
#define SUBLANG_FAEROESE_FAROE_ISLANDS 0x01 // Faroe Islands (FO)
#define LANG_FILIPINO 0x64 // Filipino (fil)
#define SUBLANG_FILIPINO_PHILIPPINES 0x01 // Philippines (PH)
#define LANG_FINNISH 0x0B // Finnish (fi)
#define SUBLANG_FINNISH_FINLAND 0x01 // Finland (FI)
#define LANG_FRENCH 0x0C // French (fr)
#define SUBLANG_FRENCH_BELGIAN 0x02 // Belgium (BE)
#define SUBLANG_FRENCH_CANADIAN 0x03 // Canada (CA)
#define SUBLANG_FRENCH 0x01 // France (FR)
#define SUBLANG_FRENCH_LUXEMBOURG 0x05 // Luxembourg (LU)
#define SUBLANG_FRENCH_MONACO 0x06 // Monaco (MC)
#define SUBLANG_FRENCH_SWISS 0x04 // Switzerland (CH)
#define LANG_FRISIAN 0x62 // Frisian (fy)
#define SUBLANG_FRISIAN_NETHERLANDS 0x01 // Netherlands (NL)
#define LANG_GALICIAN 0x56 // Galician (gl)
#define SUBLANG_GALICIAN_GALICIAN 0x01 // Spain (ES)
#define LANG_GEORGIAN 0x37 // Georgian (ka)
#define SUBLANG_GEORGIAN_GEORGIA 0x01 // Georgia (GE)
#define LANG_GERMAN 0x07 // German (de)
#define SUBLANG_GERMAN_AUSTRIAN 0x03 // Austria (AT)
#define SUBLANG_GERMAN 0x01 // Germany (DE)
#define SUBLANG_GERMAN_LIECHTENSTEIN 0x05 // Liechtenstein (LI)
#define SUBLANG_GERMAN_LUXEMBOURG 0x04 // Luxembourg (LU)
#define SUBLANG_GERMAN_SWISS 0x02 // Switzerland (CH)
#define LANG_GREEK 0x08 // Greek (el)
#define SUBLANG_GREEK_GREECE 0x01 // Greece (GR)
#define LANG_GREENLANDIC 0x6F // Greenlandic (kl)
#define SUBLANG_GREENLANDIC_GREENLAND 0x01 // Greenland (GL)
#define LANG_GUJARATI 0x47 // Gujarati (gu)
#define SUBLANG_GUJARATI_INDIA 0x01 // India (IN)
#define LANG_HAUSA 0x68 // Hausa (ha)
#define SUBLANG_HAUSA_NIGERIA_LATIN 0x01 // Nigeria (NG)
#define LANG_HAWAIIAN 0x75 // Hawiian (haw)
#define SUBLANG_HAWAIIAN_US 0x01 // United States (US)
#define LANG_HEBREW 0x0D // Hebrew (he)
#define SUBLANG_HEBREW_ISRAEL 0x01 // Israel (IL)
#define LANG_HINDI 0x39 // Hindi (hi)
#define SUBLANG_HINDI_INDIA 0x01 // India (IN)
#define LANG_HUNGARIAN 0x0E // Hungarian (hu)
#define SUBLANG_HUNGARIAN_HUNGARY 0x01 // Hungary (HU)
#define LANG_ICELANDIC 0x0F // Icelandic (is)
#define SUBLANG_ICELANDIC_ICELAND 0x01 // Iceland (IS)
#define LANG_IGBO 0x70 // Igbo (ig)
#define SUBLANG_IGBO_NIGERIA 0x01 // Nigeria (NG)
#define LANG_INDONESIAN 0x21 // Indonesian (id)
#define SUBLANG_INDONESIAN_INDONESIA 0x01 // Indonesia (ID)
#define LANG_INUKTITUT 0x5D // Inuktitut (iu)
#define SUBLANG_INUKTITUT_CANADA_LATIN 0x02 // Canada (CA), Latin
#define SUBLANG_INUKTITUT_CANADA 0x01 // Canada (CA), Canadian Syllabics
#define LANG_IRISH 0x3C // Irish (ga)
#define SUBLANG_IRISH_IRELAND 0x02 // Ireland (IE)
#define LANG_ITALIAN 0x10 // Italian (it)
#define SUBLANG_ITALIAN 0x01 // Italy (IT)
#define SUBLANG_ITALIAN_SWISS 0x02 // Switzerland (CH)
#define LANG_JAPANESE 0x11 // Japanese (ja)
#define SUBLANG_JAPANESE_JAPAN 0x01 // Japan (JP)
#define LANG_KANNADA 0x4B // Kannada (kn)
#define SUBLANG_KANNADA_INDIA 0x01 // India (IN)
#define LANG_KASHMIRI 0x60 // (reserved)
#define SUBLANG_KASHMIRI_INDIA 0x02 // (reserved)
#define SUBLANG_KASHMIRI_SASIA 0x02 // (reserved)
#define LANG_KAZAK 0x3F // Kazakh (kk)
#define SUBLANG_KAZAK_KAZAKHSTAN 0x01 // Kazakhstan (KZ)
#define LANG_KHMER 0x53 // Khmer (kh)
#define SUBLANG_KHMER_CAMBODIA 0x01 // Cambodia (KH)
#define LANG_KICHE 0x86 // K'iche (qut)
#define SUBLANG_KICHE_GUATEMALA 0x01 // Guatemala (GT)
#define LANG_KINYARWANDA 0x87 // Kinyarwanda (rw)
#define SUBLANG_KINYARWANDA_RWANDA 0x01 // Rwanda (RW)
#define LANG_KONKANI 0x57 // Konkani (kok)
#define SUBLANG_KONKANI_INDIA 0x01 // India (IN)
#define LANG_KOREAN 0x12 // Korean (ko)
#define SUBLANG_KOREAN 0x01 // Korea (KR)
#define LANG_KYRGYZ 0x40 // Kyrgyz (ky)
#define SUBLANG_KYRGYZ_KYRGYZSTAN 0x01 // Kyrgyzstan (KG)
#define LANG_LAO 0x54 // Lao (lo)
#define SUBLANG_LAO_LAO 0x01 // Lao PDR (LA)
#define LANG_LATVIAN 0x26 // Latvian (lv)
#define SUBLANG_LATVIAN_LATVIA 0x01 // Latvia (LV)
#define LANG_LITHUANIAN 0x27 // Lithuanian (lt)
#define SUBLANG_LITHUANIAN_LITHUANIA 0x01 // Lithuanian (LT)
#define LANG_LOWER_SORBIAN 0x2E // Lower Sorbian (dsb)
#define SUBLANG_LOWER_SORBIAN_GERMANY 0x02 // Germany (DE)
#define LANG_LUXEMBOURGISH 0x6E // Luxembourgish (lb)
#define SUBLANG_LUXEMBOURGISH_LUXEMBOURG 0x01 // Luxembourg (LU)
#define LANG_MACEDONIAN 0x2F // Macedonian (mk)
#define SUBLANG_MACEDONIAN_MACEDONIA 0x01 // Macedonia (FYROM) (MK)
#define LANG_MALAY 0x3E // Malay (ms)
#define SUBLANG_MALAY_BRUNEI_DARUSSALAM 0x02 // Brunei Darassalam (BN)
#define SUBLANG_MALAY_MALAYSIA 0x01 // Malaysia (MY)
#define LANG_MALAYALAM 0x4C // Malayalam (ml)
#define SUBLANG_MALAYALAM_INDIA 0x01 // India (IN)
#define LANG_MALTESE 0x3A // Maltese (mt)
#define SUBLANG_MALTESE_MALTA 0x01 // Malta (MT)
#define LANG_MANIPURI 0x58 // (reserved)
#define LANG_MAORI 0x81 // Maori (mi)
#define SUBLANG_MAORI_NEW_ZEALAND 0x01 // New Zealand (NZ)
#define LANG_MAPUDUNGUN 0x7A // Mapudungun (arn)
#define SUBLANG_MAPUDUNGUN_CHILE 0x01 // Chile (CL)
#define LANG_MARATHI 0x4E // Marathi (mr)
#define SUBLANG_MARATHI_INDIA 0x01 // India (IN)
#define LANG_MOHAWK 0x7C // Mohawk (moh)
#define SUBLANG_MOHAWK_MOHAWK 0x01 // Canada (CA)
#define LANG_MONGOLIAN 0x50 // Mongolian (mn)
#define SUBLANG_MONGOLIAN_CYRILLIC_MONGOLIA 0x01 // Mongolia, Cyrillic (MN)
#define SUBLANG_MONGOLIAN_PRC 0x02 // Mongolia, Mong (MN)
#define LANG_NEPALI 0x61 // Nepali (ne)
#define SUBLANG_NEPALI_NEPAL 0x01 // Nepal (NP)
#define SUBLANG_NEPALI_INDIA 0x02 // India (IN)
#define LANG_NORWEGIAN 0x14 // Norwegian (no)
#define SUBLANG_NORWEGIAN_BOKMAL 0x01 // Bokmål, Norway (NO)
#define SUBLANG_NORWEGIAN_NYNORSK 0x02 // Nynorsk, Norway (NO)
#define LANG_OCCITAN 0x82 // Occitan (oc)
#define SUBLANG_OCCITAN_FRANCE 0x01 // France (FR)
#define LANG_ORIYA 0x48 // Odia (or)
#define SUBLANG_ORIYA_INDIA 0x01 // India (IN)
#define LANG_PASHTO 0x63 // Pashto (ps)
#define SUBLANG_PASHTO_AFGHANISTAN 0x01 // Afghanistan (AF)
#define LANG_PERSIAN 0x29 // Persian (fa)
#define SUBLANG_PERSIAN_IRAN 0x01 // Iran (IR)
#define LANG_POLISH 0x15 // Polish (pl)
#define SUBLANG_POLISH_POLAND 0x01 // Poland (PL)
#define LANG_PORTUGUESE 0x16 // Portuguese (pt)
#define SUBLANG_PORTUGUESE_BRAZILIAN 0x01 // Brazil (BR)
#define SUBLANG_PORTUGUESE 0x02 // Portugal (PT)
#define LANG_PULAR 0x67 // Pular (ff)
#define SUBLANG_PULAR_SENEGAL 0x02 // Senegal (SN)
#define LANG_PUNJABI 0x46 // Punjabi (pa)
#define SUBLANG_PUNJABI_INDIA 0x01 // India, Gurmukhi script (IN)
#define SUBLANG_PUNJABI_PAKISTAN 0x02 // Pakistan, Arabic script(PK)
#define LANG_QUECHUA 0x6B // Quechua (quz)
#define SUBLANG_QUECHUA_BOLIVIA 0x01 // Bolivia (BO)
#define SUBLANG_QUECHUA_ECUADOR 0x02 // Ecuador (EC)
#define SUBLANG_QUECHUA_PERU 0x03 // Peru (PE)
#define LANG_ROMANIAN 0x18 // Romanian (ro)
#define SUBLANG_ROMANIAN_ROMANIA 0x01 // Romania (RO)
#define LANG_ROMANSH 0x17 // Romansh (rm)
#define SUBLANG_ROMANSH_SWITZERLAND 0x01 // Switzerland (CH)
#define LANG_RUSSIAN 0x19 // Russian (ru)
#define SUBLANG_RUSSIAN_RUSSIA 0x01 // Russia (RU)
#define LANG_SAKHA 0x85 // Sakha (sah)
#define SUBLANG_SAKHA_RUSSIA 0x01 // Russia (RU)
#define LANG_SAMI 0x3B // Sami (smn)
#define SUBLANG_SAMI_INARI_FINLAND 0x09 // Inari, Finland (FI)
#define SUBLANG_SAMI_LULE_NORWAY 0x04 // Sami (smj) Lule, Norway (NO)
#define SUBLANG_SAMI_LULE_SWEDEN 0x05 // Lule, Sweden (SE)
#define SUBLANG_SAMI_NORTHERN_FINLAND 0x03 // Sami (se) Northern, Finland (FI)
#define SUBLANG_SAMI_NORTHERN_NORWAY 0x01 // Northern, Norway (NO)
#define SUBLANG_SAMI_NORTHERN_SWEDEN 0x02 // Northern, Sweden (SE)
#define SUBLANG_SAMI_SKOLT_FINLAND 0x08 // Sami (sms) Skolt, Finland (FI)
#define SUBLANG_SAMI_SOUTHERN_NORWA0Y 0x06 // Sami (sma) Southern, Norway (NO)
#define SUBLANG_SAMI_SOUTHERN_SWEDEN 0x07 // Southern, Sweden (SE)
#define LANG_SANSKRIT 0x4F // Sanskrit (sa)
#define SUBLANG_SANSKRIT_INDIA 0x01 // India (IN)
#define LANG_SERBIAN_NEUTRAL 0x7C1A // Serbian (sr) - Neutral
#define LANG_SERBIAN 0x1A // Serbian (sr)
#define SUBLANG_SERBIAN_BOSNIA_HERZEGOVINA_CYRILLIC 0x07 // Bosnia and Herzegovina, Cyrillic (BA)
#define SUBLANG_SERBIAN_BOSNIA_HERZEGOVINA_LATIN 0x06 // Bosnia and Herzegovina, Latin (BA)
#define SUBLANG_SERBIAN_CROATIA 0x01 // Croatia (HR)
#define SUBLANG_SERBIAN_CYRILLIC 0x03 // Serbia and Montenegro (former), Cyrillic (CS)
#define SUBLANG_SERBIAN_LATIN 0x02 // Serbia and Montenegro (former), Latin (CS)
#define LANG_SOTHO 0x6C // Sesotho sa Leboa (nso)
#define SUBLANG_SOTHO_NORTHERN_SOUTH_AFRICA 0x01 // South Africa (ZA)
#define LANG_TSWANA 0x32 // Setswana / Tswana (tn)
#define SUBLANG_TSWANA_BOTSWANA 0x02 // Botswana (BW)
#define SUBLANG_TSWANA_SOUTH_AFRICA 0x01 // South Africa (ZA)
#define LANG_SINDHI 0x59 // Sindhi (sd)
#define SUBLANG_SINDHI_AFGHANISTAN 0x02 // (reserved)
#define SUBLANG_SINDHI_INDIA 0x01 // (reserved)
#define SUBLANG_SINDHI_PAKISTAN 0x02 // Pakistan (PK)
#define LANG_SINHALESE 0x5B // Sinhala (si)
#define SUBLANG_SINHALESE_SRI_LANKA 0x01 // Sri Lanka (LK)
#define LANG_SLOVAK 0x1B // Slovak (sk)
#define SUBLANG_SLOVAK_SLOVAKIA 0x01 // Slovakia (SK)
#define LANG_SLOVENIAN 0x24 // Slovenian (sl)
#define SUBLANG_SLOVENIAN_SLOVENIA 0x01 // Slovenia (SI)
#define LANG_SPANISH 0x0A // Spanish (es) - 0x0A
#define SUBLANG_SPANISH_ARGENTINA 0x0B // Argentina (AR)
#define SUBLANG_SPANISH_BOLIVIA 0x10 // Bolivia (BO)
#define SUBLANG_SPANISH_CHILE 0x0D // Chile (CL)
#define SUBLANG_SPANISH_COLOMBIA 0x09 // Colombia (CO)
#define SUBLANG_SPANISH_COSTA_RICA 0x05 // Costa Rica (CR)
#define SUBLANG_SPANISH_DOMINICAN_REPUBLIC 0x07 // Dominican Republic (DO)
#define SUBLANG_SPANISH_ECUADOR 0x0C // Ecuador (EC)
#define SUBLANG_SPANISH_EL_SALVADOR 0x11 // El Salvador (SV)
#define SUBLANG_SPANISH_GUATEMALA 0x04 // Guatemala (GT)
#define SUBLANG_SPANISH_HONDURAS 0x12 // Honduras (HN)
#define SUBLANG_SPANISH_MEXICAN 0x02 // Mexico (MX)
#define SUBLANG_SPANISH_NICARAGUA 0x13 // Nicaragua (NI)
#define SUBLANG_SPANISH_PANAMA 0x06 // Panama (PA)
#define SUBLANG_SPANISH_PARAGUAY 0x0F // Paraguay (PY)
#define SUBLANG_SPANISH_PERU 0x0A // Peru (PE)
#define SUBLANG_SPANISH_PUERTO_RICO 0x14 // Puerto Rico (PR)
#define SUBLANG_SPANISH_MODERN 0x03 // Spain, Modern Sort (ES)
#define SUBLANG_SPANISH 0x01 // Spain, Traditional Sort (ES)
#define SUBLANG_SPANISH_US 0x15 // United States (US)
#define SUBLANG_SPANISH_URUGUAY 0x0E // Uruguay (UY)
#define SUBLANG_SPANISH_VENEZUELA 0x08 // Venezuela (VE)
#define LANG_SWAHILI 0x41 // Swahili (sw)
#define SUBLANG_SWAHILI 0x01 // Kenya (KE)
#define LANG_SWEDISH 0x1D // Swedish (sv)
#define SUBLANG_SWEDISH_FINLAND 0x02 // Finland (FI)
#define SUBLANG_SWEDISH 0x01 // Sweden (SE)
#define SUBLANG_SWEDISH_SWEDEN 0x01 // Sweden (SE)
#define LANG_SYRIAC 0x5A // Syriac (syr)
#define SUBLANG_SYRIAC 0x01 // Syria (SY)
#define LANG_TAJIK 0x28 // Tajik (tg)
#define SUBLANG_TAJIK_TAJIKISTAN 0x01 // Tajikistan, Cyrillic (TJ)
#define LANG_TAMAZIGHT 0x5F // Tamazight (tzm)
#define SUBLANG_TAMAZIGHT_ALGERIA_LATIN 0x02 // Algeria, Latin (DZ)
#define LANG_TAMIL 0x49 // Tamil (ta)
#define SUBLANG_TAMIL_INDIA 0x01 // India (IN)
#define SUBLANG_TAMIL_SRI_LANKA 0x02 // Sri Lanka (LK)
#define LANG_TATAR 0x44 // Tatar (tt)
#define SUBLANG_TATAR_RUSSIA 0x01 // Russia (RU)
#define LANG_TELUGU 0x4A // Telugu (te)
#define SUBLANG_TELUGU_INDIA 0x01 // India (IN)
#define LANG_THAI 0x1E // Thai (th)
#define SUBLANG_THAI_THAILAND 0x01 // Thailand (TH)
#define LANG_TIBETAN 0x51 // Tibetan (bo)
#define SUBLANG_TIBETAN_PRC 0x01 // PRC (CN)
#define LANG_TIGRINYA 0x73 // Tigrinya (ti)
#define SUBLANG_TIGRINYA_ERITREA 0x02 // Eritrea (ER)
#define SUBLANG_TIGRINYA_ETHIOPIA 0x01 // Ethiopia (ET)
#define LANG_TIGRIGNA 0x73 // (reserved)
#define SUBLANG_TIGRIGNA_ERITREA 0x02 // (reserved)
#define LANG_TURKISH 0x1F // Turkish (tr)
#define SUBLANG_TURKISH_TURKEY 0x01 // Turkey (TR)
#define LANG_TURKMEN 0x42 // Turkmen (tk)
#define SUBLANG_TURKMEN_TURKMENISTAN 0x01 // Turkmenistan (TM)
#define LANG_UKRAINIAN 0x22 // Ukrainian (uk)
#define SUBLANG_UKRAINIAN_UKRAINE 0x01 // Ukraine (UA)
#define LANG_UPPER_SORBIAN 0x2E // Upper Sorbian (hsb)
#define SUBLANG_UPPER_SORBIAN_GERMANY 0x01 // Germany (DE)
#define LANG_URDU 0x20 // Urdu (ur)
#define SUBLANG_URDU_INDIA 0x02 // (reserved)
#define SUBLANG_URDU_PAKISTAN 0x01 // Pakistan (PK)
#define LANG_UIGHUR 0x80 // Uyghur (ug)
#define SUBLANG_UIGHUR_PRC 0x01 // PRC (CN)
#define LANG_UZBEK 0x43 // Uzbek (uz)
#define SUBLANG_UZBEK_CYRILLIC 0x02 // Uzbekistan, Cyrillic (UZ)
#define SUBLANG_UZBEK_LATIN 0x01 // Uzbekistan, Latin (UZ)
#define LANG_VALENCIAN 0x03 // Valencian (ca)
#define SUBLANG_VALENCIAN_VALENCIA 0x02 // Valencia (ES-Valencia)
#define LANG_VIETNAMESE 0x2A // Vietnamese (vi)
#define SUBLANG_VIETNAMESE_VIETNAM 0x01 // Vietnam (VN)
#define LANG_WELSH 0x52 // Welsh (cy)
#define SUBLANG_WELSH_UNITED_KINGDOM 0x01 // United Kingdom (GB)
#define LANG_WOLOF 0x88 // Wolof (wo)
#define SUBLANG_WOLOF_SENEGAL 0x01 // Senegal (SN)
#define LANG_XHOSA 0x34 // isiXhosa (xh)
#define SUBLANG_XHOSA_SOUTH_AFRICA 0x01 // South Africa (ZA)
#define LANG_YI 0x78 // Yi (ii)
#define SUBLANG_YI_PRC 0x01 // PRC (CN)
#define LANG_YORUBA 0x6A // Yoruba (yo)
#define SUBLANG_YORUBA_NIGERIA 0x01 // Nigeria (NG)
#define LANG_ZULU 0x35 // isiZulu (zu)
#define SUBLANG_ZULU_SOUTH_AFRICA 0x01 // South Africa (ZA)
#endif /* !_WINLANG_H_ */
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment