Platform SDK: International Features |
The SUBLANGID macro extracts a sublanguage identifier from a language identifier.
WORD SUBLANGID( WORD lgid // language identifier );
The return value is a sublanguage identifier. The following sublanguage identifiers are defined:
SUBLANG_ARABIC_SAUDI_ARABIA SUBLANG_ARABIC_IRAQ SUBLANG_ARABIC_EGYPT SUBLANG_ARABIC_LIBYA SUBLANG_ARABIC_ALGERIA SUBLANG_ARABIC_MOROCCO SUBLANG_ARABIC_TUNISIA SUBLANG_ARABIC_OMAN SUBLANG_ARABIC_YEMEN SUBLANG_ARABIC_SYRIA SUBLANG_ARABIC_JORDAN SUBLANG_ARABIC_LEBANON SUBLANG_ARABIC_KUWAIT SUBLANG_ARABIC_UAE SUBLANG_ARABIC_BAHRAIN SUBLANG_ARABIC_QATAR SUBLANG_AZERI_CYRILLIC SUBLANG_AZERI_LATIN SUBLANG_CHINESE_SIMPLIFIED SUBLANG_CHINESE_HONGKONG SUBLANG_CHINESE_SINGAPORE SUBLANG_CHINESE_MACAU SUBLANG_DEFAULT SUBLANG_DUTCH SUBLANG_DUTCH_BELGIAN SUBLANG_ENGLISH_US SUBLANG_ENGLISH_UK SUBLANG_ENGLISH_AUS SUBLANG_ENGLISH_CAN SUBLANG_ENGLISH_NZ SUBLANG_ENGLISH_EIRE SUBLANG_ENGLISH_SOUTH_AFRICA SUBLANG_ENGLISH_JAMAICA SUBLANG_ENGLISH_CARIBBEAN SUBLANG_ENGLISH_BELIZE SUBLANG_ENGLISH_TRINIDAD SUBLANG_ENGLISH_PHILIPPINES SUBLANG_ENGLISH_ZIMBABWE SUBLANG_FRENCH SUBLANG_FRENCH_BELGIAN SUBLANG_FRENCH_CANADIAN SUBLANG_FRENCH_SWISS SUBLANG_FRENCH_LUXEMBOURG SUBLANG_FRENCH_MONACO SUBLANG_GERMAN SUBLANG_GERMAN_SWISS |
SUBLANG_GERMAN_AUSTRIAN SUBLANG_GERMAN_LUXEMBOURG SUBLANG_GERMAN_LIECHTENSTEIN SUBLANG_ITALIAN SUBLANG_ITALIAN_SWISS SUBLANG_KASHMIRI_INDIA SUBLANG_KOREAN SUBLANG_LITHUANIAN SUBLANG_MALAY_BRUNEI_DARUSSALAM SUBLANG_MALAY_MALAYSIA SUBLANG_NEPALI_INDIA SUBLANG_NEUTRAL SUBLANG_NORWEGIAN_BOKMAL SUBLANG_NORWEGIAN_NYNORSK SUBLANG_PORTUGUESE SUBLANG_PORTUGUESE_BRAZILIAN SUBLANG_SERBIAN_LATIN SUBLANG_SERBIAN_CYRILLIC SUBLANG_SPANISH SUBLANG_SPANISH_MEXICAN SUBLANG_SPANISH_MODERN SUBLANG_SPANISH_GUATEMALA SUBLANG_SPANISH_COSTA_RICA SUBLANG_SPANISH_PANAMA SUBLANG_SPANISH_DOMINICAN_REPUBLIC SUBLANG_SPANISH_VENEZUELA SUBLANG_SPANISH_COLOMBIA SUBLANG_SPANISH_PERU SUBLANG_SPANISH_ARGENTINA SUBLANG_SPANISH_ECUADOR SUBLANG_SPANISH_CHILE SUBLANG_SPANISH_URUGUAY SUBLANG_SPANISH_PARAGUAY SUBLANG_SPANISH_BOLIVIA SUBLANG_SPANISH_EL_SALVADOR SUBLANG_SPANISH_HONDURAS SUBLANG_SPANISH_NICARAGUA SUBLANG_SPANISH_PUERTO_RICO SUBLANG_SWEDISH SUBLANG_SWEDISH_FINLAND SUBLANG_SYS_DEFAULT SUBLANG_URDU_INDIA SUBLANG_URDU_PAKISTAN SUBLANG_UZBEK_CYRILLIC SUBLANG_UZBEK_LATIN |
Windows NT/2000: Requires Windows NT 3.1 or later.
Windows 95/98: Requires Windows 95 or later.
Header: Declared in Winnt.h; include Windows.h.
National Language Support Overview, National Language Support Macros, EnumSystemLocales, LANGIDFROMLCID, MAKELANGID, PRIMARYLANGID