Language Identifiers (Compact 2013)

3/28/2014

Each language identifier is composed of a primary language identifier indicating the language and a sublanguage identifier indicating the country/region. The language identifier corresponds to a particular locale, for example, English (United States), represented as "en-US". The language identifier is used as part of the locale identifier.

A primary or sublanguage identifier can be user-defined or predefined. A user-defined primary language identifier has a value in the range 0x0200 to 0x03ff. All other values are reserved for operating system use. A user-defined sublanguage identifier has a value in the range 0x20 to 0x3f. All other values are reserved for operating system use.

Ee491651.note(en-us,WinEmbedded.80).gifNote:
If there is no sublanguage identifier to use with a primary language identifier, your application should use SUBLANG_DEFAULT. It should use SUBLANG_NEUTRAL for resources that are the same for all sublanguages of a primary language.

The following table defines the predefined primary language identifiers with their valid sublanguage identifiers and shows the Locale Identifiers in which they are used.

Locale identifier

Prim. lang. identifier

Prim. lang. symbol

Sublang. identifier

Sublang. symbol

0x0C00

0x00

LANG_NEUTRAL

0x03

SUBLANG_CUSTOM_DEFAULT

0x1400

0x00

LANG_NEUTRAL

0x05

SUBLANG_UI_CUSTOM_DEFAULT

0x007F

0x7F

LANG_INVARIANT

0x00

SUBLANG_NEUTRAL

0x0000

0x00

LANG_NEUTRAL

0x00

SUBLANG_NEUTRAL

0x0800

0x02

LANG_SYSTEM_DEFAULT

0x02

SUBLANG_SYS_DEFAULT

0x1000

0x00

LANG_NEUTRAL

0x04

SUBLANG_CUSTOM_UNSPECIFIED

0x0400

0x00

LANG_USER_DEFAULT

0x01

SUBLANG_DEFAULT

0x0436

0x36

LANG_AFRIKAANS

0x01

SUBLANG_AFRIKAANS_SOUTH_AFRICA

0x041C

0x1c

LANG_ALBANIAN

0x01

SUBLANG_ALBANIAN_ALBANIA

0x0484

0x84

LANG_ALSATIAN

0x01

SUBLANG_ALSATIAN_FRANCE

0x045E

0x5E

LANG_AMHARIC

0x01

SUBLANG_AMHARIC_ETHIOPIA

0x1401

0x01

LANG_ARABIC

0x05

SUBLANG_ARABIC_ALGERIA

0x3C01

0x0f

SUBLANG_ARABIC_BAHRAIN

0x0C01

0x03

SUBLANG_ARABIC_EGYPT

0x0801

0x02

SUBLANG_ARABIC_IRAQ

0x2C01

0x0B

SUBLANG_ARABIC_JORDAN

0x3401

0x0D

SUBLANG_ARABIC_KUWAIT

0x3001

0x0C

SUBLANG_ARABIC_LEBANON

0x1001

0x04

SUBLANG_ARABIC_LIBYA

0x1801

0x06

SUBLANG_ARABIC_MOROCCO

0x2001

0x08

SUBLANG_ARABIC_OMAN

0x4001

0x10

SUBLANG_ARABIC_QATAR

0x0401

0x01

SUBLANG_ARABIC_SAUDI_ARABIA

0x2801

0x0A

SUBLANG_ARABIC_SYRIA

0x1C01

0x07

SUBLANG_ARABIC_TUNISIA

0x3801

0x0E

SUBLANG_ARABIC_UAE

0x2401

0x09

SUBLANG_ARABIC_YEMEN

0x042B

0x2B

LANG_ARMENIAN

0x01

SUBLANG_ARMENIAN_ARMENIA

0x044D

0x4D

LANG_ASSAMESE

0x01

SUBLANG_ASSAMESE_INDIA

0x082C

0x2C

LANG_AZERI

0x02

SUBLANG_AZERI_CYRILLIC

0x042C

0x01

SUBLANG_AZERI_LATIN

0x046D

0x6D

LANG_BASHKIR

0x01

SUBLANG_BASHKIR_RUSSIA

0x042D

0x2d

