Skip to content

Instantly share code, notes, and snippets.

@chrisegg
Created June 28, 2022 13:18
Show Gist options
  • Save chrisegg/b5471cc5bba194a348539043e4f5527d to your computer and use it in GitHub Desktop.
Save chrisegg/b5471cc5bba194a348539043e4f5527d to your computer and use it in GitHub Desktop.
List of currently available countries in the Address field country dropdown.
'AF' => __( 'Afghanistan', 'gravityforms' ),
'AX' => __( 'Åland Islands', 'gravityforms' ),
'AL' => __( 'Albania', 'gravityforms' ),
'DZ' => __( 'Algeria', 'gravityforms' ),
'AS' => __( 'American Samoa', 'gravityforms' ),
'AD' => __( 'Andorra', 'gravityforms' ),
'AO' => __( 'Angola', 'gravityforms' ),
'AI' => __( 'Anguilla', 'gravityforms' ),
'AQ' => __( 'Antarctica', 'gravityforms' ),
'AG' => __( 'Antigua and Barbuda', 'gravityforms' ),
'AR' => __( 'Argentina', 'gravityforms' ),
'AM' => __( 'Armenia', 'gravityforms' ),
'AW' => __( 'Aruba', 'gravityforms' ),
'AU' => __( 'Australia', 'gravityforms' ),
'AT' => __( 'Austria', 'gravityforms' ),
'AZ' => __( 'Azerbaijan', 'gravityforms' ),
'BS' => __( 'Bahamas', 'gravityforms' ),
'BH' => __( 'Bahrain', 'gravityforms' ),
'BD' => __( 'Bangladesh', 'gravityforms' ),
'BB' => __( 'Barbados', 'gravityforms' ),
'BY' => __( 'Belarus', 'gravityforms' ),
'BE' => __( 'Belgium', 'gravityforms' ),
'BZ' => __( 'Belize', 'gravityforms' ),
'BJ' => __( 'Benin', 'gravityforms' ),
'BM' => __( 'Bermuda', 'gravityforms' ),
'BT' => __( 'Bhutan', 'gravityforms' ),
'BO' => __( 'Bolivia', 'gravityforms' ),
'BQ' => __( 'Bonaire, Sint Eustatius and Saba', 'gravityforms' ),
'BA' => __( 'Bosnia and Herzegovina', 'gravityforms' ),
'BW' => __( 'Botswana', 'gravityforms' ),
'BV' => __( 'Bouvet Island', 'gravityforms' ),
'BR' => __( 'Brazil', 'gravityforms' ),
'IO' => __( 'British Indian Ocean Territory', 'gravityforms' ),
'BN' => __( 'Brunei Darussalam', 'gravityforms' ),
'BG' => __( 'Bulgaria', 'gravityforms' ),
'BF' => __( 'Burkina Faso', 'gravityforms' ),
'BI' => __( 'Burundi', 'gravityforms' ),
'KH' => __( 'Cambodia', 'gravityforms' ),
'CM' => __( 'Cameroon', 'gravityforms' ),
'CA' => __( 'Canada', 'gravityforms' ),
'CV' => __( 'Cape Verde', 'gravityforms' ),
'KY' => __( 'Cayman Islands', 'gravityforms' ),
'CF' => __( 'Central African Republic', 'gravityforms' ),
'TD' => __( 'Chad', 'gravityforms' ),
'CL' => __( 'Chile', 'gravityforms' ),
'CN' => __( 'China', 'gravityforms' ),
'CX' => __( 'Christmas Island', 'gravityforms' ),
'CC' => __( 'Cocos Islands', 'gravityforms' ),
'CO' => __( 'Colombia', 'gravityforms' ),
'KM' => __( 'Comoros', 'gravityforms' ),
'CD' => __( 'Congo, Democratic Republic of the', 'gravityforms' ),
'CG' => __( 'Congo, Republic of the', 'gravityforms' ),
'CK' => __( 'Cook Islands', 'gravityforms' ),
'CR' => __( 'Costa Rica', 'gravityforms' ),
'CI' => __( "Côte d'Ivoire", 'gravityforms' ),
'HR' => __( 'Croatia', 'gravityforms' ),
'CU' => __( 'Cuba', 'gravityforms' ),
'CW' => __( 'Curaçao', 'gravityforms' ),
'CY' => __( 'Cyprus', 'gravityforms' ),
'CZ' => __( 'Czech Republic', 'gravityforms' ),
'DK' => __( 'Denmark', 'gravityforms' ),
'DJ' => __( 'Djibouti', 'gravityforms' ),
'DM' => __( 'Dominica', 'gravityforms' ),
'DO' => __( 'Dominican Republic', 'gravityforms' ),
'EC' => __( 'Ecuador', 'gravityforms' ),
'EG' => __( 'Egypt', 'gravityforms' ),
'SV' => __( 'El Salvador', 'gravityforms' ),
'GQ' => __( 'Equatorial Guinea', 'gravityforms' ),
'ER' => __( 'Eritrea', 'gravityforms' ),
'EE' => __( 'Estonia', 'gravityforms' ),
'SZ' => __( 'Eswatini (Swaziland)', 'gravityforms' ),
'ET' => __( 'Ethiopia', 'gravityforms' ),
'FK' => __( 'Falkland Islands', 'gravityforms' ),
'FO' => __( 'Faroe Islands', 'gravityforms' ),
'FJ' => __( 'Fiji', 'gravityforms' ),
'FI' => __( 'Finland', 'gravityforms' ),
'FR' => __( 'France', 'gravityforms' ),
'GF' => __( 'French Guiana', 'gravityforms' ),
'PF' => __( 'French Polynesia', 'gravityforms' ),
'TF' => __( 'French Southern Territories', 'gravityforms' ),
'GA' => __( 'Gabon', 'gravityforms' ),
'GM' => __( 'Gambia', 'gravityforms' ),
'GE' => _x( 'Georgia', 'Country', 'gravityforms' ),
'DE' => __( 'Germany', 'gravityforms' ),
'GH' => __( 'Ghana', 'gravityforms' ),
'GI' => __( 'Gibraltar', 'gravityforms' ),
'GR' => __( 'Greece', 'gravityforms' ),
'GL' => __( 'Greenland', 'gravityforms' ),
'GD' => __( 'Grenada', 'gravityforms' ),
'GP' => __( 'Guadeloupe', 'gravityforms' ),
'GU' => __( 'Guam', 'gravityforms' ),
'GT' => __( 'Guatemala', 'gravityforms' ),
'GG' => __( 'Guernsey', 'gravityforms' ),
'GN' => __( 'Guinea', 'gravityforms' ),
'GW' => __( 'Guinea-Bissau', 'gravityforms' ),
'GY' => __( 'Guyana', 'gravityforms' ),
'HT' => __( 'Haiti', 'gravityforms' ),
'HM' => __( 'Heard and McDonald Islands', 'gravityforms' ),
'VA' => __( 'Holy See', 'gravityforms' ),
'HN' => __( 'Honduras', 'gravityforms' ),
'HK' => __( 'Hong Kong', 'gravityforms' ),
'HU' => __( 'Hungary', 'gravityforms' ),
'IS' => __( 'Iceland', 'gravityforms' ),
'IN' => __( 'India', 'gravityforms' ),
'ID' => __( 'Indonesia', 'gravityforms' ),
'IR' => __( 'Iran', 'gravityforms' ),
'IQ' => __( 'Iraq', 'gravityforms' ),
'IE' => __( 'Ireland', 'gravityforms' ),
'IM' => __( 'Isle of Man', 'gravityforms' ),
'IL' => __( 'Israel', 'gravityforms' ),
'IT' => __( 'Italy', 'gravityforms' ),
'JM' => __( 'Jamaica', 'gravityforms' ),
'JP' => __( 'Japan', 'gravityforms' ),
'JE' => __( 'Jersey', 'gravityforms' ),
'JO' => __( 'Jordan', 'gravityforms' ),
'KZ' => __( 'Kazakhstan', 'gravityforms' ),
'KE' => __( 'Kenya', 'gravityforms' ),
'KI' => __( 'Kiribati', 'gravityforms' ),
'KW' => __( 'Kuwait', 'gravityforms' ),
'KG' => __( 'Kyrgyzstan', 'gravityforms' ),
'LA' => __( "Lao People's Democratic Republic", 'gravityforms' ),
'LV' => __( 'Latvia', 'gravityforms' ),
'LB' => __( 'Lebanon', 'gravityforms' ),
'LS' => __( 'Lesotho', 'gravityforms' ),
'LR' => __( 'Liberia', 'gravityforms' ),
'LY' => __( 'Libya', 'gravityforms' ),
'LI' => __( 'Liechtenstein', 'gravityforms' ),
'LT' => __( 'Lithuania', 'gravityforms' ),
'LU' => __( 'Luxembourg', 'gravityforms' ),
'MO' => __( 'Macau', 'gravityforms' ),
'MK' => __( 'Macedonia', 'gravityforms' ),
'MG' => __( 'Madagascar', 'gravityforms' ),
'MW' => __( 'Malawi', 'gravityforms' ),
'MY' => __( 'Malaysia', 'gravityforms' ),
'MV' => __( 'Maldives', 'gravityforms' ),
'ML' => __( 'Mali', 'gravityforms' ),
'MT' => __( 'Malta', 'gravityforms' ),
'MH' => __( 'Marshall Islands', 'gravityforms' ),
'MQ' => __( 'Martinique', 'gravityforms' ),
'MR' => __( 'Mauritania', 'gravityforms' ),
'MU' => __( 'Mauritius', 'gravityforms' ),
'YT' => __( 'Mayotte', 'gravityforms' ),
'MX' => __( 'Mexico', 'gravityforms' ),
'FM' => __( 'Micronesia', 'gravityforms' ),
'MD' => __( 'Moldova', 'gravityforms' ),
'MC' => __( 'Monaco', 'gravityforms' ),
'MN' => __( 'Mongolia', 'gravityforms' ),
'ME' => __( 'Montenegro', 'gravityforms' ),
'MS' => __( 'Montserrat', 'gravityforms' ),
'MA' => __( 'Morocco', 'gravityforms' ),
'MZ' => __( 'Mozambique', 'gravityforms' ),
'MM' => __( 'Myanmar', 'gravityforms' ),
'NA' => __( 'Namibia', 'gravityforms' ),
'NR' => __( 'Nauru', 'gravityforms' ),
'NP' => __( 'Nepal', 'gravityforms' ),
'NL' => __( 'Netherlands', 'gravityforms' ),
'NC' => __( 'New Caledonia', 'gravityforms' ),
'NZ' => __( 'New Zealand', 'gravityforms' ),
'NI' => __( 'Nicaragua', 'gravityforms' ),
'NE' => __( 'Niger', 'gravityforms' ),
'NG' => __( 'Nigeria', 'gravityforms' ),
'NU' => __( 'Niue', 'gravityforms' ),
'NF' => __( 'Norfolk Island', 'gravityforms' ),
'KP' => __( 'North Korea', 'gravityforms' ),
'MP' => __( 'Northern Mariana Islands', 'gravityforms' ),
'NO' => __( 'Norway', 'gravityforms' ),
'OM' => __( 'Oman', 'gravityforms' ),
'PK' => __( 'Pakistan', 'gravityforms' ),
'PW' => __( 'Palau', 'gravityforms' ),
'PS' => __( 'Palestine, State of', 'gravityforms' ),
'PA' => __( 'Panama', 'gravityforms' ),
'PG' => __( 'Papua New Guinea', 'gravityforms' ),
'PY' => __( 'Paraguay', 'gravityforms' ),
'PE' => __( 'Peru', 'gravityforms' ),
'PH' => __( 'Philippines', 'gravityforms' ),
'PN' => __( 'Pitcairn', 'gravityforms' ),
'PL' => __( 'Poland', 'gravityforms' ),
'PT' => __( 'Portugal', 'gravityforms' ),
'PR' => __( 'Puerto Rico', 'gravityforms' ),
'QA' => __( 'Qatar', 'gravityforms' ),
'RE' => __( 'Réunion', 'gravityforms' ),
'RO' => __( 'Romania', 'gravityforms' ),
'RU' => __( 'Russia', 'gravityforms' ),
'RW' => __( 'Rwanda', 'gravityforms' ),
'BL' => __( 'Saint Barthélemy', 'gravityforms' ),
'SH' => __( 'Saint Helena', 'gravityforms' ),
'KN' => __( 'Saint Kitts and Nevis', 'gravityforms' ),
'LC' => __( 'Saint Lucia', 'gravityforms' ),
'MF' => __( 'Saint Martin', 'gravityforms' ),
'PM' => __( 'Saint Pierre and Miquelon', 'gravityforms' ),
'VC' => __( 'Saint Vincent and the Grenadines', 'gravityforms' ),
'WS' => __( 'Samoa', 'gravityforms' ),
'SM' => __( 'San Marino', 'gravityforms' ),
'ST' => __( 'Sao Tome and Principe', 'gravityforms' ),
'SA' => __( 'Saudi Arabia', 'gravityforms' ),
'SN' => __( 'Senegal', 'gravityforms' ),
'RS' => __( 'Serbia', 'gravityforms' ),
'SC' => __( 'Seychelles', 'gravityforms' ),
'SL' => __( 'Sierra Leone', 'gravityforms' ),
'SG' => __( 'Singapore', 'gravityforms' ),
'SX' => __( 'Sint Maarten', 'gravityforms' ),
'SK' => __( 'Slovakia', 'gravityforms' ),
'SI' => __( 'Slovenia', 'gravityforms' ),
'SB' => __( 'Solomon Islands', 'gravityforms' ),
'SO' => __( 'Somalia', 'gravityforms' ),
'ZA' => __( 'South Africa', 'gravityforms' ),
'GS' => _x( 'South Georgia', 'Country', 'gravityforms' ),
'KR' => __( 'South Korea', 'gravityforms' ),
'SS' => __( 'South Sudan', 'gravityforms' ),
'ES' => __( 'Spain', 'gravityforms' ),
'LK' => __( 'Sri Lanka', 'gravityforms' ),
'SD' => __( 'Sudan', 'gravityforms' ),
'SR' => __( 'Suriname', 'gravityforms' ),
'SJ' => __( 'Svalbard and Jan Mayen Islands', 'gravityforms' ),
'SE' => __( 'Sweden', 'gravityforms' ),
'CH' => __( 'Switzerland', 'gravityforms' ),
'SY' => __( 'Syria', 'gravityforms' ),
'TW' => __( 'Taiwan', 'gravityforms' ),
'TJ' => __( 'Tajikistan', 'gravityforms' ),
'TZ' => __( 'Tanzania', 'gravityforms' ),
'TH' => __( 'Thailand', 'gravityforms' ),
'TL' => __( 'Timor-Leste', 'gravityforms' ),
'TG' => __( 'Togo', 'gravityforms' ),
'TK' => __( 'Tokelau', 'gravityforms' ),
'TO' => __( 'Tonga', 'gravityforms' ),
'TT' => __( 'Trinidad and Tobago', 'gravityforms' ),
'TN' => __( 'Tunisia', 'gravityforms' ),
'TR' => __( 'Turkey', 'gravityforms' ),
'TM' => __( 'Turkmenistan', 'gravityforms' ),
'TC' => __( 'Turks and Caicos Islands', 'gravityforms' ),
'TV' => __( 'Tuvalu', 'gravityforms' ),
'UG' => __( 'Uganda', 'gravityforms' ),
'UA' => __( 'Ukraine', 'gravityforms' ),
'AE' => __( 'United Arab Emirates', 'gravityforms' ),
'GB' => __( 'United Kingdom', 'gravityforms' ),
'US' => __( 'United States', 'gravityforms' ),
'UY' => __( 'Uruguay', 'gravityforms' ),
'UM' => __( 'US Minor Outlying Islands', 'gravityforms' ),
'UZ' => __( 'Uzbekistan', 'gravityforms' ),
'VU' => __( 'Vanuatu', 'gravityforms' ),
'VE' => __( 'Venezuela', 'gravityforms' ),
'VN' => __( 'Vietnam', 'gravityforms' ),
'VG' => __( 'Virgin Islands, British', 'gravityforms' ),
'VI' => __( 'Virgin Islands, U.S.', 'gravityforms' ),
'WF' => __( 'Wallis and Futuna', 'gravityforms' ),
'EH' => __( 'Western Sahara', 'gravityforms' ),
'YE' => __( 'Yemen', 'gravityforms' ),
'ZM' => __( 'Zambia', 'gravityforms' ),
'ZW' => __( 'Zimbabwe', 'gravityforms' ),
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment