Language Codes: ISO 639, Microsoft and Macintosh___收藏

来源:互联网 发布:互联网数据都储存在哪 编辑:程序博客网 时间:2024/04/30 12:32

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 cannot 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 the Unicode Consortium if the ISO 639 language names are not what you believe they should be. Similarly, the Unicode is not responsible for the names or codes used by Microsoft or Macintosh.

LanguageISO CodeWindows NameWin CodeMac NameMac Code
Abkhazianab    
Afaraa    
AfrikaansafLANG_AFRIKAANS0x36langAfricaans141
AlbaniansqLANG_ALBANIAN0x1clangAlbanian36
Amharicam(no constant defined)0x5elangAmharic85
ArabicarLANG_ARABIC0x01langArabic12
ArmenianhyLANG_ARMENIAN0x2blangArmenian51
AssameseasLANG_ASSAMESE0x4dlangAssamese68
Aymaraay  langAymara134
AzerbaijaniazLANG_AZERI0x2clangAzerbaijani(Cyrllic), langAzerbaijanAr(Arabic)49(C), 50(A)
Bashkirba    
BasqueeuLANG_BASQUE0x2dlangBasque129
Bengali (Bangla)bnLANG_BENGALI0x45langBengali67
Bhutanidz  langDzongkha137
Biharibh    
Bislamabi    
Bretonbr  langBreton142
BulgarianbgLANG_BULGARIAN0x02langBulgarian44
Burmesemy(no constant defined)0x55langBurmese77
Byelorussian (Belarusian)beLANG_BELARUSIAN0x23langByelorussian46
Cambodiankm(no constant defined)0x53langKhmer78
CatalancaLANG_CATALAN0x03langCatalan130
Cherokee (no constant defined)0x5c  
Chewa   langChewa92
Chinese (Simplified)zhLANG_CHINESE (SUBLANG_CHINESE_SIMPLIFIED)0x04 (0x0804)langSimpChinese33
Chinese (Traditional)zhLANG_CHINESE (SUBLANG_CHINESE_TRADITIONAL)0x04 (0x0404)langTradChinese19
Corsicanco    
CroatianhrLANG_CROATIAN0x1alangCroatian18
CzechcsLANG_CZECH0x05langCzech38
DanishdaLANG_DANISH0x06langDanish7
Divehi LANG_DIVEHI0x65  
DutchnlLANG_DUTCH0x13langDutch4
Edo (no constant defined)0x66  
EnglishenLANG_ENGLISH0x09langEnglish0
Esperantoeo  langEsperanto94
EstonianetLANG_ESTONIAN0x25langEstonian27
FaeroesefoLANG_FAEROESE0x38langFaeroese30
FarsifaLANG_FARSI0x29langFarsi, langPersian31
Fijifj    
FinnishfiLANG_FINNISH0x0blangFinnish13
Flemish LANG_DUTCH (SUBLANG_DUTCH_BELGIAN)0x13 (0x0813)langFlemish34
FrenchfrLANG_FRENCH0x0clangFrench1
Frisianfy(no constant defined)0x62  
Fulfulde (no constant defined)0x67  
GalicianglLANG_GALICIAN0x56langGalician140
Gaelic (Scottish)gd(no constant defined)0x3c (0x043c)langScottishGaelic144
Gaelic (Manx)gv  langManxGaelic145
GeorgiankaLANG_GEORGIAN0x37langGeorgian52
GermandeLANG_GERMAN0x07langGerman2
GreekelLANG_GREEK0x08langGreek (monotonic), langGreekPoly (polytonic)14(m), 148(p)
Greenlandickl    
Guaranign(no constant defined)0x74langGuarani133
GujaratiguLANG_GUJARATI0x47langGujarati69
Hausaha(no constant defined)0x68  
Hawaiian (no constant defined)0x75  
Hebrewhe, iw*LANG_HEBREW0x0dlangHebrew10
HindihiLANG_HINDI0x39langHindi21
HungarianhuLANG_HUNGARIAN0x0elangHungarian26
Ibibio (no constant defined)0x69  
IcelandicisLANG_ICELANDIC0x0flangIcelandic15
Igbo (no constant defined)0x70  
Indonesianid, in*LANG_INDONESIAN0x21langIndonesian81
Interlinguaia    
Interlingueie    
Inuktitutiu(no constant defined)0x5dlangInuktitut143
Inupiakik    
Irishga(no constant defined)0x3c (0x083c)langIrishGaelic (normal), langIrishGaelicScr (dots above)35, 146
ItalianitLANG_ITALIAN0x10langItalian3
JapanesejaLANG_JAPANESE0x11langJapanese11
Javanesejv  langJavaneseRom138
KannadaknLANG_KANNADA0x4blangKannada73
Kanuri (no constant defined)0x71  
KashmiriksLANG_KASHMIRI0x60langKashmiri61
KazakhkkLANG_KAZAK0x3flangKazakh48
Kinyarwanda (Ruanda)rw  langKiryarwanda (langRuanda)90
KirghizkyLANG_KYRGYZ0x40langKirghiz54
Kirundi (Rundi)rn  langRundi91
Konkani LANG_KONKANI0x57  
KoreankoLANG_KOREAN0x12langKorean23
Kurdishku  langKurdish60
Laothianlo(no constant defined)0x54langLao79
Latinla(no constant defined)0x76langLatin131
Latvian (Lettish)lvLANG_LATVIAN0x26langLatvian28
Limburgish ( Limburger)li    
Lingalaln    
LithuanianltLANG_LITHUANIAN0x27langLithuanian24
MacedonianmkLANG_MACEDONIAN0x2flangMacedonian43
Malagasymg  langMalagasy93
MalaymsLANG_MALAY0x3elangMalayRoman(Latin), langMalayArabic(Arabic)83(L), 84(A)
MalayalammlLANG_MALAYALAM0x4clangMalayalam72
  LANG_MANIPURI0x58  