LANG_BASQUE

0x01

SUBLANG_BASQUE_BASQUE

0x0423

0x23

LANG_BELARUSIAN

0x01

SUBLANG_BELARUSIAN_BELARUS

0x0445

0x45

LANG_BENGALI

0x02

SUBLANG_BENGALI_BANGLADESH

0x01

SUBLANG_BENGALI_INDIA

0x781A

LANG_BOSNIAN_NEUTRAL

0x201A

0x1A

LANG_BOSNIAN

0x08

SUBLANG_BOSNIAN_BOSNIA_HERZEGOVINA_CYRILLIC

0x141A

0x05

SUBLANG_BOSNIAN_BOSNIA_HERZEGOVINA_LATIN

0x047E

0x7E

LANG_BRETON

0x01

SUBLANG_BRETON_FRANCE

0x0402

0x02

LANG_BULGARIAN

0x01

SUBLANG_BULGARIAN_BULGARIA

0x0403

0x03

LANG_CATALAN

0x01

SUBLANG_CATALAN_CATALAN

0x0C04

0x04

LANG_CHINESE

0x03

SUBLANG_CHINESE_HONGKONG

0x1404

0x05

SUBLANG_CHINESE_MACAU

0x1004

0x04

SUBLANG_CHINESE_SINGAPORE

0x0004

0x04

LANG_CHINESE_SIMPLIFIED

0x02

SUBLANG_CHINESE_SIMPLIFIED

0x7C04

LANG_CHINESE_TRADITIONAL

0x01

SUBLANG_CHINESE_TRADITIONAL

0x0483

0x83

LANG_CORSICAN

0x01

SUBLANG_CORSICAN_FRANCE

0x001A

0x1A

LANG_CROATIAN

0x101A

0x1a

LANG_CROATIAN

0x04

SUBLANG_CROATIAN_BOSNIA_HERZEGOVINA_LATIN

0x041A

0x01

SUBLANG_CROATIAN_CROATIA

0x0405

0x05

LANG_CZECH

0x01

SUBLANG_CZECH_CZECH_REPUBLIC

0x0406

0x06

LANG_DANISH

0x01

SUBLANG_DANISH_DENMARK

0x048C

0x8C

LANG_DARI

0x01

SUBLANG_DARI_AFGHANISTAN

0x0465

0x65

LANG_DIVEHI

0x01

SUBLANG_DIVEHI_MALDIVES

0x0813

0x13

LANG_DUTCH

0x02

SUBLANG_DUTCH_BELGIAN

0x0413

0x01

SUBLANG_DUTCH

0x0C09

0x09

LANG_ENGLISH

0x03

SUBLANG_ENGLISH_AUS

0x2809

0x0A

SUBLANG_ENGLISH_BELIZE

0x1009

0x04

SUBLANG_ENGLISH_CAN

0x2409

0x09

SUBLANG_ENGLISH_CARIBBEAN

0x4009

0x10

SUBLANG_ENGLISH_INDIA

0x1809

0x06

SUBLANG_ENGLISH_EIRE

0x1809

0x06

SUBLANG_ENGLISH_IRELAND

0x2009

0x08

SUBLANG_ENGLISH_JAMAICA

0x4409

0x11

SUBLANG_ENGLISH_MALAYSIA

0x1409

0x05

SUBLANG_ENGLISH_NZ

0x3409

0x0D

SUBLANG_ENGLISH_PHILIPPINES

0x4809

0x12

SUBLANG_ENGLISH_SINGAPORE

0x1c09

0x07

SUBLANG_ENGLISH_SOUTH_AFRICA

0x2C09

0x0B

SUBLANG_ENGLISH_TRINIDAD

0x0809

0x02

SUBLANG_ENGLISH_UK

0x0409

0x01

SUBLANG_ENGLISH_US

0x3009

0x0C

SUBLANG_ENGLISH_ZIMBABWE

0x0425

0x25

LANG_ESTONIAN

0x01

SUBLANG_ESTONIAN_ESTONIA

0x0438

0x38

LANG_FAEROESE

0x01

SUBLANG_FAEROESE_FAROE_ISLANDS

