Module: ISO::Countries

Extended by:
ClassMethods
Includes:
GetText
Defined in:
lib/iso/countries/country_field.rb,
lib/country_list.rb,
lib/iso_countries.rb

Overview

:nodoc:

Defined Under Namespace

Modules: ClassMethods, CountryField

Constant Summary collapse

COUNTRIES =
{
    :af => N_("Afghanistan"),
    :ax => N_("Åland islands"),
    :al => N_("Albania"),
    :dz => N_("Algeria"),
    :as => N_("American samoa"),
    :ad => N_("Andorra"),
    :ao => N_("Angola"),
    :ai => N_("Anguilla"),
    :aq => N_("Antarctica"),
    :ag => N_("Antigua and barbuda"),
    :ar => N_("Argentina"),
    :am => N_("Armenia"),
    :aw => N_("Aruba"),
    :au => N_("Australia"),
    :at => N_("Austria"),
    :az => N_("Azerbaijan"),
    :bs => N_("Bahamas"),
    :bh => N_("Bahrain"),
    :bd => N_("Bangladesh"),
    :bb => N_("Barbados"),
    :by => N_("Belarus"),
    :be => N_("Belgium"),
    :bz => N_("Belize"),
    :bj => N_("Benin"),
    :bm => N_("Bermuda"),
    :bt => N_("Bhutan"),
    :bo => N_("Bolivia"),
    :ba => N_("Bosnia and herzegovina"),
    :bw => N_("Botswana"),
    :bv => N_("Bouvet island"),
    :br => N_("Brazil"),
    :io => N_("British indian ocean territory"),
    :bn => N_("Brunei darussalam"),
    :bg => N_("Bulgaria"),
    :bf => N_("Burkina faso"),
    :bi => N_("Burundi"),
    :kh => N_("Cambodia"),
    :cm => N_("Cameroon"),
    :ca => N_("Canada"),
    :cv => N_("Cape verde"),
    :ky => N_("Cayman islands"),
    :cf => N_("Central african republic"),
    :td => N_("Chad"),
    :cl => N_("Chile"),
    :cn => N_("China"),
    :cx => N_("Christmas island"),
    :cc => N_("Cocos (keeling) islands"),
    :co => N_("Colombia"),
    :km => N_("Comoros"),
    :cg => N_("Congo"),
    :cd => N_("Congo, the democratic republic of the"),
    :ck => N_("Cook islands"),
    :cr => N_("Costa rica"),
    :ci => N_("Côte d'ivoire"),
    :hr => N_("Croatia"),
    :cu => N_("Cuba"),
    :cy => N_("Cyprus"),
    :cz => N_("Czech republic"),
    :dk => N_("Denmark"),
    :dj => N_("Djibouti"),
    :dm => N_("Dominica"),
    :do => N_("Dominican republic"),
    :ec => N_("Ecuador"),
    :eg => N_("Egypt"),
    :sv => N_("El salvador"),
    :gq => N_("Equatorial guinea"),
    :er => N_("Eritrea"),
    :ee => N_("Estonia"),
    :et => N_("Ethiopia"),
    :fk => N_("Falkland islands (malvinas)"),
    :fo => N_("Faroe islands"),
    :fj => N_("Fiji"),
    :fi => N_("Finland"),
    :fr => N_("France"),
    :gf => N_("French guiana"),
    :pf => N_("French polynesia"),
    :tf => N_("French southern territories"),
    :ga => N_("Gabon"),
    :gm => N_("Gambia"),
    :ge => N_("Georgia"),
    :de => N_("Germany"),
    :gh => N_("Ghana"),
    :gi => N_("Gibraltar"),
    :gr => N_("Greece"),
    :gl => N_("Greenland"),
    :gd => N_("Grenada"),
    :gp => N_("Guadeloupe"),
    :gu => N_("Guam"),
    :gt => N_("Guatemala"),
    :gg => N_("Guernsey"),
    :gn => N_("Guinea"),
    :gw => N_("Guinea-bissau"),
    :gy => N_("Guyana"),
    :ht => N_("Haiti"),
    :hm => N_("Heard island and mcdonald islands"),
    :va => N_("Holy see (vatican city state)"),
    :hn => N_("Honduras"),
    :hk => N_("Hong kong"),
    :hu => N_("Hungary"),
    :is => N_("Iceland"),
    :in => N_("India"),
    :id => N_("Indonesia"),
    :ir => N_("Iran, islamic republic of"),
    :iq => N_("Iraq"),
    :ie => N_("Ireland"),
    :im => N_("Isle of man"),
    :il => N_("Israel"),
    :it => N_("Italy"),
    :jm => N_("Jamaica"),
    :jp => N_("Japan"),
    :je => N_("Jersey"),
    :jo => N_("Jordan"),
    :kz => N_("Kazakhstan"),
    :ke => N_("Kenya"),
    :ki => N_("Kiribati"),
    :kp => N_("Korea, democratic people's republic of"),
    :kr => N_("Korea, republic of"),
    :kw => N_("Kuwait"),
    :kg => N_("Kyrgyzstan"),
    :la => N_("Lao people's democratic republic"),
    :lv => N_("Latvia"),
    :lb => N_("Lebanon"),
    :ls => N_("Lesotho"),
    :lr => N_("Liberia"),
    :ly => N_("Libyan arab jamahiriya"),
    :li => N_("Liechtenstein"),
    :lt => N_("Lithuania"),
    :lu => N_("Luxembourg"),
    :mo => N_("Macao"),
    :mk => N_("Macedonia, the former yugoslav republic of"),
    :mg => N_("Madagascar"),
    :mw => N_("Malawi"),
    :my => N_("Malaysia"),
    :mv => N_("Maldives"),
    :ml => N_("Mali"),
    :mt => N_("Malta"),
    :mh => N_("Marshall islands"),
    :mq => N_("Martinique"),
    :mr => N_("Mauritania"),
    :mu => N_("Mauritius"),
    :yt => N_("Mayotte"),
    :mx => N_("Mexico"),
    :fm => N_("Micronesia, federated states of"),
    :md => N_("Moldova, republic of"),
    :mc => N_("Monaco"),
    :mn => N_("Mongolia"),
    :me => N_("Montenegro"),
    :ms => N_("Montserrat"),
    :ma => N_("Morocco"),
    :mz => N_("Mozambique"),
    :mm => N_("Myanmar"),
    :na => N_("Namibia"),
    :nr => N_("Nauru"),
    :np => N_("Nepal"),
    :nl => N_("Netherlands"),
    :an => N_("Netherlands antilles"),
    :nc => N_("New caledonia"),
    :nz => N_("New zealand"),
    :ni => N_("Nicaragua"),
    :ne => N_("Niger"),
    :ng => N_("Nigeria"),
    :nu => N_("Niue"),
    :nf => N_("Norfolk island"),
    :mp => N_("Northern mariana islands"),
    :no => N_("Norway"),
    :om => N_("Oman"),
    :pk => N_("Pakistan"),
    :pw => N_("Palau"),
    :ps => N_("Palestinian territory, occupied"),
    :pa => N_("Panama"),
    :pg => N_("Papua new guinea"),
    :py => N_("Paraguay"),
    :pe => N_("Peru"),
    :ph => N_("Philippines"),
    :pn => N_("Pitcairn"),
    :pl => N_("Poland"),
    :pt => N_("Portugal"),
    :pr => N_("Puerto rico"),
    :qa => N_("Qatar"),
    :re => N_("Reunion"),
    :ro => N_("Romania"),
    :ru => N_("Russian federation"),
    :rw => N_("Rwanda"),
    :bl => N_("Saint barthélemy"),
    :sh => N_("Saint helena"),
    :kn => N_("Saint kitts and nevis"),
    :lc => N_("Saint lucia"),
    :mf => N_("Saint martin"),
    :pm => N_("Saint pierre and miquelon"),
    :vc => N_("Saint vincent and the grenadines"),
    :ws => N_("Samoa"),
    :sm => N_("San marino"),
    :st => N_("Sao tome and principe"),
    :sa => N_("Saudi arabia"),
    :sn => N_("Senegal"),
    :rs => N_("Serbia"),
    :sc => N_("Seychelles"),
    :sl => N_("Sierra leone"),
    :sg => N_("Singapore"),
    :sk => N_("Slovakia"),
    :si => N_("Slovenia"),
    :sb => N_("Solomon islands"),
    :so => N_("Somalia"),
    :za => N_("South africa"),
    :gs => N_("South georgia and the south sandwich islands"),
    :es => N_("Spain"),
    :lk => N_("Sri lanka"),
    :sd => N_("Sudan"),
    :sr => N_("Suriname"),
    :sj => N_("Svalbard and jan mayen"),
    :sz => N_("Swaziland"),
    :se => N_("Sweden"),
    :ch => N_("Switzerland"),
    :sy => N_("Syrian arab republic"),
    :tw => N_("Taiwan, province of china"),
    :tj => N_("Tajikistan"),
    :tz => N_("Tanzania, united republic of"),
    :th => N_("Thailand"),
    :tl => N_("Timor-leste"),
    :tg => N_("Togo"),
    :tk => N_("Tokelau"),
    :to => N_("Tonga"),
    :tt => N_("Trinidad and tobago"),
    :tn => N_("Tunisia"),
    :tr => N_("Turkey"),
    :tm => N_("Turkmenistan"),
    :tc => N_("Turks and caicos islands"),
    :tv => N_("Tuvalu"),
    :ug => N_("Uganda"),
    :ua => N_("Ukraine"),
    :ae => N_("United arab emirates"),
    :gb => N_("United kingdom"),
    :us => N_("United states"),
    :um => N_("United states minor outlying islands"),
    :uy => N_("Uruguay"),
    :uz => N_("Uzbekistan"),
    :vu => N_("Vanuatu"),
    :ve => N_("Venezuela"),
    :vn => N_("Viet nam"),
    :vg => N_("Virgin islands, british"),
    :vi => N_("Virgin islands, u.s."),
    :wf => N_("Wallis and futuna"),
    :eh => N_("Western sahara"),
    :ye => N_("Yemen"),
    :zm => N_("Zambia"),
    :zw => N_("Zimbabwe")
}

Method Summary

Methods included from ClassMethods

country_codes, get_code, get_country, language, set_language