News:

Masm32 SDK description, downloads and other helpful links
Message to All Guests

Main Menu

Microsoft LCID

Started by herge, November 30, 2013, 12:43:47 AM

Previous topic - Next topic

herge


Hi Masm32 coders:

http://msdn.microsoft.com/en-us/goglobal/bb964664.aspx


A long program that tests the various LCID(s) the source data comes from
Microsoft. And at top of code is the http address.
Regards herge
Read "Slow Death by Rubber Duck"
for chemical Laughs.

Gunther

Hi herge,

German is not properly detected. Snippet:

?????????, ????????, 29, 2013 15:23:49 PM << Wait Hands ... >>
LCID = 1031 German - Germany  Germany
Freitag, November, 29, 2013 15:23:49 PM << Wait Hands ... >>
LCID = 3079 German - Austria  Austria
Freitag, November, 29, 2013 15:23:49 PM << Wait Hands ... >>
LCID = 5127 German - Liechtenstein  Liechtenstein
Freitag, November, 29, 2013 15:23:49 PM << Wait Hands ... >>
LCID = 4103 German - Luxembourg  Luxembourg
Freitag, November, 29, 2013 15:23:49 PM << Wait Hands ... >>


Would it be possible to make it in a loop without pressing enter every time?

Gunther
You have to know the facts before you can distort them.

herge


Hi Gunther:

invoke StdOut, addr crlf
      invoke StdOut, addr dtbufUTC;
      inkey " << Wait Hands ... >> "


Put a ; semi colon in front of inkey.

mov esi, ustr$(eax)
      invoke StdOut, esi; print Bad LCID
      inkey " << Wait Hands ... >> "


Put a ; semi colon in front of inkey.

inkey " << Wait Hands EXIT ... >> ", 13, 10


Leave the last inkey this stops dos from closing window
before you have read it?




Regards herge
Read "Slow Death by Rubber Duck"
for chemical Laughs.

herge


Hi Gunther:

I am not a German scholar but the tag endings for day look right to
me. But that does not mean I am right.

Google Translate

Sunday, Monday, Tuesday, Wednesday, Thursday, Friday, Saturday
Sonntag, Montag, Dienstag, Mittwoch, Donnerstag, Freitag, Samstag
Regards herge
Read "Slow Death by Rubber Duck"
for chemical Laughs.

herge


Hi Gunther:

I have commented out some inkey(s) and I have updated the
clock at bottom of the loop. Also had to throw in a CR & LF because
the inkey was doing it.
Updated and re  zipped
Hope You like it!

Regards herge
Read "Slow Death by Rubber Duck"
for chemical Laughs.

Gunther

Hi Herge,

thank you for changing. The output is correct now:

subota, novembar, 30, 2013 11:26:50 AM GMT

LCID = 1150 Breton  France
Sadorn, Du, 30, 2013 11:26:50 AM GMT

LCID = 1026 Bulgarian  Bulguria
±·ß¯‗Ó, ݯÕýÔ­Þ, 30, 2013 11:26:50 AM GMT
Burmese  Burma 1109 << Wait Hands ... >>

LCID = 1027 Catalan  Spain
dissabte, novembre, 30, 2013 11:26:56 AM GMT
Cherokee  USA 1116 << Wait Hands ... >>

LCID = 2052 Chinese - People's Republic of China  China
ðÃã┌┴¨, ╩«Ê╗È┬, 30, 2013 11:27:05 AM GMT

LCID = 4100 Chinese - Singapore  Singapore
ðÃã┌┴¨, ╩«Ê╗È┬, 30, 2013 11:27:05 AM GMT

LCID = 1028 Chinese - Taiwan  Taiwan
¼P┤┴ñ╗, ñQñ@ñÙ, 30, 2013 11:27:05 AM GMT

LCID = 3076 Chinese - Hong Kong  Hong kong
¼P┤┴ñ╗, ñQñ@ñÙ, 30, 2013 11:27:05 AM GMT

LCID = 5124 Chinese - Macao  Macao
¼P┤┴ñ╗, ñQñ@ñÙ, 30, 2013 11:27:05 AM GMT

LCID = 1155 Corsican  Spain - Corsican
sabbatu, nuvembre, 30, 2013 11:27:05 AM GMT

LCID = 1050 Croatian  Croatian
subota, studenog, 30, 2013 11:27:05 AM GMT