0x0464

0x64

LANG_FILIPINO

0x01

SUBLANG_FILIPINO_PHILIPPINES

0x040B

0x0B

LANG_FINNISH

0x01

SUBLANG_FINNISH_FINLAND

0x080c

0x0C

LANG_FRENCH

0x02

SUBLANG_FRENCH_BELGIAN

0x0C0C

0x03

SUBLANG_FRENCH_CANADIAN

0x040c

0x01

SUBLANG_FRENCH

0x140C

0x05

SUBLANG_FRENCH_LUXEMBOURG

0x180C

0x06

SUBLANG_FRENCH_MONACO

0x100C

0x04

SUBLANG_FRENCH_SWISS

0x0462

0x62

LANG_FRISIAN

0x01

SUBLANG_FRISIAN_NETHERLANDS

0x0456

0x56

LANG_GALICIAN

0x01

SUBLANG_GALICIAN_GALICIAN

0x0437

0x37

LANG_GEORGIAN

0x01

SUBLANG_GEORGIAN_GEORGIA

0x0C07

0x07

LANG_GERMAN

0x03

SUBLANG_GERMAN_AUSTRIAN

0x0407

0x01

SUBLANG_GERMAN

0x1407

0x05

SUBLANG_GERMAN_LIECHTENSTEIN

0x1007

0x04

SUBLANG_GERMAN_LUXEMBOURG

0x0807

0x02

SUBLANG_GERMAN_SWISS

0x0408

0x08

LANG_GREEK

0x01

SUBLANG_GREEK_GREECE

0x046F

0x6F

LANG_GREENLANDIC

0x01

SUBLANG_GREENLANDIC_GREENLAND

0x0447

0x47

LANG_GUJARATI

0x01

SUBLANG_GUJARATI_INDIA

0x0468

0x68

LANG_HAUSA

0x01

SUBLANG_HAUSA_NIGERIA_LATIN

0x040D

0x0D

LANG_HEBREW

0x01

SUBLANG_HEBREW_ISRAEL

0x0439

0x39

LANG_HINDI

0x01

SUBLANG_HINDI_INDIA

0x040E

0x0E

LANG_HUNGARIAN

0x01

SUBLANG_HUNGARIAN_HUNGARY

0x040F

0x0F

LANG_ICELANDIC

0x01

SUBLANG_ICELANDIC_ICELAND

0x0470

0x70

LANG_IGBO

0x01

SUBLANG_IGBO_NIGERIA

0x0421

0x21

LANG_INDONESIAN

0x01

SUBLANG_INDONESIAN_INDONESIA

0x085D

0x5D

LANG_INUKTITUT

0x02

SUBLANG_INUKTITUT_CANADA_LATIN

0x045D

0x01

SUBLANG_INUKTITUT_CANADA

0x083C

0x3C

LANG_IRISH

0x02

SUBLANG_IRISH_IRELAND

0x0434

0x34

LANG_XHOSA

0x01

SUBLANG_XHOSA_SOUTH_AFRICA

0x0435

0x35

LANG_ZULU

0x01

SUBLANG_ZULU_SOUTH_AFRICA

0x0410

0x10

LANG_ITALIAN

0x01

SUBLANG_ITALIAN

0x0810

0x02

SUBLANG_ITALIAN_SWISS

0x0411

0x11

LANG_JAPANESE

0x01

SUBLANG_JAPANESE_JAPAN

0x044B

0x4B

LANG_KANNADA

0x01

SUBLANG_KANNADA_INDIA

0x60

LANG_KASHMIRI

0x02

SUBLANG_KASHMIRI_INDIA

0x02

SUBLANG_KASHMIRI_SASIA

0x043F

0x3F

LANG_KAZAK

0x01

SUBLANG_KAZAK_KAZAKHSTAN

0x0453

0x53

LANG_KHMER

0x01

SUBLANG_KHMER_CAMBODIA

0x0486

0x86

LANG_KICHE

0x01

SUBLANG_KICHE_GUATEMALA

0x0487

0x87

LANG_KINYARWANDA

0x01

SUBLANG_KINYARWANDA_RWANDA

0x0457

