Language Codes: ISO 639, Microsoft and Macintosh
1996.12.19Mark DavisFirst version 1997.04.14Mark DavisUpdates based on feedback from Michael Everson 1997.07.08Mark DavisUpdates from K.D. Chang (Microsoft) 2001.07.16Michael S. KaplanUpdates from Microsoft and Apple for new languages 2002.09.16Magda DanishUpdates from ISO 639-2 Change Notices
The Following Is A Draft List of Language Code Correspondences Between ISO CODES, Microsoft Codes, And Macintosh Codes (USMARC LANGUAGE AND Country Codes Are Not Included In this List).
The correspondences are not 1-1. Macintosh codes sometimes have two variants, depending on the script the language is written. In such cases, the script is indicated in parantheses in the name (where not clear from the name itself), with a one -letter abbreviation on the code. Similarly, Microsoft codes are sometimes not script-specific and in cases where a language is not really properly identified without this information, the script information appears as well.
Macintosh constants and codes are defined in enumerations in the Mac header file Script.h and Windows constants and codes are defined in the Platform SDK header file winnt.h. Note that many of the Microsoft codes have no "Windows Name" constant (these are marked "(no constant defined)" and refer to codes that have been reserved for the languages in question. for more information about the LCID (Locale ID) parameter (of which the PRIMARY_LANGID codes given below are merely a part), see the Microsoft Platform SDK DOCS.
Unfortunately, ISO codes are not stable, and have changed over time There are currently three languages with multiple codes (for Hebrew, Indonesian, and Yiddish) So that you can communicate both with new and old software, one strategy is the following..: When reading: always read and interpret both of the variants When writing: write the second, (oldest) one - marked with an asterisk - for legacy applications that can not manage correctly the new standard code or for classes of applications for which you are not certain that they can use the new standard. All applications, file formats and protocols specified after 1995 should work with the new standard code (this will include all XML and HTML4.01 applications, and all applications that can use version 3.0 of the Unicode standard)
If you find an error in this information, please contact the Unicode office. Please note, however, that the Unicode Consortium does not own or maintain ISO 639 and neither bears responsibility for its contents nor has the ability to change them. Please do not contact .
LanguageISO CodeWindows NameWin CodeMac NameMac CodeAbkhazianab Afaraa AfrikaansafLANG_AFRIKAANS0x36langAfricaans141AlbaniansqLANG_ALBANIAN0x1clangAlbanian36Amharicam (no constant defined) 0x5elangAmharic85ArabicarLANG_ARABIC0x01langArabic12ArmenianhyLANG_ARMENIAN0x2blangArmenian51AssameseasLANG_ASSAMESE0x4dlangAssamese68Aymaraay langAymara134AzerbaijaniazLANG_AZERI0x2clangAzerbaijani (Cyrllic), langAzerbaijanAr (Arabic) 49 (C), 50 (A) Bashkirba BasqueeuLANG_BASQUE0x2dlangBasque129Bengali (Bangla) bnLANG_BENGALI0x45langBengali67Bhutanidz langDzongkha137Biharibh Bislamabi Bretonbr langBreton142BulgarianbgLANG_BULGARIAN0x02langBulgarian44Burmesemy (no constant defined) 0x55langBurmese77Byelorussian (Belarusian ) beLANG_BELARUSIAN0x23langByelorussian46Cambodiankm (no constant defined) 0x53langKhmer78CatalancaLANG_CATALAN0x03langCatalan130Cherokee (no constant defined) 0x5c Chewa langChewa92Chinese (Simplified) zhLANG_CHINESE (SUBLANG_CHINESE_SIMPLIFIED) 0x04 (0x0804) langSimpChinese33Ch inese (Traditional) zhLANG_CHINESE (SUBLANG_CHINESE_TRADITIONAL) 0x04 (0x0404) langTradChinese19Corsicanco CroatianhrLANG_CROATIAN0x1alangCroatian18CzechcsLANG_CZECH0x05langCzech38DanishdaLANG_DANISH0x06langDanish7Divehi LANG_DIVEHI0x65 DutchnlLANG_DUTCH0x13langDutch4Edo (no constant defined) 0x66 EnglishenLANG_ENGLISH0x09langEnglish0Esperantoeo langEsperanto94EstonianetLANG_ESTONIAN0x25langEstonian27FaeroesefoLANG_FAEROESE0x38langFaeroese30FarsifaLANG_FARSI0x29langFarsi,
langPersian31Fijifj FinnishfiLANG_FINNISH0x0blangFinnish13Flemish LANG_DUTCH (SUBLANG_DUTCH_BELGIAN) 0x13 (0x0813) langFlemish34FrenchfrLANG_FRENCH0x0clangFrench1Frisianfy (no constant defined) 0x62 Fulfulde (no constant defined) 0x67 GalicianglLANG_GALICIAN0x56langGalician140Gaelic (Scottish) gd (no constant defined) 0x3c (0x043c) langScottishGaelic144Gaelic (Manx) gv langManxGaelic145GeorgiankaLANG_GEORGIAN0x37langGeorgian52GermandeLANG_GERMAN0x07langGerman2GreekelLANG_GREEK0x08langGreek (monotonic), langGreekPoly ( polytonic) 14 (m), 148 (p) Greenlandickl Guaranign (no constant defined) 0x74langGuarani133GujaratiguLANG_GUJARATI0x47langGujarati69Hausaha (no constant defined) 0x68 Hawaiian (no constant defined) 0x75 Hebrewhe, iw * LANG_HEBREW0x0dlangHebrew10HindihiLANG_HINDI0x39langHindi21HungarianhuLANG_HUNGARIAN0x0elangHungarian26Ibibio (no constant defined) 0x69 IcelandicisLANG_ICELANDIC0x0flangIcelandic15Igbo (no constant defined) 0x70 Indonesianid, In * lang_indonesian0x21langindonesian81inte Rlinguaia Interlingueieie Inuktitudeu (no constant defined) 0x5dlanginuktitut143inupiakik irishga (no constant defined) 0x3c (0x083c) langirishgaeelic (Normal), LangirishgaelicsCR (DOTS ABOVE) 35,
146ItalianitLANG_ITALIAN0x10langItalian3JapanesejaLANG_JAPANESE0x11langJapanese11Javanesejv langJavaneseRom138KannadaknLANG_KANNADA0x4blangKannada73Kanuri (no constant defined) 0x71 KashmiriksLANG_KASHMIRI0x60langKashmiri61KazakhkkLANG_KAZAK0x3flangKazakh48Kinyarwanda (Ruanda) rw langKiryarwanda (langRuanda) 90KirghizkyLANG_KYRGYZ0x40langKirghiz54Kirundi (Rundi) rn langRundi91Konkani LANG_KONKANI0x57 KoreankoLANG_KOREAN0x12langKorean23Kurdishku langKurdish60Laothianlo (no constant defined) 0x54langLao79Latinla (no constant defined) 0x76langLatin131Latvian (Lettish) lvLANG_LATVIAN0x26langLatvian28Limburgish (Limburger) li Lingalaln LithuanianltLANG_LITHUANIAN0x27langLithuanian24MacedonianmkLANG_MACEDONIAN0x2flangMacedonian43Malagasymg langMalagasy93MalaymsLANG_MALAY0x3elangMalayRoman ( latin), langMalayArabic (Arabic) 83 (L), 84 (A) MalayalammlLANG_MALAYALAM0x4clangMalayalam72 LANG_MANIPURI0x58 Maltesemt (no constant defined) 0x3alangMaltese16Maorimi MarathimrLANG_MARATHI0x4elangMarathi 66Moldavianmo langMoldavian53MongolianmnLANG_MONGOLIAN0x50langMongolian (Mongolian), langMongolianCyr (Cyrillic) 57 (M), 58 (C) Nauruna NepalineLANG_NEPALI0x61langNepali64NorwegiannoLANG_NORWEGIAN0x14langNorwegian9Occitanoc OriyaorLANG_ORIYA0x48langOriya71Oromo (Afan,
Galla) om (no constant defined) 0x72langOromo (langGalla) 87Papiamentu (no constant defined) 0x79 Pashto (Pushto) ps (no constant defined) 0x63langPashto59PolishplLANG_POLISH0x15langPolish25PortugueseptLANG_PORTUGUESE0x16langPortuguese8PunjabipaLANG_PUNJABI0x46langPunjabi70Quechuaqu langQuechua132Rhaeto-Romancerm (no constant defined) 0x17 RomanianroLANG_ROMANIAN0x18langRomanian37RussianruLANG_RUSSIAN0x19langRussian32Sami (Lappish) (no constant defined) 0x3blangSami ( langLappish) 29Samoansm Sangrosg SanskritsaLANG_SANSKRIT0x4flangSanskrit65SerbiansrLANG_SERBIAN (SUBLANG_SERBIAN_LATIN or SUBLANG_SERBIAN_CYRILLIC) 0x1a (0x081a or 0x0c1a) langSerbian42Serbo-Croatiansh Sesothost Setswanatn Shonasn SindhisdLANG_SINDHI0x59langSindhi62Sinhalesesi (no constant defined) 0x5blangSinhalese76Siswatiss SlovakskLANG_SLOVAK0x1blangSlovak39SlovenianslLANG_SLOVENIAN0x24langSlovenian40Somaliso (no constant defined) 0x77langSomali88SpanishesLANG_SPANISH0x0alangSpanish6Sundanesesu langSundaneseRom1 39Swahili (Kiswahili) swLANG_SWAHILI0x41langSwahili89SwedishsvLANG_SWEDISH0x1dlangSwedish5Syriac LANG_SYRIAC0x5a Tagalogtl (no constant defined) 0x64langTagalog82Tajiktg (no constant defined) 0x28langTajiki55Tamazight (no constant defined) 0x5f TamiltaLANG_TAMIL0x49langTamil74TatarttLANG_TATAR0x44langTatar135TeluguteLANG_TELUGU0x4alangTelugu75ThaithLANG_THAI0x1elangThai22Tibetanbo (no constant defined) 0x51langTibetan63Tigrinyati (no constant defined) 0x73langTigrinya86Tongato langTongan147Tsongats (no constant defined) 0x31 TurkishtrLANG_TURKISH0x1flangTurkish17Turkmentk (no constant defined 0x42langturkmen56twitw Uighurug Languighur136ukrainianuklang_ukrainian0x22langukrainian45urduurlang_urdu0x20langurdu20uzbekuzlang_uzbek0x43languzbek47vend