Maltesemt(no constant defined)0x3alangMaltese16
Maorimi    
MarathimrLANG_MARATHI0x4elangMarathi66
Moldavianmo  langMoldavian53
MongolianmnLANG_MONGOLIAN0x50langMongolian(Mongolian), langMongolianCyr(Cyrillic)57(M), 58(C)
Nauruna    
NepalineLANG_NEPALI0x61langNepali64
NorwegiannoLANG_NORWEGIAN0x14langNorwegian9
Occitanoc    
OriyaorLANG_ORIYA0x48langOriya71
Oromo (Afan, Galla)om(no constant defined)0x72langOromo (langGalla)87
Papiamentu (no constant defined)0x79  
Pashto (Pushto)ps(no constant defined)0x63langPashto59
PolishplLANG_POLISH0x15langPolish25
PortugueseptLANG_PORTUGUESE0x16langPortuguese8
PunjabipaLANG_PUNJABI0x46langPunjabi70
Quechuaqu  langQuechua132
Rhaeto-Romancerm(no constant defined)0x17  
RomanianroLANG_ROMANIAN0x18langRomanian37
RussianruLANG_RUSSIAN0x19langRussian32
Sami (Lappish) (no constant defined)0x3blangSami (langLappish)29
Samoansm    
Sangrosg    
SanskritsaLANG_SANSKRIT0x4flangSanskrit65
SerbiansrLANG_SERBIAN (SUBLANG_SERBIAN_LATIN or SUBLANG_SERBIAN_CYRILLIC)0x1a (0x081a or 0x0c1a)langSerbian42
Serbo-Croatiansh    
Sesothost    
Setswanatn    
Shonasn    
SindhisdLANG_SINDHI0x59langSindhi62
Sinhalesesi(no constant defined)0x5blangSinhalese76
Siswatiss    
SlovakskLANG_SLOVAK0x1blangSlovak39
SlovenianslLANG_SLOVENIAN0x24langSlovenian40
Somaliso(no constant defined)0x77langSomali88
SpanishesLANG_SPANISH0x0alangSpanish6
Sundanesesu  langSundaneseRom139
Swahili (Kiswahili)swLANG_SWAHILI0x41langSwahili89
SwedishsvLANG_SWEDISH0x1dlangSwedish5
Syriac LANG_SYRIAC0x5a  
Tagalogtl(no constant defined)0x64langTagalog82
Tajiktg(no constant defined)0x28langTajiki55
Tamazight (no constant defined)0x5f  
TamiltaLANG_TAMIL0x49langTamil74
TatarttLANG_TATAR0x44langTatar135
TeluguteLANG_TELUGU0x4alangTelugu75
ThaithLANG_THAI0x1elangThai22
Tibetanbo(no constant defined)0x51langTibetan63
Tigrinyati(no constant defined)0x73langTigrinya86
Tongato  langTongan147
Tsongats(no constant defined)0x31  
TurkishtrLANG_TURKISH0x1flangTurkish17
Turkmentk(no constant defined)0x42langTurkmen56
Twitw    
Uighurug  langUighur136
UkrainianukLANG_UKRAINIAN0x22langUkrainian45
UrduurLANG_URDU0x20langUrdu20
UzbekuzLANG_UZBEK0x43langUzbek47
Venda (no constant defined)0x33  
VietnameseviLANG_VIETNAMESE0x2alangVietnamese80
Volapükvo    
Welshcy(no constant defined)0x52langWelsh128
Wolofwo    
Xhosaxh(no constant defined)0x34  
Yi (no constant defined)0x78  
Yiddishyi, ji*(no constant defined)0x3dlangYiddish41
Yorubayo(no constant defined)0x6a  
Zuluzu(no constant defined)0x35   

 

原创粉丝点击