0x57

LANG_KONKANI

0x01

SUBLANG_KONKANI_INDIA

0x0412

0x12

LANG_KOREAN

0x01

SUBLANG_KOREAN

0x0440

0x40

LANG_KYRGYZ

0x01

SUBLANG_KYRGYZ_KYRGYZSTAN

0x0454

0x54

LANG_LAO

0x01

SUBLANG_LAO_LAO

0x0426

0x26

LANG_LATVIAN

0x01

SUBLANG_LATVIAN_LATVIA

0x0427

0x27

LANG_LITHUANIAN

0x01

SUBLANG_LITHUANIAN_LITHUANIA

0x082E

0x2E

LANG_LOWER_SORBIAN

0x02

SUBLANG_LOWER_SORBIAN_GERMANY

0x046E

0x6E

LANG_LUXEMBOURGISH

0x01

SUBLANG_LUXEMBOURGISH_LUXEMBOURG

0x042F

0x2F

LANG_MACEDONIAN

0x01

SUBLANG_MACEDONIAN_MACEDONIA

0x083E

0x3E

LANG_MALAY

0x02

SUBLANG_MALAY_BRUNEI_DARUSSALAM

0x043e

0x01

SUBLANG_MALAY_MALAYSIA

0x044C

0x4C

LANG_MALAYALAM

0x01

SUBLANG_MALAYALAM_INDIA

0x043A

0x3A

LANG_MALTESE

0x01

SUBLANG_MALTESE_MALTA

0x58

LANG_MANIPURI

0x0481

0x81

LANG_MAORI

0x01

SUBLANG_MAORI_NEW_ZEALAND

0x047A

0x7A

LANG_MAPUDUNGUN

0x01

SUBLANG_MAPUDUNGUN_CHILE

0x044E

0x4E

LANG_MARATHI

0x01

SUBLANG_MARATHI_INDIA

0x047C

0x7C

LANG_MOHAWK

0x01

SUBLANG_MOHAWK_MOHAWK

0x0450

0x50

LANG_MONGOLIAN

0x01

SUBLANG_MONGOLIAN_CYRILLIC_MONGOLIA

0x0850

0x02

SUBLANG_MONGOLIAN_PRC

0x0461

0x61

LANG_NEPALI

0x01

SUBLANG_NEPALI_NEPAL

0x02

SUBLANG_NEPALI_INDIA

0x0414

0x14

LANG_NORWEGIAN

0x01

SUBLANG_NORWEGIAN_BOKMAL

0x0814

0x02

SUBLANG_NORWEGIAN_NYNORSK

0x0482

0x82

LANG_OCCITAN

0x01

SUBLANG_OCCITAN_FRANCE

0x0448

0x48

LANG_ORIYA

0x01

SUBLANG_ORIYA_INDIA

0x0463

0x63

LANG_PASHTO

0x01

SUBLANG_PASHTO_AFGHANISTAN

0x0429

0x29

LANG_FARSI

0x01

SUBLANG_PERSIAN_IRAN

0x0415

0x15

LANG_POLISH

0x01

SUBLANG_POLISH_POLAND

0x0416

0x16

LANG_PORTUGUESE

0x01

SUBLANG_PORTUGUESE_BRAZILIAN

0x0816

0x02

SUBLANG_PORTUGUESE

0x0446

0x46

LANG_PUNJABI

0x01

SUBLANG_PUNJABI_INDIA

0x046B

0x6B

LANG_QUECHUA

0x01

SUBLANG_QUECHUA_BOLIVIA

0x086B

0x02

SUBLANG_QUECHUA_ECUADOR

0x0C6B

0x03

SUBLANG_QUECHUA_PERU

0x0418

0x18

LANG_ROMANIAN

0x01

SUBLANG_ROMANIAN_ROMANIA

0x0417

0x17

LANG_ROMANSH

0x01

SUBLANG_ROMANSH_SWITZERLAND

0x0419

0x19

LANG_RUSSIAN

0x01

SUBLANG_RUSSIAN_RUSSIA

0x243B

0x3B

LANG_SAMI

0x09

SUBLANG_SAMI_INARI_FINLAND

