Hallo Hubert, Besten Dank f�r Deine Bem�hung. Danke, das ist es was ich gesucht habe.
Gru� J�rg -----Urspr�ngliche Nachricht----- Von: Hubert Daubmeier [mailto:[EMAIL PROTECTED]] Gesendet: Samstag, 9. M�rz 2002 22:41 An: ASP Diskussionsliste fuer Anfaenger Betreff: [aspdebeginners] RE: Browsersprachen Diese Liste habe ich irgendwann mal von msdn.ms.com runtergezogen -- Viele Gr��e Hubert Daubmeier <% Function AcceptLangToLcid(stAcceptLang) Dim lcid Select Case stAcceptLang Case "af" 'Afrikaans lcid = "1078" & chr(9) & "Afrikaans" Case "sq" 'Albanian lcid = "1052" & chr(9) & "Albanian" Case "ar-ae" 'Arabic - U.A.E. lcid = "14337" & chr(9) & "ae - Arabic - U.A.E." Case "ar-bh" 'Arabic - Bahrain lcid = "15361" & chr(9) & "bh - Arabic - Bahrain" Case "ar-dz" 'Arabic - Algeria lcid = "5121" & chr(9) & "dz - Arabic - Algeria" Case "ar-eg" 'Arabic - Egypt lcid = "3073" & chr(9) & "eg - Arabic - Egypt" Case "ar-iq" 'Arabic - Iraq lcid = "2049" & chr(9) & "iq - Arabic - Iraq" Case "ar-jo" 'Arabic - Jordan lcid = "11265" & chr(9) & "jo - Arabic - Jordan" Case "ar-kw" 'Arabic - Kuwait lcid = "13313" & chr(9) & "kw - Arabic - Kuwait" Case "ar-lb" 'Arabic - Lebanon lcid = "12289" & chr(9) & "lb - Arabic - Lebanon" Case "ar-ly" 'Arabic - Libya lcid = "4097" & chr(9) & "ly - Arabic - Libya" Case "ar-ma" 'Arabic - Morocco lcid = "6145" & chr(9) & "ma - Arabic - Morocco" Case "ar-om" 'Arabic - Oman lcid = "8193" & chr(9) & "om - Arabic - Oman" Case "ar-qa" 'Arabic - Qatar lcid = "16385" & chr(9) & "qa - Arabic - Qatar" Case "ar-sa" 'Arabic - Saudia Arabia lcid = "1025" & chr(9) & "sa - Arabic - Saudia Arabia" Case "ar-sy" 'Arabic - Syria lcid = "10241" & chr(9) & "sy - Arabic - Syria" Case "ar-tn" 'Arabic - Tunisia lcid = "7169" & chr(9) & "tn - Arabic - Tunisia" Case "ar-ye" 'Arabic - Yemen lcid = "9217" & chr(9) & "ye - Arabic - Yemen" Case "ar" 'Arabic (Not in table list but it is in IE 5.5) lcid = "1025" & chr(9) & "Arabic (Not in table list but it is in IE 5.5)" Case "hy" 'Armenian (Not in table list but it is in IE 5.5) lcid = "1067" & chr(9) & "Armenian (Not in table list but it is in IE 5.5)" Case "eu" 'Basque lcid = "1069" & chr(9) & "Basque" Case "be" 'Belarusian lcid = "1059" & chr(9) & "Belarusian" Case "bn" ' Bengali (Not in table list but it is in IE 5.5) lcid = "1093" & chr(9) & "Bengali (Not in table list but it is in IE 5.5)" Case "bg" 'Bulgarian lcid = "1026" & chr(9) & "Bulgarian" Case "ca" 'Catalan lcid = "1027" & chr(9) & "Catalan" Case "zh-cn" 'Chinese - PRC lcid = "2052" & chr(9) & "cn - Chinese - PRC" Case "zh-hk" 'Chinese - Hong Kong S.A.R. lcid = "3076" & chr(9) & "hk - Chinese - Hong Kong S.A.R." Case "zh-mo" 'Chinese - Macau (This locale is not in the list and in IE 5.5 it is zh without the -mo) lcid = "5124" & chr(9) & "mo - Chinese - Macau (This locale is not in the list and in IE 5.5 it is zh without the -mo)" Case "zh-sg" 'Chinese - Singapore lcid = "4100" & chr(9) & "sg - Chinese - Singapore" Case "zh-tw" 'Chinese - Taiwan lcid = "1028" & chr(9) & "tw - Chinese - Taiwan" Case "zh" 'Chinese (Not in table list but it is in IE 5.5) lcid = "2052" & chr(9) & "Chinese (Not in table list but it is in IE 5.5)" Case "hr" 'Croatian lcid = "1050" & chr(9) & "Croatian" Case "cs" 'Czech lcid = "1029" & chr(9) & "Czech" Case "da" 'Danish lcid = "1030" & chr(9) & "Danish" Case "nl" 'Dutch lcid = "1043" & chr(9) & "Dutch" Case "nl-be" 'Dutch - Belgium lcid = "2067" & chr(9) & "be - Dutch - Belgium" Case "en-au" 'English - Australia lcid = "3081" & chr(9) & "au - English - Australia" Case "en-bz" 'English - Belize lcid = "10249" & chr(9) & "bz - English - Belize" Case "en-ca" 'English - Canada lcid = "4105" & chr(9) & "ca - English - Canada" Case "en-ie" 'English - Ireland lcid = "6153" & chr(9) & "ie - English - Ireland" Case "en-jm" 'English - Jamaica lcid = "8201" & chr(9) & "jm - English - Jamaica" Case "en-nz" 'English - New Zealand lcid = "5129" & chr(9) & "nz - English - New Zealand" Case "en-ph" 'English - Phillipines (Not in table list but it is in IE 5.5) lcid = "13321" & chr(9) & "ph - English - Phillipines (Not in table list but it is in IE 5.5)" Case "en-za" 'English - South Africa lcid = "7177" & chr(9) & "za - English - South Africa" Case "en-tt" 'English - Trinidad lcid = "11273" & chr(9) & "tt - English - Trinidad" Case "en-gb" 'English - United Kingdom lcid = "2057" & chr(9) & "gb - English - United Kingdom" Case "en-us" 'English - United States lcid = "1033" & chr(9) & "us - English - United States" Case "en-zw" 'English - Zimbabwe (Not in table list but it is in IE 5.5) lcid = "12297" & chr(9) & "zw - English - Zimbabwe (Not in table list but it is in IE 5.5)" Case "et" 'Estonian lcid = "1061" & chr(9) & "Estonian" Case "fa" 'Farsi lcid = "1065" & chr(9) & "Farsi" Case "fi" 'Finnish lcid = "1035" & chr(9) & "Finnish" Case "fo" 'Faeroese lcid = "1080" & chr(9) & "Faeroese" Case "fr" 'French - Standard lcid = "1036" & chr(9) & "French - Standard" Case "fr-be" 'French - Belgium lcid = "2060" & chr(9) & "be - French - Belgium" Case "fr-ca" 'French - Canada lcid = "3084" & chr(9) & "ca - French - Canada" Case "fr-lu" 'French - Luxembourg lcid = "5132" & chr(9) & "lu - French - Luxembourg" Case "fr-ch" 'French - Switzerland lcid = "4108" & chr(9) & "ch - French - Switzerland" Case "fy" ' Frisian (Not in table list, not in IE 5.5 either - LCID reserved) lcid = "1122" & chr(9) & "Frisian (Not in table list, not in IE 5.5 either - LCID reserved)" Case "gd" 'Gaelic - Scotland lcid = "1084" & chr(9) & "Gaelic - Scotland" Case "gd-ie" 'Gaelic - Ireland (Not in table list nor in IE 5.5 - LCID reserved) lcid = "2108" & chr(9) & "ie - Gaelic - Ireland (Not in table list nor in IE 5.5 - LCID reserved)" Case "ka" 'Georgian (Not in table list but it is in IE 5.5) lcid = "1079" & chr(9) & "Georgian (Not in table list but it is in IE 5.5)" Case "de" 'German - Standard lcid = "1031" & chr(9) & "German - Standard" Case "de-at" 'German - Austrian lcid = "3079" & chr(9) & "at - German - Austrian" Case "de-li" 'German - Lichtenstein lcid = "5127" & chr(9) & "li - German - Lichtenstein" Case "de-lu" 'German - Luxembourg lcid = "4103" & chr(9) & "lu - German - Luxembourg" Case "de-ch" 'German - Switzerland lcid = "2055" & chr(9) & "ch - German - Switzerland" Case "el" 'Greek lcid = "1032" & chr(9) & "Greek" Case "gu" 'Gujarti (not in table list but it is in IE 5.5) lcid = "1095" & chr(9) & "Gujarti (not in table list but it is in IE 5.5)" Case "he" 'Hebrew lcid = "1037" & chr(9) & "Hebrew" Case "hi" 'Hindi lcid = "1081" & chr(9) & "Hindi" Case "hu" 'Hungarian lcid = "1038" & chr(9) & "Hungarian" Case "is" 'Icelandic lcid = "1039" & chr(9) & "Icelandic" Case "in" 'Indonesian lcid = "1057" & chr(9) & "Indonesian" Case "it" 'Italian - Standard lcid = "1040" & chr(9) & "Italian - Standard" Case "it-ch" 'Italian - Switzerland lcid = "2064" & chr(9) & "ch - Italian - Switzerland" Case "ja" 'Japanese lcid = "1041" & chr(9) & "Japanese" Case "kn" 'Kannada (not in table list but it is in IE 5.5) lcid = "1099" & chr(9) & "Kannada (not in table list but it is in IE 5.5)" Case "kk" 'Kazakh (not in table list but it is in IE 5.5) lcid = "1087" & chr(9) & "Kazakh (not in table list but it is in IE 5.5)" Case "x-kok" 'Konkani (not in table list but it is IE 5.5 - not an official ISO code) lcid = "1111" & chr(9) & "kok - Konkani (not in table list but it is IE 5.5 - not an official ISO code)" Case "ko" 'Korean lcid = "1042" & chr(9) & "Korean" Case "lv" 'Latvian lcid = "1062" & chr(9) & "Latvian" Case "lt" 'Lithuanian lcid = "1063" & chr(9) & "Lithuanian" Case "mk" 'Macedonian lcid = "1071" & chr(9) & "Macedonian" Case "ms" 'Malay - Malaysia lcid = "1086" & chr(9) & "Malay - Malaysia" Case "ml" 'Malayalam (not in table list but it is in IE 5.5) lcid = "1100" & chr(9) & "Malayalam (not in table list but it is in IE 5.5)" Case "mt" 'Maltese lcid = "1082" & chr(9) & "Maltese" Case "mr" 'Marathi (not in table list but it is in IE 5.5) lcid = "1102" & chr(9) & "Marathi (not in table list but it is in IE 5.5)" Case "no" 'Norwegian - Bokm�l lcid = "1044" & chr(9) & "Norwegian - Bokm�l" Case "ne" 'Nepali - India (not in table list but it is in IE 5.5) lcid = "2145" & chr(9) & "Nepali - India (not in table list but it is in IE 5.5)" Case "or" 'Oriya (not in table list but it is in IE 5.5) lcid = "1096" & chr(9) & "Oriya (not in table list but it is in IE 5.5)" Case "pl" 'Polish lcid = "1045" & chr(9) & "Polish" Case "pt" 'Portuguese - Standard lcid = "2070" & chr(9) & "Portuguese - Standard" Case "pt-br" 'Portuguese - Brazil lcid = "1046" & chr(9) & "br - Portuguese - Brazil" Case "pa" ' Punjabi (Gurmuhki) (not in table list but it is in IE 5.5) lcid = "1094" & chr(9) & "Punjabi (Gurmuhki) (not in table list but it is in IE 5.5)" Case "rm" 'Raeto-Romance lcid = "1047" & chr(9) & "Raeto-Romance" Case "ro" 'Romanian lcid = "1048" & chr(9) & "Romanian" Case "ro-mo - Romanian - Moldova lcid = "2072" & chr(9) & "mo - Romanian - Moldova" Case "ru" 'Russian lcid = "1049" & chr(9) & "Russian" Case "ru-mo - Russian - Moldova lcid = "2073" & chr(9) & "mo - 'Russian - Moldova" Case "sr" 'Serbian - Cyrillic lcid = "3098" & chr(9) & "Serbian - Cyrillic" Case "tn" 'Setsuana lcid = "1074" & chr(9) & "Setsuana" Case "sl" 'Slovenian lcid = "1060" & chr(9) & "Slovenian" Case "sk" 'Slovak lcid = "1051" & chr(9) & "Slovak" Case "sb" 'Sorbian lcid = "1070" & chr(9) & "Sorbian" Case "es" 'Spanish - Standard lcid = "1034" & chr(9) & "Spanish - Standard" Case "es-ar - Spanish - Argentina lcid = "11274" & chr(9) & "ar - Spanish - Argentina" Case "es-bo - Spanish - Bolivia lcid = "16394" & chr(9) & "bo - Spanish - Bolivia" Case "es-cl - Spanish - Chile lcid = "13322" & chr(9) & "cl - Spanish - Chile" Case "es-co - Spanish - Columbia lcid = "9226" & chr(9) & "co - Spanish - Columbia" Case "es-cr - Spanish - Costa Rica lcid = "5130" & chr(9) & "cr - Spanish - Costa Rica" Case "es-do - Spanish - Dominican Republic lcid = "7178" & chr(9) & "do - Spanish - Dominican Republic" Case "es-ec - Spanish - Ecuador lcid = "12298" & chr(9) & "ec - Spanish - Ecuador" Case "es-gt - Spanish - Guatemala lcid = "4106" & chr(9) & "gt - Spanish - Guatemala" Case "es-hn - Spanish - Honduras lcid = "18442" & chr(9) & "hn - Spanish - Honduras" Case "es-mx - Spanish - Mexico lcid = "2058" & chr(9) & "mx - Spanish - Mexico" Case "es-ni - Spanish - Nicaragua lcid = "19466" & chr(9) & "ni - Spanish - Nicaragua" Case "es-pa - Spanish - Panama lcid = "6154" & chr(9) & "pa - Spanish - Panama" Case "es-pe - Spanish - Peru lcid = "10250" & chr(9) & "pe - Spanish - Peru" Case "es-pr - Spanish - Puerto Rico lcid = "20490" & chr(9) & "pr - Spanish - Puerto Rico" Case "es-py - Spanish - Paraguay lcid = "15370" & chr(9) & "py - Spanish - Paraguay" Case "es-sv - Spanish - El Salvador lcid = "17418" & chr(9) & "sv - Spanish - El Salvador" Case "es-uy - Spanish - Uruguay lcid = "14346" & chr(9) & "uy - Spanish - Uruguay" Case "es-ve - Spanish - Venezuela lcid = "8202" & chr(9) & "ve - Spanish - Venezuela" Case "sx" 'Sutu lcid = "1072" & chr(9) & "Sutu" Case "sw" 'Swahili (not in table list but it is in IE 5.5) lcid = "1089" & chr(9) & "Swahili (not in table list but it is in IE 5.5)" Case "sv" 'Swedish lcid = "1053" & chr(9) & "Swedish" Case "sv-fi - Swedish - Finland lcid = "2077" & chr(9) & "Swedish - Finland" Case "tl" 'Tagalog (not in list nor in IE 5.5 but the LCID is reserved for Filipino, which is Tagalog) lcid = "1124" & chr(9) & "Tagalog (not in list nor in IE 5.5 but the LCID is reserved for Filipino, which is Tagalog)" Case "ta" 'Tamil (not in list but it is in IE 5.5) lcid = "1097" & chr(9) & "Tamil (not in list but it is in IE 5.5)" Case "te" 'Telugu (not in table list but it is in IE 5.5) lcid = "1098" & chr(9) & "Telugu (not in table list but it is in IE 5.5)" Case "th" 'Thai lcid = "1054" & chr(9) & "Thai" Case "tr" 'Turkish lcid = "1055" & chr(9) & "Turkish" Case "ts" 'Tsonga lcid = "1073" & chr(9) & "Tsonga" Case "tn" 'Tswana (not in table list but it is in IE 5.5) lcid = "1074" & chr(9) & "Tswana (not in table list but it is in IE 5.5)" Case "uk" 'Ukranian lcid = "1058" & chr(9) & "Ukranian" Case "ur" 'Urdu - Pakistan lcid = "1056" & chr(9) & "Urdu - Pakistan" Case "vi" 'Vietnamese lcid = "1066" & chr(9) & "Vietnamese" Case "xh" 'Xhosa lcid = "1076" & chr(9) & "Xhosa" Case "ji" 'Yiddish (ISO prefers "yi") lcid = "1085" & chr(9) & "Yiddish (ISO prefers 'yi')" Case "yi" 'Yiddish (table lists "ji") lcid = "1085" & chr(9) & "Yiddish (table lists 'ji')" Case "zu" 'Zulu lcid = "1077" & chr(9) & "Zulu" Case Else lcid = "0" & chr(9) & "Not specified" End Select AcceptLangToLcid = lcid End Function %> -----Original Message----- From: J�rg L�gering [mailto:[EMAIL PROTECTED]] Sent: Saturday, March 09, 2002 9:52 PM To: ASP Diskussionsliste fuer Anfaenger Subject: [aspdebeginners] Browsersprachen Hallo zusammen, Ich lese die jeweilige Browsersprache mit "Request.ServerVariables("HTTP_ACCEPT_LANGUAGE")" aus. Kennt jemand eine List wo die gesamten K�rzel bekomme wie z.B. ar = Arabic de = German dn = Danish el = Greek en = English es = Spanish fi = Finnish fr = French he = Hebrew in = Indonesian is = Icelandic it = Italian ja = Japanese ko = Korean nl = Dutch no = Norwegian pl = Polish pt = Portuguese ru = Russian sv = Swedish th = Thai tr = Turkish zh = Chinese F�r Info w�hre ich sehr Dankbar. Gru� J�rg | Oft Gefragtes: http://www.aspgerman.com/aspgerman/faq/ | [aspdebeginners] als [EMAIL PROTECTED] subscribed | http://www.aspgerman.com/archiv/aspdebeginners/ = Listenarchiv Sie | knnen sich unter folgender URL an- und abmelden: | http://www.aspgerman.com/aspgerman/listen/anmelden/aspdebeginners.asp | Oft Gefragtes: http://www.aspgerman.com/aspgerman/faq/ | [aspdebeginners] als [EMAIL PROTECTED] subscribed | http://www.aspgerman.com/archiv/aspdebeginners/ = Listenarchiv | Sie knnen sich unter folgender URL an- und abmelden: | http://www.aspgerman.com/aspgerman/listen/anmelden/aspdebeginners.asp | Oft Gefragtes: http://www.aspgerman.com/aspgerman/faq/ | [aspdebeginners] als [email protected] subscribed | http://www.aspgerman.com/archiv/aspdebeginners/ = Listenarchiv | Sie knnen sich unter folgender URL an- und abmelden: | http://www.aspgerman.com/aspgerman/listen/anmelden/aspdebeginners.asp