LCID = 4122 Croatian B/H Bosnia/Herzegovina
subota, studenog, 30, 2013 11:27:05 AM GMT

LCID = 1029 Czech  Czechslovakia
sobota, listopadu, 30, 2013 11:27:05 AM GMT

LCID = 1030 Danish  Denmark
l°rdag, november, 30, 2013 11:27:05 AM GMT

LCID = 1164 Dari  Dari
ÃßË╚╩, Ò═ÐÒ, 27, 1435 11:27:05 AM GMT

LCID = 1125 Divehi  Divehi
????????, ??????????, 27, 1435 11:27:05 AM GMT

LCID = 1043 Dutch - Netherlands  Dutch
zaterdag, november, 30, 2013 11:27:05 AM GMT

LCID = 2067 Dutch - Belgium  Dutch - Belgium
zaterdag, november, 30, 2013 11:27:05 AM GMT
Edo  Edo ?? 1126 << Wait Hands ... >>

LCID = 1033 English - USA  United States of America
Saturday, November, 30, 2013 11:27:11 AM GMT

LCID = 2057 English - UK  United Kingdom
Saturday, November, 30, 2013 11:27:11 AM GMT

LCID = 3081 English - Australia  Australia
Saturday, November, 30, 2013 11:27:11 AM GMT

LCID = 10249 English - Belize  Belize
Saturday, November, 30, 2013 11:27:11 AM GMT

LCID = 4105 English - Canada  Canada
Saturday, November, 30, 2013 11:27:11 AM GMT

LCID = 9225 English - Caribbean  Caribbean
Saturday, November, 30, 2013 11:27:11 AM GMT
English - Hong Kong  Hong Kong (China) 15369 << Wait Hands ... >>

LCID = 16393 English - India  India
Saturday, November, 30, 2013 11:27:15 AM GMT
English - Indonesia  Indonesia 14345 << Wait Hands ... >>

LCID = 6153 English - Ireland  Ireland
Saturday, November, 30, 2013 11:27:17 AM GMT

LCID = 8201 English - Jamaica  Jamaica
Saturday, November, 30, 2013 11:27:17 AM GMT

LCID = 17417 English - Malaysia  Malaysia
Saturday, November, 30, 2013 11:27:17 AM GMT

LCID = 5129 English - New Zealand  New Zealand
Saturday, November, 30, 2013 11:27:17 AM GMT

LCID = 13321 English - Philippines  Philippines
Saturday, November, 30, 2013 11:27:17 AM GMT

LCID = 18441 English - Singapore  Singapore
Saturday, November, 30, 2013 11:27:17 AM GMT

LCID = 7177 English - South Africa  South Africa
Saturday, November, 30, 2013 11:27:17 AM GMT

LCID = 11273 English - Trinidad  Trinidad
Saturday, November, 30, 2013 11:27:17 AM GMT

LCID = 12297 English - Zimbabwe  Zimbabwe
Saturday, November, 30, 2013 11:27:17 AM GMT

LCID = 1061 Estonian  Estonian
laupõev, november, 30, 2013 11:27:17 AM GMT

LCID = 1080 Faroese  Faroe Islands
leygardagur, november, 30, 2013 11:27:17 AM GMT

LCID = 1065 Farsi  Farsi
ÃßË╚╩, õµ¦Ò╚Ð, 30, 2013 11:27:17 AM GMT

LCID = 1124 Filipino  Philipines
Sabado, Nobyembre, 30, 2013 11:27:17 AM GMT

LCID = 1035 Finnish  Finland
lauantai, marraskuu, 30, 2013 11:27:17 AM GMT

LCID = 1036 French - France  France
samedi, novembre, 30, 2013 11:27:17 AM GMT

LCID = 2060 French - Belgium  Belgium
samedi, novembre, 30, 2013 11:27:17 AM GMT
French - Cameroon  Cameroon 11276 << Wait Hands ... >>

LCID = 3084 French - Canada  Canada
samedi, novembre, 30, 2013 11:27:19 AM GMT
French - Democratic Rep. of Congo  Democratic Rep. of Congo 9228 << Wait Hands
... >>
French - Cote d'Ivoire  Cote d'Ivoire 12300 << Wait Hands ... >>
French - Haiti  Haiti 15372 << Wait Hands ... >>

LCID = 5132 French - Luxembourg  Luxembourg
samedi, novembre, 30, 2013 11:27:24 AM GMT
French - Mali  Mali 13324 << Wait Hands ... >>

LCID = 6156 French - Monaco  Monaco
samedi, novembre, 30, 2013 11:27:25 AM GMT
French - Morocco  Morocco 14348 << Wait Hands ... >>
French - North Africa  North Africa 58380 << Wait Hands ... >>
French - Reunion  Reunion 8204 << Wait Hands ... >>
French - Senegal  Senegal 10252 << Wait Hands ... >>

LCID = 4108 French - Switzerland  Switzerland
samedi, novembre, 30, 2013 11:27:28 AM GMT
French - West Indies  West Indies 7180 << Wait Hands ... >>

LCID = 1122 Frisian - Netherlands  The Netherlands
Sneon, novimber, 30, 2013 11:27:29 AM GMT
Fulfulde - Nigeria  Nigeria 1127 << Wait Hands ... >>

LCID = 1071 FYRO Macedonian  Macedonian
±Ó߯‗Ó, ݯÕýÔ­Þ, 30, 2013 11:27:30 AM GMT

LCID = 1110 Galician  Galician
sßbado, novembro, 30, 2013 11:27:30 AM GMT

LCID = 1079 Georgian  Georgian
??????, ????????, 30, 2013 11:27:30 AM GMT

LCID = 1031 German - Germany  Germany
Samstag, November, 30, 2013 11:27:30 AM GMT

LCID = 3079 German - Austria  Austria
Samstag, November, 30, 2013 11:27:30 AM GMT

LCID = 5127 German - Liechtenstein  Liechtenstein
Samstag, November, 30, 2013 11:27:30 AM GMT

LCID = 4103 German - Luxembourg  Luxembourg
Samstag, November, 30, 2013 11:27:30 AM GMT

LCID = 2055 German - Switzerland  Switzerland
Samstag, November, 30, 2013 11:27:30 AM GMT

LCID = 1032 Greek - Greece  Greece
Ë▄ÔÔ߶´, ═´ÕýÔ±▀´§, 30, 2013 11:27:30 AM GMT

LCID = 1135 Greenlandic - Greenland  Greenland
arfininngorneq, novembari, 30, 2013 11:27:30 AM GMT
Guarani - Paraguay  Paraguay 1140 << Wait Hands ... >>

LCID = 1095 Gujarati  Gujarati
??????, ???????, 30, 2013 11:27:31 AM GMT

LCID = 1128 Hausa - Nigeria  Nigeria
Asabar, Nuwamba, 30, 2013 11:27:31 AM GMT
Hawaiian - United States of America  Hawaiian - USA 1141 << Wait Hands ... >>

LCID = 1037 Hebrew - Israel  Israel
¨ß·, ­Õ߯߰, 30, 2013 11:27:36 AM GMT

LCID = 1081 Hindi  Hindi
??????, ??????, 30, 2013 11:27:36 AM GMT

LCID = 1038 Hungarian  Hungary
szombat, november, 30, 2013 11:27:36 AM GMT
Ibibio - Nigeria  Nigeria 1129 << Wait Hands ... >>

LCID = 1039 Icelandic  Iceland
laugardagur, n¾vember, 30, 2013 11:27:43 AM GMT

LCID = 1136 Igbo - Nigeria  Nigeria
Abameta, Onwa iri n'ofu, 30, 2013 11:27:43 AM GMT

LCID = 1057 Indonesian  Indonesia
Sabtu, Nopember, 30, 2013 11:27:43 AM GMT

LCID = 1117 Inuktitut - Canada  Canada - Inuktitut
??????, ????, 30, 2013 11:27:43 AM GMT

LCID = 2108 Irish  Ireland
DÚ Sathairn, Samhain, 30, 2013 11:27:43 AM GMT

LCID = 1040 Italian - Italy  Italy
sabato, novembre, 30, 2013 11:27:43 AM GMT

LCID = 2064 Italian - Switzerland  Switzerland
sabato, novembre, 30, 2013 11:27:43 AM GMT

LCID = 1041 Japanese  Japan
ôyùjô·, 11îÄ, 30, 2013 11:27:43 AM GMT

LCID = 1150 K'iche  K'iche
Sadorn, Du, 30, 2013 11:27:43 AM GMT

