{Country Codes for Use with jldb.tcl
This is a list of country codes for specifying a user's language preference in jstools applications or applications that use the jstools libraries.  It's based on the two­letter country (or region) codes used as top­level Internet domains.  They are based in turn on the ISO 3166:1988 standard for representing country names, with the difference that uk (United Kingdom) is used in place of gb (Great Britain).

I got this list from a posting to the comp.std.internat newsgroup; unfortunately, I've lost the information about who compiled it.  Also, it's somewhat out of date, particularly as regards Eastern Europe.  If you have a more current list, or better yet, a URL for a version of this list that's kept up­to­date, please send me mail at js@aq.org and let me know about it.

Country                                      Code
==============================               ====
ALBANIA                                       al
ALGERIA                                       dz
AMERICAN SAMOA                                as
ANDORRA                                       ad
ANGOLA                                        ao
ANGUILLA                                      ai
ANTARCTICA                                    aq
ANTIGUA AND BARBUDA                           ag
ARGENTINA                                     ar
ARUBA                                         aw
AUSTRALIA                                     au
AUSTRIA                                       at
BAHAMAS                                       bs
BAHRAIN                                       bh
BANGLADESH                                    bd
BARBADOS                                      bb
BELGIUM                                       be
BELIZE                                        bz
BENIN                                         bj
BERMUDA                                       bm
BHUTAN                                        bt
BOLIVIA                                       bo
BOTSWANA                                      bw
BOUVET ISLAND                                 bv
BRAZIL                                        br
BRITISH INDIAN OCEAN TERRITORY                io
BRUNEI DARUSSALAM                             bn
BULGARIA                                      bg
BURKINA FASO                                  bf
BURUNDI                                       bi
BYELORUSSIAN SSR                              by
CAMBODIA                                      kh
CAMEROON                                      cm
CANADA                                        ca
CAPE VERDE                                    cv
CAYMAN ISLANDS                                ky
CENTRAL AFRICAN REPUBLIC                      cf
CHAD                                          td
CHILE                                         cl
CHINA                                         cn
CHRISTMAS ISLAND                              cx
COCOS (KEELING) ISLANDS                       cc
COLOMBIA                                      co
COMOROS                                       km
CONGO                                         cg
COOK ISLANDS                                  ck
COSTA RICA                                    cr
COTE D'IVOIRE                                 ci
CUBA                                          cu
CYPRUS                                        cy
CZECHOSLOVAKIA                                cs
DENMARK                                       dk
DJIBOUTI                                      dj
DOMINICA                                      dm
DOMINICAN REPUBLIC                            do
EAST TIMOR                                    tp
ECUADOR                                       ec
EGYPT                                         eg
EL SALVADOR                                   sv
EQUATORIAL GUINEA                             gq
ETHIOPIA                                      et
FALKLAND ISLANDS (MALVINAS)                   fk
FAROE ISLANDS                                 fo
FIJI                                          fj
FINLAND                                       fi
FRANCE                                        fr
FRENCH GUIANA                                 gf
FRENCH POLYNESIA                              pf
FRENCH SOUTHERN TERRITORIES                   tf
GABON                                         ga
GAMBIA                                        gm
GERMANY                                       de
GHANA                                         gh
GIBRALTAR                                     gi
GREECE                                        gr
GREENLAND                                     gl
GRENADA                                       gd
GUADELOUPE                                    gp
GUAM                                          gu
GUATEMALA                                     gt
GUINEA                                        gn
GUINEA-BISSAU                                 gw
GUYANA                                        gy
HAITI                                         ht
HEARD AND MC DONALD ISLANDS                   hm
HONDURAS                                      hn
HONG KONG                                     hk
HUNGARY                                       hu
ICELAND                                       is
INDIA                                         in
INDONESIA                                     id
IRAN (ISLAMIC REPUBLIC OF)                    ir
IRAQ                                          iq
IRELAND                                       ie
ISRAEL                                        il
ITALY                                         it
JAMAICA                                       jm
JAPAN                                         jp
JORDAN                                        jo
KENYA                                         ke
KIRIBATI                                      ki
KOREA, DEMOCRATIC PEOPLE'S REPUBLIC OF        kp
KOREA, REPUBLIC OF                            kr
KUWAIT                                        kw
LAO PEOPLE'S DEMOCRATIC REPUBLIC              la
LEBANON                                       lb
LESOTHO                                       ls
LIBERIA                                       lr
LIBYAN ARAB JAMAHIRIYA                        ly
LIECHTENSTEIN                                 li
LUXEMBOURG                                    lu
MACAU                                         mo
MADAGASCAR                                    mg
MALAWI                                        mw
MALAYSIA                                      my
MALDIVES                                      mv
MALI                                          ml
MALTA                                         mt
MARSHALL ISLANDS                              mh
MARTINIQUE                                    mq
MAURITANIA                                    mr
MAURITIUS                                     mu
MEXICO                                        mx
MICRONESIA                                    fm
MONACO                                        mc
MONGOLIA                                      mn
MONTSERRAT                                    ms
MOROCCO                                       ma
MOZAMBIQUE                                    mz
MYANMAR                                       mm
NAMIBIA                                       na
NAURU                                         nr
NEPAL                                         np
NETHERLANDS                                   nl
NETHERLANDS ANTILLES                          an
NEUTRAL ZONE                                  nt
NEW CALEDONIA                                 nc
NEW ZEALAND                                   nz
NICARAGUA                                     ni
NIGER                                         ne
NIGERIA                                       ng
NIUE                                          nu
NORFOLK ISLAND                                nf
NORTHERN MARIANA ISLANDS                      mp
NORWAY                                        no
OMAN                                          om
PAKISTAN                                      pk
PALAU                                         pw
PANAMA                                        pa
PAPUA NEW GUINEA                              pg
PARAGUAY                                      py
PERU                                          pe
PHILIPPINES                                   ph
PITCAIRN                                      pn
POLAND                                        pl
PORTUGAL                                      pt
PUERTO RICO                                   pr
QATAR                                         qa
REUNION                                       re
ROMANIA                                       ro
RWANDA                                        rw
ST. HELENA                                    sh
SAINT KITTS AND NEVIS                         kn
SAINT LUCIA                                   lc
ST. PIERRE AND MIQUELON                       pm
SAINT VINCENT AND THE GRENADINES              vc
SAMOA                                         ws
SAN MARINO                                    sm
SAO TOME AND PRINCIPE                         st
SAUDI ARABIA                                  sa
SENEGAL                                       sn
SEYCHELLES                                    sc
SIERRA LEONE                                  sl
SINGAPORE                                     sg
SOLOMON ISLANDS                               sb
SOMALIA                                       so
SOUTH AFRICA                                  za
SPAIN                                         es
SRI LANKA                                     lk
SUDAN                                         sd
SURINAME                                      sr
SVALBARD AND JAN MAYEN ISLANDS                sj
SWAZILAND                                     sz
SWEDEN                                        se
SWITZERLAND                                   ch
SYRIAN ARAB REPUBLIC                          sy
TAIWAN, PROVINCE OF CHINA                     tw
TANZANIA, UNITED REPUBLIC OF                  tz
THAILAND                                      th
TOGO                                          tg
TOKELAU                                       tk
TONGA                                         to
TRINIDAD AND TOBAGO                           tt
TUNISIA                                       tn
TURKEY                                        tr
TURKS AND CAICOS ISLANDS                      tc
TUVALU                                        tv
UGANDA                                        ug
UKRAINIAN SSR                                 ua
UNITED ARAB EMIRATES                          ae
UNITED KINGDOM                                gb (but use uk instead)
UNITED STATES                                 us
UNITED STATES MINOR OUTLYING ISLANDS          um
URUGUAY                                       uy
USSR                                          su
VANUATU                                       vu
VATICAN CITY STATE (HOLY SEE)                 va
VENEZUELA                                     ve
VIET NAM                                      vn
VIRGIN ISLANDS (BRITISH)                      vg
VIRGIN ISLANDS (U.S.)                         vi
WALLIS AND FUTUNA ISLANDS                     wf
WESTERN SAHARA                                eh
YEMEN, REPUBLIC OF                            ye
YUGOSLAVIA                                    yu
ZAIRE                                         zr
ZAMBIA                                        zm
ZIMBABWE                                      zw
} {{{jdoc:xref:link {2.79 2.86 2.125 2.146 4.38 4.55}} {richtext:font:roman {2.0 2.79 2.86 2.129 2.136 2.351 2.353 2.391 2.393 4.38 4.55 4.334 4.343 6.0 208.48 208.58 208.60 208.69}} {richtext:font:bold {2.79 2.86 2.129 2.136}} {richtext:font:typewriter {2.351 2.353 2.391 2.393 4.38 4.55 4.334 4.343 6.0 208.48 208.58 208.60 208.69 226.0}} {richtext:font:heading0 {1.0 2.0}} {jdoc:link:news:comp.std.internat {4.38 4.55}} {jdoc:link:jstools.jdoc {2.79 2.86}} {jdoc:link:jslibraries.jdoc {2.125 2.146}}} {{abbrevstart 124.43} {convert:place:208.69 208.69} {convert:place:2.393 2.393} {convert:place:2.125 2.125} {convert:place:226.0 226.0} {convert:place:2.79 2.79} {convert:place:227.0 227.0} {anchor 1.0} {richptr 2.239} {convert:place:2.146 2.146} {insert 1.0} {convert:place:4.343 4.343} {convert:place:2.129 2.129} {convert:place:208.58 208.58} {convert:place:208.60 208.60} {convert:place:2.86 2.86} {convert:place:1.0 1.0} {abbrevend 124.43} {convert:place:2.0 2.0} {current 3.0} {convert:place:2.351 2.351} {convert:place:2.136 2.136} {convert:place:2.353 2.353} {convert:place:208.48 208.48} {convert:place:6.0 6.0} {convert:place:4.334 4.334} {convert:place:4.55 4.55} {convert:place:4.38 4.38} {convert:place:2.391 2.391}}}