0x103B

0x04

SUBLANG_SAMI_LULE_NORWAY

0x143B

0x05

SUBLANG_SAMI_LULE_SWEDEN

0x0C3B

0x03

SUBLANG_SAMI_NORTHERN_FINLAND

0x043B

0x01

SUBLANG_SAMI_NORTHERN_NORWAY

0x083B

0x02

SUBLANG_SAMI_NORTHERN_SWEDEN

0x203B

0x08

SUBLANG_SAMI_SKOLT_FINLAND

0x183B

0x06

SUBLANG_SAMI_SOUTHERN_NORWAY

0x1C3B

0x07

SUBLANG_SAMI_SOUTHERN_SWEDEN

0x044F

0x4F

LANG_SANSKRIT

0x01

SUBLANG_SANSKRIT_INDIA

0x7C1A

LANG_SERBIAN_NEUTRAL

0x1C1A

0x1a

LANG_SERBIAN

0x07

SUBLANG_SERBIAN_BOSNIA_HERZEGOVINA_CYRILLIC

0x181A

0x06

SUBLANG_SERBIAN_BOSNIA_HERZEGOVINA_LATIN

0x01

SUBLANG_SERBIAN_CROATIA

0x0C1A

0x03

SUBLANG_SERBIAN_CYRILLIC

0x081A

0x02

SUBLANG_SERBIAN_LATIN

0x046C

0x6C

LANG_SOTHO

0x01

SUBLANG_SOTHO_NORTHERN_SOUTH_AFRICA

0x0432

0x32

LANG_TSWANA

0x01

SUBLANG_TSWANA_SOUTH_AFRICA

0x59

LANG_SINDHI

0x02

SUBLANG_SINDHI_AFGHANISTAN

0x01

SUBLANG_SINDHI_PAKISTAN

0x045B

0x5B

LANG_SINHALESE

0x01

SUBLANG_SINHALESE_SRI_LANKA

0x041B

0x1b

LANG_SLOVAK

0x01

SUBLANG_SLOVAK_SLOVAKIA

0x0424

0x24

LANG_SLOVENIAN

0x01

SUBLANG_SLOVENIAN_SLOVENIA

0x2C0A

0x0A

LANG_SPANISH

0x0b

SUBLANG_SPANISH_ARGENTINA

0x400A

0x10

SUBLANG_SPANISH_BOLIVIA

0x340A

0x0D

SUBLANG_SPANISH_CHILE

0x240A

0x09

SUBLANG_SPANISH_COLOMBIA

0x140A

0x05

SUBLANG_SPANISH_COSTA_RICA

0x1C0A

0x07

SUBLANG_SPANISH_DOMINICAN_REPUBLIC

0x300A

0x0C

SUBLANG_SPANISH_ECUADOR

0x440A

0x11

SUBLANG_SPANISH_EL_SALVADOR

0x100A

0x04

SUBLANG_SPANISH_GUATEMALA

0x480A

0x12

SUBLANG_SPANISH_HONDURAS

0x080A

0x02

SUBLANG_SPANISH_MEXICAN

0x4C0A

0x13

SUBLANG_SPANISH_NICARAGUA

0x180A

0x06

SUBLANG_SPANISH_PANAMA

0x3C0A

0x0F

SUBLANG_SPANISH_PARAGUAY

0x280A

0x0A

SUBLANG_SPANISH_PERU

0x500A

0x14

SUBLANG_SPANISH_PUERTO_RICO

0x040A

0x01

SUBLANG_SPANISH

0x540A

0x15

SUBLANG_SPANISH_US

0x380A

0x0E

SUBLANG_SPANISH_URUGUAY

0x200A

0x08

SUBLANG_SPANISH_VENEZUELA

0x0441

0x41

LANG_SWAHILI

0x01

SUBLANG_SWAHILI

0x081D

0x1D

LANG_SWEDISH

0x02

SUBLANG_SWEDISH_FINLAND

0x041D

0x01

SUBLANG_SWEDISH

0x041D

0x01

SUBLANG_SWEDISH_SWEDEN

0x045A

0x5A

LANG_SYRIAC