LCID = 1099 Kannada  Kannada
??????, ???????, 30, 2013 11:27:43 AM GMT
Kanuri - Nigeria  Nigeria 1137 << Wait Hands ... >>
Kashmiri  Kashmiri 2144 << Wait Hands ... >>
Kashmiri (Arabic)  Kashmiri (Arabic) 1120 << Wait Hands ... >>

LCID = 1087 Kazakh  Kazakh
?????, ??????, 30, 2013 11:27:50 AM GMT

LCID = 1107 Khmer  Khmer
????????, ????????, 30, 2013 11:27:50 AM GMT

LCID = 1159 Kinyarwanda  Kinyarwanda
Ku cyumweru, Ugushyingo, 30, 2013 11:27:50 AM GMT

LCID = 1111 Konkani  Konkani
??????, ????????, 30, 2013 11:27:50 AM GMT

LCID = 1042 Korean  Korea
┼õ┐õ└¤, 11┐¨, 30, 2013 11:27:50 AM GMT

LCID = 1088 Kyrgyz (Cyrillic)  Kyrgyz (Cyrillic)
╚°ÕýßÞ, ═¯ ß­³, 30, 2013 11:27:50 AM GMT

LCID = 1108 Lao  Lao
???????, ?????, 30, 2013 11:27:50 AM GMT
Latin  Latin 1142 << Wait Hands ... >>

LCID = 1062 Latvian  Latvian
sestdiena, novembr¯, 30, 2013 11:27:52 AM GMT

LCID = 1063 Lithuanian  Lithuanian
­e­tadienis, lapkriÞio, 30, 2013 11:27:52 AM GMT

LCID = 1134 Luxembourgish  Luxembourg
Samschdeg, November, 30, 2013 11:27:52 AM GMT

LCID = 1086 Malay - Malaysia  Malaysia
Sabtu, November, 30, 2013 11:27:52 AM GMT

LCID = 2110 Malay - Brunei Darussalam  Brunei Darussalam
Sabtu, November, 30, 2013 11:27:52 AM GMT

LCID = 1100 Malayalam  Malayalan
????????, ??????, 30, 2013 11:27:52 AM GMT

LCID = 1082 Maltese  Malta
Is-Sibt, Novembru, 30, 2013 11:27:52 AM GMT
Manipuri  Manipuri 1112 << Wait Hands ... >>

LCID = 1153 Maori - New Zealand  New Zealand
Rahoroi, Whiringa-a-rangi, 30, 2013 11:27:53 AM GMT

LCID = 1146 Mapudungun  Mapudungun
sßbado, noviembre, 30, 2013 11:27:53 AM GMT

LCID = 1102 Marathi  Marathi
??????, ?????????, 30, 2013 11:27:53 AM GMT

LCID = 1148 Mohawk - USA  USA
Entßkta, Kentenhk¾:Wa, 30, 2013 11:27:53 AM GMT

LCID = 1104 Mongolian (Cyrillic)  Mongolia
┴ ýßÓ, 11áõ?Ò²²­á±Ó­¹Ý, 30, 2013 11:27:53 AM GMT

LCID = 2128 Mongolian (Mongolian)  Mongolia
???????? ????????, ????? ????????? ?????, 30, 2013 11:27:53 AM GMT

LCID = 1121 Nepali  Nepal
??????, ????????, 30, 2013 11:27:53 AM GMT
Nepali - India  India 2145 << Wait Hands ... >>


Gunther
You have to know the facts before you can distort them.

herge


Hi Gunther:

Do you use Powershell it's from Microsoft and I guess
I would call it a modern UNIX type DOS box i e Command.exe.
It's a download from Redmond, Washington, USA.
Regards herge
Read "Slow Death by Rubber Duck"
for chemical Laughs.

Gunther

Herge,

Quote from: herge on December 01, 2013, 12:15:29 AM
Do you use Powershell it's from Microsoft and I guess
I would call it a modern UNIX type DOS box i e Command.exe.
It's a download from Redmond, Washington, USA.

Powershell isn't my tool. I'm a bit old-fashioned.

Gunther
You have to know the facts before you can distort them.

dedndave

i installed PowerShell, but i haven't used it much   :P

GoneFishing

PowerShell is an amazing toy to play with . It has its own ISE (Integrated Scripting Environment ) since version 2 , I think ... very powerful tool for system administrators .
IIRC Being C# based , PS works with objects  not with plain text like cmd.exe