Localisation for countries moved to class. Closes #212.

This commit is contained in:
Mike Jolley 2011-11-17 10:40:32 +00:00
parent e40dd67efb
commit e2019276aa
3 changed files with 495 additions and 821 deletions

View File

@ -11,493 +11,503 @@
*/
class woocommerce_countries {
var $countries = array(
'AD' => 'Andorra',
'AE' => 'United Arab Emirates',
'AF' => 'Afghanistan',
'AG' => 'Antigua and Barbuda',
'AI' => 'Anguilla',
'AL' => 'Albania',
'AM' => 'Armenia',
'AN' => 'Netherlands Antilles',
'AO' => 'Angola',
'AQ' => 'Antarctica',
'AR' => 'Argentina',
'AS' => 'American Samoa',
'AT' => 'Austria',
'AU' => 'Australia',
'AW' => 'Aruba',
'AX' => 'Aland Islands',
'AZ' => 'Azerbaijan',
'BA' => 'Bosnia and Herzegovina',
'BB' => 'Barbados',
'BD' => 'Bangladesh',
'BE' => 'Belgium',
'BF' => 'Burkina Faso',
'BG' => 'Bulgaria',
'BH' => 'Bahrain',
'BI' => 'Burundi',
'BJ' => 'Benin',
'BL' => 'Saint Barthélemy',
'BM' => 'Bermuda',
'BN' => 'Brunei',
'BO' => 'Bolivia',
'BR' => 'Brazil',
'BS' => 'Bahamas',
'BT' => 'Bhutan',
'BV' => 'Bouvet Island',
'BW' => 'Botswana',
'BY' => 'Belarus',
'BZ' => 'Belize',
'CA' => 'Canada',
'CC' => 'Cocos (Keeling) Islands',
'CD' => 'Congo (Kinshasa)',
'CF' => 'Central African Republic',
'CG' => 'Congo (Brazzaville)',
'CH' => 'Switzerland',
'CI' => 'Ivory Coast',
'CK' => 'Cook Islands',
'CL' => 'Chile',
'CM' => 'Cameroon',
'CN' => 'China',
'CO' => 'Colombia',
'CR' => 'Costa Rica',
'CU' => 'Cuba',
'CV' => 'Cape Verde',
'CX' => 'Christmas Island',
'CY' => 'Cyprus',
'CZ' => 'Czech Republic',
'DE' => 'Germany',
'DJ' => 'Djibouti',
'DK' => 'Denmark',
'DM' => 'Dominica',
'DO' => 'Dominican Republic',
'DZ' => 'Algeria',
'EC' => 'Ecuador',
'EE' => 'Estonia',
'EG' => 'Egypt',
'EH' => 'Western Sahara',
'ER' => 'Eritrea',
'ES' => 'Spain',
'ET' => 'Ethiopia',
'FI' => 'Finland',
'FJ' => 'Fiji',
'FK' => 'Falkland Islands',
'FM' => 'Micronesia',
'FO' => 'Faroe Islands',
'FR' => 'France',
'GA' => 'Gabon',
'GB' => 'United Kingdom',
'GD' => 'Grenada',
'GE' => 'Georgia',
'GF' => 'French Guiana',
'GG' => 'Guernsey',
'GH' => 'Ghana',
'GI' => 'Gibraltar',
'GL' => 'Greenland',
'GM' => 'Gambia',
'GN' => 'Guinea',
'GP' => 'Guadeloupe',
'GQ' => 'Equatorial Guinea',
'GR' => 'Greece',
'GS' => 'South Georgia and the South Sandwich Islands',
'GT' => 'Guatemala',
'GU' => 'Guam',
'GW' => 'Guinea-Bissau',
'GY' => 'Guyana',
'HK' => 'Hong Kong S.A.R., China',
'HM' => 'Heard Island and McDonald Islands',
'HN' => 'Honduras',
'HR' => 'Croatia',
'HT' => 'Haiti',
'HU' => 'Hungary',
'ID' => 'Indonesia',
'IE' => 'Ireland',
'IL' => 'Israel',
'IM' => 'Isle of Man',
'IN' => 'India',
'IO' => 'British Indian Ocean Territory',
'IQ' => 'Iraq',
'IR' => 'Iran',
'IS' => 'Iceland',
'IT' => 'Italy',
'JE' => 'Jersey',
'JM' => 'Jamaica',
'JO' => 'Jordan',
'JP' => 'Japan',
'KE' => 'Kenya',
'KG' => 'Kyrgyzstan',
'KH' => 'Cambodia',
'KI' => 'Kiribati',
'KM' => 'Comoros',
'KN' => 'Saint Kitts and Nevis',
'KP' => 'North Korea',
'KR' => 'South Korea',
'KW' => 'Kuwait',
'KY' => 'Cayman Islands',
'KZ' => 'Kazakhstan',
'LA' => 'Laos',
'LB' => 'Lebanon',
'LC' => 'Saint Lucia',
'LI' => 'Liechtenstein',
'LK' => 'Sri Lanka',
'LR' => 'Liberia',
'LS' => 'Lesotho',
'LT' => 'Lithuania',
'LU' => 'Luxembourg',
'LV' => 'Latvia',
'LY' => 'Libya',
'MA' => 'Morocco',
'MC' => 'Monaco',
'MD' => 'Moldova',
'ME' => 'Montenegro',
'MF' => 'Saint Martin (French part)',
'MG' => 'Madagascar',
'MH' => 'Marshall Islands',
'MK' => 'Macedonia',
'ML' => 'Mali',
'MM' => 'Myanmar',
'MN' => 'Mongolia',
'MO' => 'Macao S.A.R., China',
'MP' => 'Northern Mariana Islands',
'MQ' => 'Martinique',
'MR' => 'Mauritania',
'MS' => 'Montserrat',
'MT' => 'Malta',
'MU' => 'Mauritius',
'MV' => 'Maldives',
'MW' => 'Malawi',
'MX' => 'Mexico',
'MY' => 'Malaysia',
'MZ' => 'Mozambique',
'NA' => 'Namibia',
'NC' => 'New Caledonia',
'NE' => 'Niger',
'NF' => 'Norfolk Island',
'NG' => 'Nigeria',
'NI' => 'Nicaragua',
'NL' => 'Netherlands',
'NO' => 'Norway',
'NP' => 'Nepal',
'NR' => 'Nauru',
'NU' => 'Niue',
'NZ' => 'New Zealand',
'OM' => 'Oman',
'PA' => 'Panama',
'PE' => 'Peru',
'PF' => 'French Polynesia',
'PG' => 'Papua New Guinea',
'PH' => 'Philippines',
'PK' => 'Pakistan',
'PL' => 'Poland',
'PM' => 'Saint Pierre and Miquelon',
'PN' => 'Pitcairn',
'PR' => 'Puerto Rico',
'PS' => 'Palestinian Territory',
'PT' => 'Portugal',
'PW' => 'Palau',
'PY' => 'Paraguay',
'QA' => 'Qatar',
'RE' => 'Reunion',
'RO' => 'Romania',
'RS' => 'Serbia',
'RU' => 'Russia',
'RW' => 'Rwanda',
'SA' => 'Saudi Arabia',
'SB' => 'Solomon Islands',
'SC' => 'Seychelles',
'SD' => 'Sudan',
'SE' => 'Sweden',
'SG' => 'Singapore',
'SH' => 'Saint Helena',
'SI' => 'Slovenia',
'SJ' => 'Svalbard and Jan Mayen',
'SK' => 'Slovakia',
'SL' => 'Sierra Leone',
'SM' => 'San Marino',
'SN' => 'Senegal',
'SO' => 'Somalia',
'SR' => 'Suriname',
'ST' => 'Sao Tome and Principe',
'SV' => 'El Salvador',
'SY' => 'Syria',
'SZ' => 'Swaziland',
'TC' => 'Turks and Caicos Islands',
'TD' => 'Chad',
'TF' => 'French Southern Territories',
'TG' => 'Togo',
'TH' => 'Thailand',
'TJ' => 'Tajikistan',
'TK' => 'Tokelau',
'TL' => 'Timor-Leste',
'TM' => 'Turkmenistan',
'TN' => 'Tunisia',
'TO' => 'Tonga',
'TR' => 'Turkey',
'TT' => 'Trinidad and Tobago',
'TV' => 'Tuvalu',
'TW' => 'Taiwan',
'TZ' => 'Tanzania',
'UA' => 'Ukraine',
'UG' => 'Uganda',
'UM' => 'United States Minor Outlying Islands',
'US' => 'United States',
'USAF' => 'US Armed Forces',
'UY' => 'Uruguay',
'UZ' => 'Uzbekistan',
'VA' => 'Vatican',
'VC' => 'Saint Vincent and the Grenadines',
'VE' => 'Venezuela',
'VG' => 'British Virgin Islands',
'VI' => 'U.S. Virgin Islands',
'VN' => 'Vietnam',
'VU' => 'Vanuatu',
'WF' => 'Wallis and Futuna',
'WS' => 'Samoa',
'YE' => 'Yemen',
'YT' => 'Mayotte',
'ZA' => 'South Africa',
'ZM' => 'Zambia',
'ZW' => 'Zimbabwe'
);
var $countries;
var $states;
var $states = array(
'AU' => array(
'ACT' => 'Australian Capital Territory' ,
'NSW' => 'New South Wales' ,
'NT' => 'Northern Territory' ,
'QLD' => 'Queensland' ,
'SA' => 'South Australia' ,
'TAS' => 'Tasmania' ,
'VIC' => 'Victoria' ,
'WA' => 'Western Australia'
),
'BR' => array(
'AM' => 'Amazonas',
'AC' => 'Acre',
'AL' => 'Alagoas',
'AP' => 'Amapá',
'CE' => 'Ceará',
'DF' => 'Distrito federal',
'ES' => 'Espirito santo',
'MA' => 'Maranhão',
'PR' => 'Paraná',
'PE' => 'Pernambuco',
'PI' => 'Piauí',
'RN' => 'Rio grande do norte',
'RS' => 'Rio grande do sul',
'RO' => 'Rondônia',
'RR' => 'Roraima',
'SC' => 'Santa catarina',
'SE' => 'Sergipe',
'TO' => 'Tocantins',
'PA' => 'Pará',
'BH' => 'Bahia',
'GO' => 'Goiás',
'MT' => 'Mato grosso',
'MS' => 'Mato grosso do sul',
'RJ' => 'Rio de janeiro',
'SP' => 'São paulo',
'RS' => 'Rio grande do sul',
'MG' => 'Minas gerais',
'PB' => 'Paraiba',
),
'CA' => array(
'AB' => 'Alberta' ,
'BC' => 'British Columbia' ,
'MB' => 'Manitoba' ,
'NB' => 'New Brunswick' ,
'NF' => 'Newfoundland' ,
'NT' => 'Northwest Territories' ,
'NS' => 'Nova Scotia' ,
'NU' => 'Nunavut' ,
'ON' => 'Ontario' ,
'PE' => 'Prince Edward Island' ,
'PQ' => 'Quebec' ,
'SK' => 'Saskatchewan' ,
'YT' => 'Yukon Territory'
),
/*'GB' => array(
'England' => array(
'Avon' => 'Avon',
'Bedfordshire' => 'Bedfordshire',
'Berkshire' => 'Berkshire',
'Bristol' => 'Bristol',
'Buckinghamshire' => 'Buckinghamshire',
'Cambridgeshire' => 'Cambridgeshire',
'Cheshire' => 'Cheshire',
'Cleveland' => 'Cleveland',
'Cornwall' => 'Cornwall',
'Cumbria' => 'Cumbria',
'Derbyshire' => 'Derbyshire',
'Devon' => 'Devon',
'Dorset' => 'Dorset',
'Durham' => 'Durham',
'East Riding of Yorkshire' => 'East Riding of Yorkshire',
'East Sussex' => 'East Sussex',
'Essex' => 'Essex',
'Gloucestershire' => 'Gloucestershire',
'Greater Manchester' => 'Greater Manchester',
'Hampshire' => 'Hampshire',
'Herefordshire' => 'Herefordshire',
'Hertfordshire' => 'Hertfordshire',
'Humberside' => 'Humberside',
'Isle of Wight' => 'Isle of Wight',
'Isles of Scilly' => 'Isles of Scilly',
'Kent' => 'Kent',
'Lancashire' => 'Lancashire',
'Leicestershire' => 'Leicestershire',
'Lincolnshire' => 'Lincolnshire',
'London' => 'London',
'Merseyside' => 'Merseyside',
'Middlesex' => 'Middlesex',
'Norfolk' => 'Norfolk',
'North Yorkshire' => 'North Yorkshire',
'Northamptonshire' => 'Northamptonshire',
'Northumberland' => 'Northumberland',
'Nottinghamshire' => 'Nottinghamshire',
'Oxfordshire' => 'Oxfordshire',
'Rutland' => 'Rutland',
'Shropshire' => 'Shropshire',
'Somerset' => 'Somerset',
'South Yorkshire' => 'South Yorkshire',
'Staffordshire' => 'Staffordshire',
'Suffolk' => 'Suffolk',
'Surrey' => 'Surrey',
'Tyne and Wear' => 'Tyne and Wear',
'Warwickshire' => 'Warwickshire',
'West Midlands' => 'West Midlands',
'West Sussex' => 'West Sussex',
'West Yorkshire' => 'West Yorkshire',
'Wiltshire' => 'Wiltshire',
'Worcestershire' => 'Worcestershire'
/**
* Constructor
*/
function __construct() {
$this->countries = array(
'AD' => __('Andorra', 'woothemes'),
'AE' => __('United Arab Emirates', 'woothemes'),
'AF' => __('Afghanistan', 'woothemes'),
'AG' => __('Antigua and Barbuda', 'woothemes'),
'AI' => __('Anguilla', 'woothemes'),
'AL' => __('Albania', 'woothemes'),
'AM' => __('Armenia', 'woothemes'),
'AN' => __('Netherlands Antilles', 'woothemes'),
'AO' => __('Angola', 'woothemes'),
'AQ' => __('Antarctica', 'woothemes'),
'AR' => __('Argentina', 'woothemes'),
'AS' => __('American Samoa', 'woothemes'),
'AT' => __('Austria', 'woothemes'),
'AU' => __('Australia', 'woothemes'),
'AW' => __('Aruba', 'woothemes'),
'AX' => __('Aland Islands', 'woothemes'),
'AZ' => __('Azerbaijan', 'woothemes'),
'BA' => __('Bosnia and Herzegovina', 'woothemes'),
'BB' => __('Barbados', 'woothemes'),
'BD' => __('Bangladesh', 'woothemes'),
'BE' => __('Belgium', 'woothemes'),
'BF' => __('Burkina Faso', 'woothemes'),
'BG' => __('Bulgaria', 'woothemes'),
'BH' => __('Bahrain', 'woothemes'),
'BI' => __('Burundi', 'woothemes'),
'BJ' => __('Benin', 'woothemes'),
'BL' => __('Saint Barthélemy', 'woothemes'),
'BM' => __('Bermuda', 'woothemes'),
'BN' => __('Brunei', 'woothemes'),
'BO' => __('Bolivia', 'woothemes'),
'BR' => __('Brazil', 'woothemes'),
'BS' => __('Bahamas', 'woothemes'),
'BT' => __('Bhutan', 'woothemes'),
'BV' => __('Bouvet Island', 'woothemes'),
'BW' => __('Botswana', 'woothemes'),
'BY' => __('Belarus', 'woothemes'),
'BZ' => __('Belize', 'woothemes'),
'CA' => __('Canada', 'woothemes'),
'CC' => __('Cocos (Keeling) Islands', 'woothemes'),
'CD' => __('Congo (Kinshasa)', 'woothemes'),
'CF' => __('Central African Republic', 'woothemes'),
'CG' => __('Congo (Brazzaville)', 'woothemes'),
'CH' => __('Switzerland', 'woothemes'),
'CI' => __('Ivory Coast', 'woothemes'),
'CK' => __('Cook Islands', 'woothemes'),
'CL' => __('Chile', 'woothemes'),
'CM' => __('Cameroon', 'woothemes'),
'CN' => __('China', 'woothemes'),
'CO' => __('Colombia', 'woothemes'),
'CR' => __('Costa Rica', 'woothemes'),
'CU' => __('Cuba', 'woothemes'),
'CV' => __('Cape Verde', 'woothemes'),
'CX' => __('Christmas Island', 'woothemes'),
'CY' => __('Cyprus', 'woothemes'),
'CZ' => __('Czech Republic', 'woothemes'),
'DE' => __('Germany', 'woothemes'),
'DJ' => __('Djibouti', 'woothemes'),
'DK' => __('Denmark', 'woothemes'),
'DM' => __('Dominica', 'woothemes'),
'DO' => __('Dominican Republic', 'woothemes'),
'DZ' => __('Algeria', 'woothemes'),
'EC' => __('Ecuador', 'woothemes'),
'EE' => __('Estonia', 'woothemes'),
'EG' => __('Egypt', 'woothemes'),
'EH' => __('Western Sahara', 'woothemes'),
'ER' => __('Eritrea', 'woothemes'),
'ES' => __('Spain', 'woothemes'),
'ET' => __('Ethiopia', 'woothemes'),
'FI' => __('Finland', 'woothemes'),
'FJ' => __('Fiji', 'woothemes'),
'FK' => __('Falkland Islands', 'woothemes'),
'FM' => __('Micronesia', 'woothemes'),
'FO' => __('Faroe Islands', 'woothemes'),
'FR' => __('France', 'woothemes'),
'GA' => __('Gabon', 'woothemes'),
'GB' => __('United Kingdom', 'woothemes'),
'GD' => __('Grenada', 'woothemes'),
'GE' => __('Georgia', 'woothemes'),
'GF' => __('French Guiana', 'woothemes'),
'GG' => __('Guernsey', 'woothemes'),
'GH' => __('Ghana', 'woothemes'),
'GI' => __('Gibraltar', 'woothemes'),
'GL' => __('Greenland', 'woothemes'),
'GM' => __('Gambia', 'woothemes'),
'GN' => __('Guinea', 'woothemes'),
'GP' => __('Guadeloupe', 'woothemes'),
'GQ' => __('Equatorial Guinea', 'woothemes'),
'GR' => __('Greece', 'woothemes'),
'GS' => __('South Georgia and the South Sandwich Islands', 'woothemes'),
'GT' => __('Guatemala', 'woothemes'),
'GU' => __('Guam', 'woothemes'),
'GW' => __('Guinea-Bissau', 'woothemes'),
'GY' => __('Guyana', 'woothemes'),
'HK' => __('Hong Kong S.A.R., China', 'woothemes'),
'HM' => __('Heard Island and McDonald Islands', 'woothemes'),
'HN' => __('Honduras', 'woothemes'),
'HR' => __('Croatia', 'woothemes'),
'HT' => __('Haiti', 'woothemes'),
'HU' => __('Hungary', 'woothemes'),
'ID' => __('Indonesia', 'woothemes'),
'IE' => __('Ireland', 'woothemes'),
'IL' => __('Israel', 'woothemes'),
'IM' => __('Isle of Man', 'woothemes'),
'IN' => __('India', 'woothemes'),
'IO' => __('British Indian Ocean Territory', 'woothemes'),
'IQ' => __('Iraq', 'woothemes'),
'IR' => __('Iran', 'woothemes'),
'IS' => __('Iceland', 'woothemes'),
'IT' => __('Italy', 'woothemes'),
'JE' => __('Jersey', 'woothemes'),
'JM' => __('Jamaica', 'woothemes'),
'JO' => __('Jordan', 'woothemes'),
'JP' => __('Japan', 'woothemes'),
'KE' => __('Kenya', 'woothemes'),
'KG' => __('Kyrgyzstan', 'woothemes'),
'KH' => __('Cambodia', 'woothemes'),
'KI' => __('Kiribati', 'woothemes'),
'KM' => __('Comoros', 'woothemes'),
'KN' => __('Saint Kitts and Nevis', 'woothemes'),
'KP' => __('North Korea', 'woothemes'),
'KR' => __('South Korea', 'woothemes'),
'KW' => __('Kuwait', 'woothemes'),
'KY' => __('Cayman Islands', 'woothemes'),
'KZ' => __('Kazakhstan', 'woothemes'),
'LA' => __('Laos', 'woothemes'),
'LB' => __('Lebanon', 'woothemes'),
'LC' => __('Saint Lucia', 'woothemes'),
'LI' => __('Liechtenstein', 'woothemes'),
'LK' => __('Sri Lanka', 'woothemes'),
'LR' => __('Liberia', 'woothemes'),
'LS' => __('Lesotho', 'woothemes'),
'LT' => __('Lithuania', 'woothemes'),
'LU' => __('Luxembourg', 'woothemes'),
'LV' => __('Latvia', 'woothemes'),
'LY' => __('Libya', 'woothemes'),
'MA' => __('Morocco', 'woothemes'),
'MC' => __('Monaco', 'woothemes'),
'MD' => __('Moldova', 'woothemes'),
'ME' => __('Montenegro', 'woothemes'),
'MF' => __('Saint Martin (French part)', 'woothemes'),
'MG' => __('Madagascar', 'woothemes'),
'MH' => __('Marshall Islands', 'woothemes'),
'MK' => __('Macedonia', 'woothemes'),
'ML' => __('Mali', 'woothemes'),
'MM' => __('Myanmar', 'woothemes'),
'MN' => __('Mongolia', 'woothemes'),
'MO' => __('Macao S.A.R., China', 'woothemes'),
'MP' => __('Northern Mariana Islands', 'woothemes'),
'MQ' => __('Martinique', 'woothemes'),
'MR' => __('Mauritania', 'woothemes'),
'MS' => __('Montserrat', 'woothemes'),
'MT' => __('Malta', 'woothemes'),
'MU' => __('Mauritius', 'woothemes'),
'MV' => __('Maldives', 'woothemes'),
'MW' => __('Malawi', 'woothemes'),
'MX' => __('Mexico', 'woothemes'),
'MY' => __('Malaysia', 'woothemes'),
'MZ' => __('Mozambique', 'woothemes'),
'NA' => __('Namibia', 'woothemes'),
'NC' => __('New Caledonia', 'woothemes'),
'NE' => __('Niger', 'woothemes'),
'NF' => __('Norfolk Island', 'woothemes'),
'NG' => __('Nigeria', 'woothemes'),
'NI' => __('Nicaragua', 'woothemes'),
'NL' => __('Netherlands', 'woothemes'),
'NO' => __('Norway', 'woothemes'),
'NP' => __('Nepal', 'woothemes'),
'NR' => __('Nauru', 'woothemes'),
'NU' => __('Niue', 'woothemes'),
'NZ' => __('New Zealand', 'woothemes'),
'OM' => __('Oman', 'woothemes'),
'PA' => __('Panama', 'woothemes'),
'PE' => __('Peru', 'woothemes'),
'PF' => __('French Polynesia', 'woothemes'),
'PG' => __('Papua New Guinea', 'woothemes'),
'PH' => __('Philippines', 'woothemes'),
'PK' => __('Pakistan', 'woothemes'),
'PL' => __('Poland', 'woothemes'),
'PM' => __('Saint Pierre and Miquelon', 'woothemes'),
'PN' => __('Pitcairn', 'woothemes'),
'PR' => __('Puerto Rico', 'woothemes'),
'PS' => __('Palestinian Territory', 'woothemes'),
'PT' => __('Portugal', 'woothemes'),
'PW' => __('Palau', 'woothemes'),
'PY' => __('Paraguay', 'woothemes'),
'QA' => __('Qatar', 'woothemes'),
'RE' => __('Reunion', 'woothemes'),
'RO' => __('Romania', 'woothemes'),
'RS' => __('Serbia', 'woothemes'),
'RU' => __('Russia', 'woothemes'),
'RW' => __('Rwanda', 'woothemes'),
'SA' => __('Saudi Arabia', 'woothemes'),
'SB' => __('Solomon Islands', 'woothemes'),
'SC' => __('Seychelles', 'woothemes'),
'SD' => __('Sudan', 'woothemes'),
'SE' => __('Sweden', 'woothemes'),
'SG' => __('Singapore', 'woothemes'),
'SH' => __('Saint Helena', 'woothemes'),
'SI' => __('Slovenia', 'woothemes'),
'SJ' => __('Svalbard and Jan Mayen', 'woothemes'),
'SK' => __('Slovakia', 'woothemes'),
'SL' => __('Sierra Leone', 'woothemes'),
'SM' => __('San Marino', 'woothemes'),
'SN' => __('Senegal', 'woothemes'),
'SO' => __('Somalia', 'woothemes'),
'SR' => __('Suriname', 'woothemes'),
'ST' => __('Sao Tome and Principe', 'woothemes'),
'SV' => __('El Salvador', 'woothemes'),
'SY' => __('Syria', 'woothemes'),
'SZ' => __('Swaziland', 'woothemes'),
'TC' => __('Turks and Caicos Islands', 'woothemes'),
'TD' => __('Chad', 'woothemes'),
'TF' => __('French Southern Territories', 'woothemes'),
'TG' => __('Togo', 'woothemes'),
'TH' => __('Thailand', 'woothemes'),
'TJ' => __('Tajikistan', 'woothemes'),
'TK' => __('Tokelau', 'woothemes'),
'TL' => __('Timor-Leste', 'woothemes'),
'TM' => __('Turkmenistan', 'woothemes'),
'TN' => __('Tunisia', 'woothemes'),
'TO' => __('Tonga', 'woothemes'),
'TR' => __('Turkey', 'woothemes'),
'TT' => __('Trinidad and Tobago', 'woothemes'),
'TV' => __('Tuvalu', 'woothemes'),
'TW' => __('Taiwan', 'woothemes'),
'TZ' => __('Tanzania', 'woothemes'),
'UA' => __('Ukraine', 'woothemes'),
'UG' => __('Uganda', 'woothemes'),
'UM' => __('United States Minor Outlying Islands', 'woothemes'),
'US' => __('United States', 'woothemes'),
'USAF' => __('US Armed Forces', 'woothemes'),
'UY' => __('Uruguay', 'woothemes'),
'UZ' => __('Uzbekistan', 'woothemes'),
'VA' => __('Vatican', 'woothemes'),
'VC' => __('Saint Vincent and the Grenadines', 'woothemes'),
'VE' => __('Venezuela', 'woothemes'),
'VG' => __('British Virgin Islands', 'woothemes'),
'VI' => __('U.S. Virgin Islands', 'woothemes'),
'VN' => __('Vietnam', 'woothemes'),
'VU' => __('Vanuatu', 'woothemes'),
'WF' => __('Wallis and Futuna', 'woothemes'),
'WS' => __('Samoa', 'woothemes'),
'YE' => __('Yemen', 'woothemes'),
'YT' => __('Mayotte', 'woothemes'),
'ZA' => __('South Africa', 'woothemes'),
'ZM' => __('Zambia', 'woothemes'),
'ZW' => __('Zimbabwe', 'woothemes')
);
$this->states = array(
'AU' => array(
'ACT' => __('Australian Capital Territory', 'woothemes') ,
'NSW' => __('New South Wales', 'woothemes') ,
'NT' => __('Northern Territory', 'woothemes') ,
'QLD' => __('Queensland', 'woothemes') ,
'SA' => __('South Australia', 'woothemes') ,
'TAS' => __('Tasmania', 'woothemes') ,
'VIC' => __('Victoria', 'woothemes') ,
'WA' => __('Western Australia', 'woothemes')
),
'Northern Ireland' => array(
'Antrim' => 'Antrim',
'Armagh' => 'Armagh',
'Down' => 'Down',
'Fermanagh' => 'Fermanagh',
'Londonderry' => 'Londonderry',
'Tyrone' => 'Tyrone'
'BR' => array(
'AM' => __('Amazonas', 'woothemes'),
'AC' => __('Acre', 'woothemes'),
'AL' => __('Alagoas', 'woothemes'),
'AP' => __('Amapá', 'woothemes'),
'CE' => __('Ceará', 'woothemes'),
'DF' => __('Distrito federal', 'woothemes'),
'ES' => __('Espirito santo', 'woothemes'),
'MA' => __('Maranhão', 'woothemes'),
'PR' => __('Paraná', 'woothemes'),
'PE' => __('Pernambuco', 'woothemes'),
'PI' => __('Piauí', 'woothemes'),
'RN' => __('Rio grande do norte', 'woothemes'),
'RS' => __('Rio grande do sul', 'woothemes'),
'RO' => __('Rondônia', 'woothemes'),
'RR' => __('Roraima', 'woothemes'),
'SC' => __('Santa catarina', 'woothemes'),
'SE' => __('Sergipe', 'woothemes'),
'TO' => __('Tocantins', 'woothemes'),
'PA' => __('Pará', 'woothemes'),
'BH' => __('Bahia', 'woothemes'),
'GO' => __('Goiás', 'woothemes'),
'MT' => __('Mato grosso', 'woothemes'),
'MS' => __('Mato grosso do sul', 'woothemes'),
'RJ' => __('Rio de janeiro', 'woothemes'),
'SP' => __('São paulo', 'woothemes'),
'RS' => __('Rio grande do sul', 'woothemes'),
'MG' => __('Minas gerais', 'woothemes'),
'PB' => __('Paraiba', 'woothemes'),
),
'Scotland' => array(
'Aberdeen City' => 'Aberdeen City',
'Aberdeenshire' => 'Aberdeenshire',
'Angus' => 'Angus',
'Argyll and Bute' => 'Argyll and Bute',
'Borders' => 'Borders',
'Clackmannan' => 'Clackmannan',
'Dumfries and Galloway' => 'Dumfries and Galloway',
'East Ayrshire' => 'East Ayrshire',
'East Dunbartonshire' => 'East Dunbartonshire',
'East Lothian' => 'East Lothian',
'East Renfrewshire' => 'East Renfrewshire',
'Edinburgh City' => 'Edinburgh City',
'Falkirk' => 'Falkirk',
'Fife' => 'Fife',
'Glasgow' => 'Glasgow',
'Highland' => 'Highland',
'Inverclyde' => 'Inverclyde',
'Midlothian' => 'Midlothian',
'Moray' => 'Moray',
'North Ayrshire' => 'North Ayrshire',
'North Lanarkshire' => 'North Lanarkshire',
'Orkney' => 'Orkney',
'Perthshire and Kinross' => 'Perthshire and Kinross',
'Renfrewshire' => 'Renfrewshire',
'Roxburghshire' => 'Roxburghshire',
'Shetland' => 'Shetland',
'South Ayrshire' => 'South Ayrshire',
'South Lanarkshire' => 'South Lanarkshire',
'Stirling' => 'Stirling',
'West Dunbartonshire' => 'West Dunbartonshire',
'West Lothian' => 'West Lothian',
'Western Isles' => 'Western Isles',
'CA' => array(
'AB' => __('Alberta', 'woothemes') ,
'BC' => __('British Columbia', 'woothemes') ,
'MB' => __('Manitoba', 'woothemes') ,
'NB' => __('New Brunswick', 'woothemes') ,
'NF' => __('Newfoundland', 'woothemes') ,
'NT' => __('Northwest Territories', 'woothemes') ,
'NS' => __('Nova Scotia', 'woothemes') ,
'NU' => __('Nunavut', 'woothemes') ,
'ON' => __('Ontario', 'woothemes') ,
'PE' => __('Prince Edward Island', 'woothemes') ,
'PQ' => __('Quebec', 'woothemes') ,
'SK' => __('Saskatchewan', 'woothemes') ,
'YT' => __('Yukon Territory', 'woothemes')
),
'Wales' => array(
'Blaenau Gwent' => 'Blaenau Gwent',
'Bridgend' => 'Bridgend',
'Caerphilly' => 'Caerphilly',
'Cardiff' => 'Cardiff',
'Carmarthenshire' => 'Carmarthenshire',
'Ceredigion' => 'Ceredigion',
'Conwy' => 'Conwy',
'Denbighshire' => 'Denbighshire',
'Flintshire' => 'Flintshire',
'Gwynedd' => 'Gwynedd',
'Isle of Anglesey' => 'Isle of Anglesey',
'Merthyr Tydfil' => 'Merthyr Tydfil',
'Monmouthshire' => 'Monmouthshire',
'Neath Port Talbot' => 'Neath Port Talbot',
'Newport' => 'Newport',
'Pembrokeshire' => 'Pembrokeshire',
'Powys' => 'Powys',
'Rhondda Cynon Taff' => 'Rhondda Cynon Taff',
'Swansea' => 'Swansea',
'Torfaen' => 'Torfaen',
'The Vale of Glamorgan' => 'The Vale of Glamorgan',
'Wrexham' => 'Wrexham'
/*'GB' => array(
'England' => array(
'Avon' => __('Avon', 'woothemes'),
'Bedfordshire' => __('Bedfordshire', 'woothemes'),
'Berkshire' => __('Berkshire', 'woothemes'),
'Bristol' => __('Bristol', 'woothemes'),
'Buckinghamshire' => __('Buckinghamshire', 'woothemes'),
'Cambridgeshire' => __('Cambridgeshire', 'woothemes'),
'Cheshire' => __('Cheshire', 'woothemes'),
'Cleveland' => __('Cleveland', 'woothemes'),
'Cornwall' => __('Cornwall', 'woothemes'),
'Cumbria' => __('Cumbria', 'woothemes'),
'Derbyshire' => __('Derbyshire', 'woothemes'),
'Devon' => __('Devon', 'woothemes'),
'Dorset' => __('Dorset', 'woothemes'),
'Durham' => __('Durham', 'woothemes'),
'East Riding of Yorkshire' => __('East Riding of Yorkshire', 'woothemes'),
'East Sussex' => __('East Sussex', 'woothemes'),
'Essex' => __('Essex', 'woothemes'),
'Gloucestershire' => __('Gloucestershire', 'woothemes'),
'Greater Manchester' => __('Greater Manchester', 'woothemes'),
'Hampshire' => __('Hampshire', 'woothemes'),
'Herefordshire' => __('Herefordshire', 'woothemes'),
'Hertfordshire' => __('Hertfordshire', 'woothemes'),
'Humberside' => __('Humberside', 'woothemes'),
'Isle of Wight' => __('Isle of Wight', 'woothemes'),
'Isles of Scilly' => __('Isles of Scilly', 'woothemes'),
'Kent' => __('Kent', 'woothemes'),
'Lancashire' => __('Lancashire', 'woothemes'),
'Leicestershire' => __('Leicestershire', 'woothemes'),
'Lincolnshire' => __('Lincolnshire', 'woothemes'),
'London' => __('London', 'woothemes'),
'Merseyside' => __('Merseyside', 'woothemes'),
'Middlesex' => __('Middlesex', 'woothemes'),
'Norfolk' => __('Norfolk', 'woothemes'),
'North Yorkshire' => __('North Yorkshire', 'woothemes'),
'Northamptonshire' => __('Northamptonshire', 'woothemes'),
'Northumberland' => __('Northumberland', 'woothemes'),
'Nottinghamshire' => __('Nottinghamshire', 'woothemes'),
'Oxfordshire' => __('Oxfordshire', 'woothemes'),
'Rutland' => __('Rutland', 'woothemes'),
'Shropshire' => __('Shropshire', 'woothemes'),
'Somerset' => __('Somerset', 'woothemes'),
'South Yorkshire' => __('South Yorkshire', 'woothemes'),
'Staffordshire' => __('Staffordshire', 'woothemes'),
'Suffolk' => __('Suffolk', 'woothemes'),
'Surrey' => __('Surrey', 'woothemes'),
'Tyne and Wear' => __('Tyne and Wear', 'woothemes'),
'Warwickshire' => __('Warwickshire', 'woothemes'),
'West Midlands' => __('West Midlands', 'woothemes'),
'West Sussex' => __('West Sussex', 'woothemes'),
'West Yorkshire' => __('West Yorkshire', 'woothemes'),
'Wiltshire' => __('Wiltshire', 'woothemes'),
'Worcestershire' => __('Worcestershire', 'woothemes')
),
'Northern Ireland' => array(
'Antrim' => __('Antrim', 'woothemes'),
'Armagh' => __('Armagh', 'woothemes'),
'Down' => __('Down', 'woothemes'),
'Fermanagh' => __('Fermanagh', 'woothemes'),
'Londonderry' => __('Londonderry', 'woothemes'),
'Tyrone' => __('Tyrone', 'woothemes')
),
'Scotland' => array(
'Aberdeen City' => __('Aberdeen City', 'woothemes'),
'Aberdeenshire' => __('Aberdeenshire', 'woothemes'),
'Angus' => __('Angus', 'woothemes'),
'Argyll and Bute' => __('Argyll and Bute', 'woothemes'),
'Borders' => __('Borders', 'woothemes'),
'Clackmannan' => __('Clackmannan', 'woothemes'),
'Dumfries and Galloway' => __('Dumfries and Galloway', 'woothemes'),
'East Ayrshire' => __('East Ayrshire', 'woothemes'),
'East Dunbartonshire' => __('East Dunbartonshire', 'woothemes'),
'East Lothian' => __('East Lothian', 'woothemes'),
'East Renfrewshire' => __('East Renfrewshire', 'woothemes'),
'Edinburgh City' => __('Edinburgh City', 'woothemes'),
'Falkirk' => __('Falkirk', 'woothemes'),
'Fife' => __('Fife', 'woothemes'),
'Glasgow' => __('Glasgow', 'woothemes'),
'Highland' => __('Highland', 'woothemes'),
'Inverclyde' => __('Inverclyde', 'woothemes'),
'Midlothian' => __('Midlothian', 'woothemes'),
'Moray' => __('Moray', 'woothemes'),
'North Ayrshire' => __('North Ayrshire', 'woothemes'),
'North Lanarkshire' => __('North Lanarkshire', 'woothemes'),
'Orkney' => __('Orkney', 'woothemes'),
'Perthshire and Kinross' => __('Perthshire and Kinross', 'woothemes'),
'Renfrewshire' => __('Renfrewshire', 'woothemes'),
'Roxburghshire' => __('Roxburghshire', 'woothemes'),
'Shetland' => __('Shetland', 'woothemes'),
'South Ayrshire' => __('South Ayrshire', 'woothemes'),
'South Lanarkshire' => __('South Lanarkshire', 'woothemes'),
'Stirling' => __('Stirling', 'woothemes'),
'West Dunbartonshire' => __('West Dunbartonshire', 'woothemes'),
'West Lothian' => __('West Lothian', 'woothemes'),
'Western Isles' => __('Western Isles', 'woothemes'),
),
'Wales' => array(
'Blaenau Gwent' => __('Blaenau Gwent', 'woothemes'),
'Bridgend' => __('Bridgend', 'woothemes'),
'Caerphilly' => __('Caerphilly', 'woothemes'),
'Cardiff' => __('Cardiff', 'woothemes'),
'Carmarthenshire' => __('Carmarthenshire', 'woothemes'),
'Ceredigion' => __('Ceredigion', 'woothemes'),
'Conwy' => __('Conwy', 'woothemes'),
'Denbighshire' => __('Denbighshire', 'woothemes'),
'Flintshire' => __('Flintshire', 'woothemes'),
'Gwynedd' => __('Gwynedd', 'woothemes'),
'Isle of Anglesey' => __('Isle of Anglesey', 'woothemes'),
'Merthyr Tydfil' => __('Merthyr Tydfil', 'woothemes'),
'Monmouthshire' => __('Monmouthshire', 'woothemes'),
'Neath Port Talbot' => __('Neath Port Talbot', 'woothemes'),
'Newport' => __('Newport', 'woothemes'),
'Pembrokeshire' => __('Pembrokeshire', 'woothemes'),
'Powys' => __('Powys', 'woothemes'),
'Rhondda Cynon Taff' => __('Rhondda Cynon Taff', 'woothemes'),
'Swansea' => __('Swansea', 'woothemes'),
'Torfaen' => __('Torfaen', 'woothemes'),
'The Vale of Glamorgan' => __('The Vale of Glamorgan', 'woothemes'),
'Wrexham' => __('Wrexham', 'woothemes')
)
),*/
'US' => array(
'AL' => __('Alabama', 'woothemes') ,
'AK' => __('Alaska', 'woothemes') ,
'AZ' => __('Arizona', 'woothemes') ,
'AR' => __('Arkansas', 'woothemes') ,
'CA' => __('California', 'woothemes') ,
'CO' => __('Colorado', 'woothemes') ,
'CT' => __('Connecticut', 'woothemes') ,
'DE' => __('Delaware', 'woothemes') ,
'DC' => __('District Of Columbia', 'woothemes') ,
'FL' => __('Florida', 'woothemes') ,
'GA' => __('Georgia', 'woothemes') ,
'HI' => __('Hawaii', 'woothemes') ,
'ID' => __('Idaho', 'woothemes') ,
'IL' => __('Illinois', 'woothemes') ,
'IN' => __('Indiana', 'woothemes') ,
'IA' => __('Iowa', 'woothemes') ,
'KS' => __('Kansas', 'woothemes') ,
'KY' => __('Kentucky', 'woothemes') ,
'LA' => __('Louisiana', 'woothemes') ,
'ME' => __('Maine', 'woothemes') ,
'MD' => __('Maryland', 'woothemes') ,
'MA' => __('Massachusetts', 'woothemes') ,
'MI' => __('Michigan', 'woothemes') ,
'MN' => __('Minnesota', 'woothemes') ,
'MS' => __('Mississippi', 'woothemes') ,
'MO' => __('Missouri', 'woothemes') ,
'MT' => __('Montana', 'woothemes') ,
'NE' => __('Nebraska', 'woothemes') ,
'NV' => __('Nevada', 'woothemes') ,
'NH' => __('New Hampshire', 'woothemes') ,
'NJ' => __('New Jersey', 'woothemes') ,
'NM' => __('New Mexico', 'woothemes') ,
'NY' => __('New York', 'woothemes') ,
'NC' => __('North Carolina', 'woothemes') ,
'ND' => __('North Dakota', 'woothemes') ,
'OH' => __('Ohio', 'woothemes') ,
'OK' => __('Oklahoma', 'woothemes') ,
'OR' => __('Oregon', 'woothemes') ,
'PA' => __('Pennsylvania', 'woothemes') ,
'RI' => __('Rhode Island', 'woothemes') ,
'SC' => __('South Carolina', 'woothemes') ,
'SD' => __('South Dakota', 'woothemes') ,
'TN' => __('Tennessee', 'woothemes') ,
'TX' => __('Texas', 'woothemes') ,
'UT' => __('Utah', 'woothemes') ,
'VT' => __('Vermont', 'woothemes') ,
'VA' => __('Virginia', 'woothemes') ,
'WA' => __('Washington', 'woothemes') ,
'WV' => __('West Virginia', 'woothemes') ,
'WI' => __('Wisconsin', 'woothemes') ,
'WY' => __('Wyoming', 'woothemes')
),
'USAF' => array(
'AA' => __('Americas', 'woothemes') ,
'AE' => __('Europe', 'woothemes') ,
'AP' => __('Pacific', 'woothemes')
)
),*/
'US' => array(
'AL' => 'Alabama' ,
'AK' => 'Alaska' ,
'AZ' => 'Arizona' ,
'AR' => 'Arkansas' ,
'CA' => 'California' ,
'CO' => 'Colorado' ,
'CT' => 'Connecticut' ,
'DE' => 'Delaware' ,
'DC' => 'District Of Columbia' ,
'FL' => 'Florida' ,
'GA' => 'Georgia' ,
'HI' => 'Hawaii' ,
'ID' => 'Idaho' ,
'IL' => 'Illinois' ,
'IN' => 'Indiana' ,
'IA' => 'Iowa' ,
'KS' => 'Kansas' ,
'KY' => 'Kentucky' ,
'LA' => 'Louisiana' ,
'ME' => 'Maine' ,
'MD' => 'Maryland' ,
'MA' => 'Massachusetts' ,
'MI' => 'Michigan' ,
'MN' => 'Minnesota' ,
'MS' => 'Mississippi' ,
'MO' => 'Missouri' ,
'MT' => 'Montana' ,
'NE' => 'Nebraska' ,
'NV' => 'Nevada' ,
'NH' => 'New Hampshire' ,
'NJ' => 'New Jersey' ,
'NM' => 'New Mexico' ,
'NY' => 'New York' ,
'NC' => 'North Carolina' ,
'ND' => 'North Dakota' ,
'OH' => 'Ohio' ,
'OK' => 'Oklahoma' ,
'OR' => 'Oregon' ,
'PA' => 'Pennsylvania' ,
'RI' => 'Rhode Island' ,
'SC' => 'South Carolina' ,
'SD' => 'South Dakota' ,
'TN' => 'Tennessee' ,
'TX' => 'Texas' ,
'UT' => 'Utah' ,
'VT' => 'Vermont' ,
'VA' => 'Virginia' ,
'WA' => 'Washington' ,
'WV' => 'West Virginia' ,
'WI' => 'Wisconsin' ,
'WY' => 'Wyoming'
),
'USAF' => array(
'AA' => 'Americas' ,
'AE' => 'Europe' ,
'AP' => 'Pacific'
)
);
);
}
/** get base country */
function get_base_country() {

View File

@ -224,10 +224,12 @@ class woocommerce_product {
/**
* Checks the product type
*
* Backwards compat with downloadable/virtual
*/
function is_type( $type ) {
if (is_array($type) && in_array($this->product_type, $type)) return true;
elseif ($this->product_type==$type) return true;
if ($this->product_type==$type) return true;
return false;
}

View File

@ -1,338 +0,0 @@
<?php
/**
* Country/state translations.
*
* Allows translation of country/state names. Not included anywhere.
*
* @package WooCommerce
* @category Language
* @author WooThemes
*/
// Country
__('Andorra', 'woothemes');
__('United Arab Emirates', 'woothemes');
__('Afghanistan', 'woothemes');
__('Antigua and Barbuda', 'woothemes');
__('Anguilla', 'woothemes');
__('Albania', 'woothemes');
__('Armenia', 'woothemes');
__('Netherlands Antilles', 'woothemes');
__('Angola', 'woothemes');
__('Antarctica', 'woothemes');
__('Argentina', 'woothemes');
__('American Samoa', 'woothemes');
__('Austria', 'woothemes');
__('Australia', 'woothemes');
__('Aruba', 'woothemes');
__('Aland Islands', 'woothemes');
__('Azerbaijan', 'woothemes');
__('Bosnia and Herzegovina', 'woothemes');
__('Barbados', 'woothemes');
__('Bangladesh', 'woothemes');
__('Belgium', 'woothemes');
__('Burkina Faso', 'woothemes');
__('Bulgaria', 'woothemes');
__('Bahrain', 'woothemes');
__('Burundi', 'woothemes');
__('Benin', 'woothemes');
__('Saint Barthélemy', 'woothemes');
__('Bermuda', 'woothemes');
__('Brunei', 'woothemes');
__('Bolivia', 'woothemes');
__('Brazil', 'woothemes');
__('Bahamas', 'woothemes');
__('Bhutan', 'woothemes');
__('Bouvet Island', 'woothemes');
__('Botswana', 'woothemes');
__('Belarus', 'woothemes');
__('Belize', 'woothemes');
__('Canada', 'woothemes');
__('Cocos (Keeling) Islands', 'woothemes');
__('Congo (Kinshasa)', 'woothemes');
__('Central African Republic', 'woothemes');
__('Congo (Brazzaville)', 'woothemes');
__('Switzerland', 'woothemes');
__('Ivory Coast', 'woothemes');
__('Cook Islands', 'woothemes');
__('Chile', 'woothemes');
__('Cameroon', 'woothemes');
__('China', 'woothemes');
__('Colombia', 'woothemes');
__('Costa Rica', 'woothemes');
__('Cuba', 'woothemes');
__('Cape Verde', 'woothemes');
__('Christmas Island', 'woothemes');
__('Cyprus', 'woothemes');
__('Czech Republic', 'woothemes');
__('Germany', 'woothemes');
__('Djibouti', 'woothemes');
__('Denmark', 'woothemes');
__('Dominica', 'woothemes');
__('Dominican Republic', 'woothemes');
__('Algeria', 'woothemes');
__('Ecuador', 'woothemes');
__('Estonia', 'woothemes');
__('Egypt', 'woothemes');
__('Western Sahara', 'woothemes');
__('Eritrea', 'woothemes');
__('Spain', 'woothemes');
__('Ethiopia', 'woothemes');
__('Finland', 'woothemes');
__('Fiji', 'woothemes');
__('Falkland Islands', 'woothemes');
__('Micronesia', 'woothemes');
__('Faroe Islands', 'woothemes');
__('France', 'woothemes');
__('Gabon', 'woothemes');
__('United Kingdom', 'woothemes');
__('Grenada', 'woothemes');
__('Georgia', 'woothemes');
__('French Guiana', 'woothemes');
__('Guernsey', 'woothemes');
__('Ghana', 'woothemes');
__('Gibraltar', 'woothemes');
__('Greenland', 'woothemes');
__('Gambia', 'woothemes');
__('Guinea', 'woothemes');
__('Guadeloupe', 'woothemes');
__('Equatorial Guinea', 'woothemes');
__('Greece', 'woothemes');
__('South Georgia and the South Sandwich Islands', 'woothemes');
__('Guatemala', 'woothemes');
__('Guam', 'woothemes');
__('Guinea-Bissau', 'woothemes');
__('Guyana', 'woothemes');
__('Hong Kong S.A.R., China', 'woothemes');
__('Heard Island and McDonald Islands', 'woothemes');
__('Honduras', 'woothemes');
__('Croatia', 'woothemes');
__('Haiti', 'woothemes');
__('Hungary', 'woothemes');
__('Indonesia', 'woothemes');
__('Ireland', 'woothemes');
__('Israel', 'woothemes');
__('Isle of Man', 'woothemes');
__('India', 'woothemes');
__('British Indian Ocean Territory', 'woothemes');
__('Iraq', 'woothemes');
__('Iran', 'woothemes');
__('Iceland', 'woothemes');
__('Italy', 'woothemes');
__('Jersey', 'woothemes');
__('Jamaica', 'woothemes');
__('Jordan', 'woothemes');
__('Japan', 'woothemes');
__('Kenya', 'woothemes');
__('Kyrgyzstan', 'woothemes');
__('Cambodia', 'woothemes');
__('Kiribati', 'woothemes');
__('Comoros', 'woothemes');
__('Saint Kitts and Nevis', 'woothemes');
__('North Korea', 'woothemes');
__('South Korea', 'woothemes');
__('Kuwait', 'woothemes');
__('Cayman Islands', 'woothemes');
__('Kazakhstan', 'woothemes');
__('Laos', 'woothemes');
__('Lebanon', 'woothemes');
__('Saint Lucia', 'woothemes');
__('Liechtenstein', 'woothemes');
__('Sri Lanka', 'woothemes');
__('Liberia', 'woothemes');
__('Lesotho', 'woothemes');
__('Lithuania', 'woothemes');
__('Luxembourg', 'woothemes');
__('Latvia', 'woothemes');
__('Libya', 'woothemes');
__('Morocco', 'woothemes');
__('Monaco', 'woothemes');
__('Moldova', 'woothemes');
__('Montenegro', 'woothemes');
__('Saint Martin (French part)', 'woothemes');
__('Madagascar', 'woothemes');
__('Marshall Islands', 'woothemes');
__('Macedonia', 'woothemes');
__('Mali', 'woothemes');
__('Myanmar', 'woothemes');
__('Mongolia', 'woothemes');
__('Macao S.A.R., China', 'woothemes');
__('Northern Mariana Islands', 'woothemes');
__('Martinique', 'woothemes');
__('Mauritania', 'woothemes');
__('Montserrat', 'woothemes');
__('Malta', 'woothemes');
__('Mauritius', 'woothemes');
__('Maldives', 'woothemes');
__('Malawi', 'woothemes');
__('Mexico', 'woothemes');
__('Malaysia', 'woothemes');
__('Mozambique', 'woothemes');
__('Namibia', 'woothemes');
__('New Caledonia', 'woothemes');
__('Niger', 'woothemes');
__('Norfolk Island', 'woothemes');
__('Nigeria', 'woothemes');
__('Nicaragua', 'woothemes');
__('Netherlands', 'woothemes');
__('Norway', 'woothemes');
__('Nepal', 'woothemes');
__('Nauru', 'woothemes');
__('Niue', 'woothemes');
__('New Zealand', 'woothemes');
__('Oman', 'woothemes');
__('Panama', 'woothemes');
__('Peru', 'woothemes');
__('French Polynesia', 'woothemes');
__('Papua New Guinea', 'woothemes');
__('Philippines', 'woothemes');
__('Pakistan', 'woothemes');
__('Poland', 'woothemes');
__('Saint Pierre and Miquelon', 'woothemes');
__('Pitcairn', 'woothemes');
__('Puerto Rico', 'woothemes');
__('Palestinian Territory', 'woothemes');
__('Portugal', 'woothemes');
__('Palau', 'woothemes');
__('Paraguay', 'woothemes');
__('Qatar', 'woothemes');
__('Reunion', 'woothemes');
__('Romania', 'woothemes');
__('Serbia', 'woothemes');
__('Russia', 'woothemes');
__('Rwanda', 'woothemes');
__('Saudi Arabia', 'woothemes');
__('Solomon Islands', 'woothemes');
__('Seychelles', 'woothemes');
__('Sudan', 'woothemes');
__('Sweden', 'woothemes');
__('Singapore', 'woothemes');
__('Saint Helena', 'woothemes');
__('Slovenia', 'woothemes');
__('Svalbard and Jan Mayen', 'woothemes');
__('Slovakia', 'woothemes');
__('Sierra Leone', 'woothemes');
__('San Marino', 'woothemes');
__('Senegal', 'woothemes');
__('Somalia', 'woothemes');
__('Suriname', 'woothemes');
__('Sao Tome and Principe', 'woothemes');
__('El Salvador', 'woothemes');
__('Syria', 'woothemes');
__('Swaziland', 'woothemes');
__('Turks and Caicos Islands', 'woothemes');
__('Chad', 'woothemes');
__('French Southern Territories', 'woothemes');
__('Togo', 'woothemes');
__('Thailand', 'woothemes');
__('Tajikistan', 'woothemes');
__('Tokelau', 'woothemes');
__('Timor-Leste', 'woothemes');
__('Turkmenistan', 'woothemes');
__('Tunisia', 'woothemes');
__('Tonga', 'woothemes');
__('Turkey', 'woothemes');
__('Trinidad and Tobago', 'woothemes');
__('Tuvalu', 'woothemes');
__('Taiwan', 'woothemes');
__('Tanzania', 'woothemes');
__('Ukraine', 'woothemes');
__('Uganda', 'woothemes');
__('United States Minor Outlying Islands', 'woothemes');
__('United States', 'woothemes');
__('Uruguay', 'woothemes');
__('Uzbekistan', 'woothemes');
__('Vatican', 'woothemes');
__('Saint Vincent and the Grenadines', 'woothemes');
__('Venezuela', 'woothemes');
__('British Virgin Islands', 'woothemes');
__('U.S. Virgin Islands', 'woothemes');
__('Vietnam', 'woothemes');
__('Vanuatu', 'woothemes');
__('Wallis and Futuna', 'woothemes');
__('Samoa', 'woothemes');
__('Yemen', 'woothemes');
__('Mayotte', 'woothemes');
__('South Africa', 'woothemes');
__('Zambia', 'woothemes');
__('Zimbabwe', 'woothemes');
// State
__('Australian Capital Territory', 'woothemes');
__('New South Wales', 'woothemes');
__('Northern Territory', 'woothemes');
__('Queensland', 'woothemes');
__('South Australia', 'woothemes');
__('Tasmania', 'woothemes');
__('Victoria', 'woothemes');
__('Western Australia', 'woothemes');
__('Alberta', 'woothemes');
__('British Columbia', 'woothemes');
__('Manitoba', 'woothemes');
__('New Brunswick', 'woothemes');
__('Newfoundland', 'woothemes');
__('Northwest Territories', 'woothemes');
__('Nova Scotia', 'woothemes');
__('Nunavut', 'woothemes');
__('Ontario', 'woothemes');
__('Prince Edward Island', 'woothemes');
__('Quebec', 'woothemes');
__('Saskatchewan', 'woothemes');
__('Yukon Territory', 'woothemes');
__('Alabama', 'woothemes');
__('Alaska', 'woothemes');
__('Arizona', 'woothemes');
__('Arkansas', 'woothemes');
__('California', 'woothemes');
__('Colorado', 'woothemes');
__('Connecticut', 'woothemes');
__('Delaware', 'woothemes');
__('District Of Columbia', 'woothemes');
__('Florida', 'woothemes');
__('Georgia', 'woothemes');
__('Hawaii', 'woothemes');
__('Idaho', 'woothemes');
__('Illinois', 'woothemes');
__('Indiana', 'woothemes');
__('Iowa', 'woothemes');
__('Kansas', 'woothemes');
__('Kentucky', 'woothemes');
__('Louisiana', 'woothemes');
__('Maine', 'woothemes');
__('Maryland', 'woothemes');
__('Massachusetts', 'woothemes');
__('Michigan', 'woothemes');
__('Minnesota', 'woothemes');
__('Mississippi', 'woothemes');
__('Missouri', 'woothemes');
__('Montana', 'woothemes');
__('Nebraska', 'woothemes');
__('Nevada', 'woothemes');
__('New Hampshire', 'woothemes');
__('New Jersey', 'woothemes');
__('New Mexico', 'woothemes');
__('New York', 'woothemes');
__('North Carolina', 'woothemes');
__('North Dakota', 'woothemes');
__('Ohio', 'woothemes');
__('Oklahoma', 'woothemes');
__('Oregon', 'woothemes');
__('Pennsylvania', 'woothemes');
__('Rhode Island', 'woothemes');
__('South Carolina', 'woothemes');
__('South Dakota', 'woothemes');
__('Tennessee', 'woothemes');
__('Texas', 'woothemes');
__('Utah', 'woothemes');
__('Vermont', 'woothemes');
__('Virginia', 'woothemes');
__('Washington', 'woothemes');
__('West Virginia', 'woothemes');
__('Wisconsin', 'woothemes');
__('Wyoming', 'woothemes');
__('Americas', 'woothemes');
__('Europe', 'woothemes');
__('Pacific', 'woothemes');