0x01

SUBLANG_SYRIAC

0x0428

0x28

LANG_TAJIK

0x01

SUBLANG_TAJIK_TAJIKISTAN

0x085F

0x5F

LANG_TAMAZIGHT

0x02

SUBLANG_TAMAZIGHT_ALGERIA_LATIN

0x0449

0x49

LANG_TAMIL

0x01

SUBLANG_TAMIL_INDIA

0x0444

0x44

LANG_TATAR

0x01

SUBLANG_TATAR_RUSSIA

0x044A

0x4A

LANG_TELUGU

0x01

SUBLANG_TELUGU_INDIA

0x041E

0x1E

LANG_THAI

0x01

SUBLANG_THAI_THAILAND

0x0451

0x51

LANG_TIBETAN

0x01

SUBLANG_TIBETAN_PRC

0x73

LANG_TIGRIGNA

0x02

SUBLANG_TIGRIGNA_ERITREA

0x041F

0x1F

LANG_TURKISH

0x01

SUBLANG_TURKISH_TURKEY

0x0442

0x42

LANG_TURKMEN

0x01

SUBLANG_TURKMEN_TURKMENISTAN

0x0422

0x22

LANG_UKRAINIAN

0x01

SUBLANG_UKRAINIAN_UKRAINE

0x042E

0x2E

LANG_UPPER_SORBIAN

0x01

SUBLANG_UPPER_SORBIAN_GERMANY

0x0820

0x20

LANG_URDU

0x02

SUBLANG_URDU_INDIA

0x0420

0x01

SUBLANG_URDU_PAKISTAN

0x0480

0x80

LANG_UIGHUR

0x01

SUBLANG_UIGHUR_PRC

0x0843

0x43

LANG_UZBEK

0x02

SUBLANG_UZBEK_CYRILLIC

0x0443

0x01

SUBLANG_UZBEK_LATIN

0x042A

0x2A

LANG_VIETNAMESE

0x01

SUBLANG_VIETNAMESE_VIETNAM

0x0452

0x52

LANG_WELSH

0x01

SUBLANG_WELSH_UNITED_KINGDOM

0x0488

0x88

LANG_WOLOF

0x01

SUBLANG_WOLOF_SENEGAL

0x0485

0x85

LANG_YAKUT

0x01

SUBLANG_YAKUT_RUSSIA

0x0478

0x78

LANG_YI

0x01

SUBLANG_YI_PRC

0x046A

0x6A

LANG_YORUBA

0x01

SUBLANG_YORUBA_NIGERIA

To set a neutral language, use LANG_CHINESE_SIMPLIFIED or LANG_CHINESE_TRADITIONAL with ConvertDefaultLocale.

Primary language identifiers for Bosnian, Croatian, and Serbian are numerically identical. For Bosnian, use LANG_BOSNIAN with SUBLANG_BOSNIAN_* sublanguage identifiers. For Croation, use LANG_CROATIAN with SUBLANG_CROATIAN_* sublanguage identifiers. For Serbian, use LANG_SERBIAN with SUBLANG_SERBIAN_* sublanguage identifiers. To set a neutral language, use LANG_BOSNIAN_NEUTRAL, LANG_CROATION, or LANG_SERBIAN_NEUTRAL with ConvertDefaultLocale.

SUBLANG_ENGLISH_IRELAND supersedes SUBLANG_ENGLISH_EIRE. The numerical values of the constants are identical.

Always use the language identifier constant LANG_IRISH with SUBLANG_IRISH_IRELAND.

SUBLANG_LITHUANIAN_LITHUANIA supersedes SUBLANG_LITHUANIAN. The numerical values of the constants are identical.

The language identifiers for Farsi and Persian are numerically identical. The constant LANG_FARSI is deprecated. Use LANG_PERSIAN instead.

SUBLANG_PORTUGUESE_PORTUGAL supersedes SUBLANG_PORTUGUESE. The numerical values of the constants are identical.

SUBLANG_SWEDISH_SWEDEN supersedes SUBLANG_SWEDISH. The numerical values of the constants are identical.

Header

winnls.h

Library

Coreloc.lib

Show: