PluginProbe
Fluent Forms – Customizable Contact Forms, Survey, Quiz, & Conversational Form Builder / 6.2.14
Fluent Forms – Customizable Contact Forms, Survey, Quiz, & Conversational Form Builder v6.2.14
6.2.14 6.2.13 6.2.12 6.2.10 6.2.11 6.2.9 6.2.8 6.2.7 6.2.6 6.2.5 6.2.4 6.2.3 6.2.2 3.6.22 3.6.31 3.6.40 3.6.41 3.6.42 3.6.50 3.6.51 3.6.60 3.6.61 3.6.62 3.6.64 3.6.65 All 196 releases
fluentform / app / Services / FormBuilder / CountryNames.php

CountryNames.php in Fluent Forms – Customizable Contact Forms, Survey, Quiz, & Conversational Form Builder 6.2.14, at app/Services/FormBuilder/CountryNames.php

286 lines 11.5 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /**
3 * Countries
4 *
5 * Returns an array of countries and codes.
6 *
7 * @author WooThemes
8 *
9 * @category i18n
10 * @package fluentform/i18n
11 *
12 * @version 2.5.0
13 */
14 if (! defined('ABSPATH')) {
15 exit;
16 }
17
18 $fluentformCountryNames = [
19 'AF' => __('Afghanistan', 'fluentform'),
20 'AX' => __('Aland Islands', 'fluentform'),
21 'AL' => __('Albania', 'fluentform'),
22 'DZ' => __('Algeria', 'fluentform'),
23 'AS' => __('American Samoa', 'fluentform'),
24 'AD' => __('Andorra', 'fluentform'),
25 'AO' => __('Angola', 'fluentform'),
26 'AI' => __('Anguilla', 'fluentform'),
27 'AQ' => __('Antarctica', 'fluentform'),
28 'AG' => __('Antigua and Barbuda', 'fluentform'),
29 'AR' => __('Argentina', 'fluentform'),
30 'AM' => __('Armenia', 'fluentform'),
31 'AW' => __('Aruba', 'fluentform'),
32 'AU' => __('Australia', 'fluentform'),
33 'AT' => __('Austria', 'fluentform'),
34 'AZ' => __('Azerbaijan', 'fluentform'),
35 'BS' => __('Bahamas', 'fluentform'),
36 'BH' => __('Bahrain', 'fluentform'),
37 'BD' => __('Bangladesh', 'fluentform'),
38 'BB' => __('Barbados', 'fluentform'),
39 'BY' => __('Belarus', 'fluentform'),
40 'BE' => __('Belgium', 'fluentform'),
41 'PW' => __('Palau', 'fluentform'),
42 'BZ' => __('Belize', 'fluentform'),
43 'BJ' => __('Benin', 'fluentform'),
44 'BM' => __('Bermuda', 'fluentform'),
45 'BT' => __('Bhutan', 'fluentform'),
46 'BO' => __('Bolivia', 'fluentform'),
47 'BQ' => __('Bonaire, Saint Eustatius and Saba', 'fluentform'),
48 'BA' => __('Bosnia and Herzegovina', 'fluentform'),
49 'BW' => __('Botswana', 'fluentform'),
50 'BV' => __('Bouvet Island', 'fluentform'),
51 'BR' => __('Brazil', 'fluentform'),
52 'IO' => __('British Indian Ocean Territory', 'fluentform'),
53 'VG' => __('British Virgin Islands', 'fluentform'),
54 'BN' => __('Brunei', 'fluentform'),
55 'BG' => __('Bulgaria', 'fluentform'),
56 'BF' => __('Burkina Faso', 'fluentform'),
57 'BI' => __('Burundi', 'fluentform'),
58 'KH' => __('Cambodia', 'fluentform'),
59 'CM' => __('Cameroon', 'fluentform'),
60 'CA' => __('Canada', 'fluentform'),
61 'CV' => __('Cabo Verde', 'fluentform'),
62 'KY' => __('Cayman Islands', 'fluentform'),
63 'CF' => __('Central African Republic', 'fluentform'),
64 'TD' => __('Chad', 'fluentform'),
65 'CL' => __('Chile', 'fluentform'),
66 'CN' => __('China', 'fluentform'),
67 'CX' => __('Christmas Island', 'fluentform'),
68 'CC' => __('Cocos (Keeling) Islands', 'fluentform'),
69 'CO' => __('Colombia', 'fluentform'),
70 'KM' => __('Comoros', 'fluentform'),
71 'CG' => __('Republic of the Congo (Brazzaville)', 'fluentform'),
72 'CD' => __('Democratic Republic of the Congo (Kinshasa)', 'fluentform'),
73 'CK' => __('Cook Islands', 'fluentform'),
74 'CR' => __('Costa Rica', 'fluentform'),
75 'HR' => __('Croatia', 'fluentform'),
76 'CU' => __('Cuba', 'fluentform'),
77 'CW' => __('Curaçao', 'fluentform'),
78 'CY' => __('Cyprus', 'fluentform'),
79 'CZ' => __('Czech Republic', 'fluentform'),
80 'DK' => __('Denmark', 'fluentform'),
81 'DJ' => __('Djibouti', 'fluentform'),
82 'DM' => __('Dominica', 'fluentform'),
83 'DO' => __('Dominican Republic', 'fluentform'),
84 'EC' => __('Ecuador', 'fluentform'),
85 'EG' => __('Egypt', 'fluentform'),
86 'SV' => __('El Salvador', 'fluentform'),
87 'GQ' => __('Equatorial Guinea', 'fluentform'),
88 'ER' => __('Eritrea', 'fluentform'),
89 'EE' => __('Estonia', 'fluentform'),
90 'ET' => __('Ethiopia', 'fluentform'),
91 'FK' => __('Falkland Islands', 'fluentform'),
92 'FO' => __('Faroe Islands', 'fluentform'),
93 'FJ' => __('Fiji', 'fluentform'),
94 'FI' => __('Finland', 'fluentform'),
95 'FR' => __('France', 'fluentform'),
96 'GF' => __('French Guiana', 'fluentform'),
97 'PF' => __('French Polynesia', 'fluentform'),
98 'TF' => __('French Southern Territories', 'fluentform'),
99 'GA' => __('Gabon', 'fluentform'),
100 'GM' => __('Gambia', 'fluentform'),
101 'GE' => __('Georgia', 'fluentform'),
102 'DE' => __('Germany', 'fluentform'),
103 'GH' => __('Ghana', 'fluentform'),
104 'GI' => __('Gibraltar', 'fluentform'),
105 'GR' => __('Greece', 'fluentform'),
106 'GL' => __('Greenland', 'fluentform'),
107 'GD' => __('Grenada', 'fluentform'),
108 'GP' => __('Guadeloupe', 'fluentform'),
109 'GU' => __('Guam', 'fluentform'),
110 'GT' => __('Guatemala', 'fluentform'),
111 'GG' => __('Guernsey', 'fluentform'),
112 'GN' => __('Guinea', 'fluentform'),
113 'GW' => __('Guinea-Bissau', 'fluentform'),
114 'GY' => __('Guyana', 'fluentform'),
115 'HT' => __('Haiti', 'fluentform'),
116 'HM' => __('Heard Island and McDonald Islands', 'fluentform'),
117 'HN' => __('Honduras', 'fluentform'),
118 'HK' => __('Hong Kong', 'fluentform'),
119 'HU' => __('Hungary', 'fluentform'),
120 'IS' => __('Iceland', 'fluentform'),
121 'IN' => __('India', 'fluentform'),
122 'ID' => __('Indonesia', 'fluentform'),
123 'IR' => __('Iran', 'fluentform'),
124 'IQ' => __('Iraq', 'fluentform'),
125 'IE' => __('Ireland', 'fluentform'),
126 'IM' => __('Isle of Man', 'fluentform'),
127 'IL' => __('Israel', 'fluentform'),
128 'IT' => __('Italy', 'fluentform'),
129 'CI' => __('Ivory Coast', 'fluentform'),
130 'JM' => __('Jamaica', 'fluentform'),
131 'JP' => __('Japan', 'fluentform'),
132 'JE' => __('Jersey', 'fluentform'),
133 'JO' => __('Jordan', 'fluentform'),
134 'KZ' => __('Kazakhstan', 'fluentform'),
135 'KE' => __('Kenya', 'fluentform'),
136 'KI' => __('Kiribati', 'fluentform'),
137 'XK' => __('Kosovo', 'fluentform'),
138 'KW' => __('Kuwait', 'fluentform'),
139 'KG' => __('Kyrgyzstan', 'fluentform'),
140 'LA' => __('Laos', 'fluentform'),
141 'LV' => __('Latvia', 'fluentform'),
142 'LB' => __('Lebanon', 'fluentform'),
143 'LS' => __('Lesotho', 'fluentform'),
144 'LR' => __('Liberia', 'fluentform'),
145 'LY' => __('Libya', 'fluentform'),
146 'LI' => __('Liechtenstein', 'fluentform'),
147 'LT' => __('Lithuania', 'fluentform'),
148 'LU' => __('Luxembourg', 'fluentform'),
149 'MO' => __('Macao S.A.R., China', 'fluentform'),
150 'MK' => __('North Macedonia', 'fluentform'),
151 'MG' => __('Madagascar', 'fluentform'),
152 'MW' => __('Malawi', 'fluentform'),
153 'MY' => __('Malaysia', 'fluentform'),
154 'MV' => __('Maldives', 'fluentform'),
155 'ML' => __('Mali', 'fluentform'),
156 'MT' => __('Malta', 'fluentform'),
157 'MH' => __('Marshall Islands', 'fluentform'),
158 'MQ' => __('Martinique', 'fluentform'),
159 'MR' => __('Mauritania', 'fluentform'),
160 'MU' => __('Mauritius', 'fluentform'),
161 'YT' => __('Mayotte', 'fluentform'),
162 'MX' => __('Mexico', 'fluentform'),
163 'FM' => __('Micronesia', 'fluentform'),
164 'MD' => __('Moldova', 'fluentform'),
165 'MC' => __('Monaco', 'fluentform'),
166 'MN' => __('Mongolia', 'fluentform'),
167 'ME' => __('Montenegro', 'fluentform'),
168 'MS' => __('Montserrat', 'fluentform'),
169 'MA' => __('Morocco', 'fluentform'),
170 'MZ' => __('Mozambique', 'fluentform'),
171 'MM' => __('Myanmar', 'fluentform'),
172 'NA' => __('Namibia', 'fluentform'),
173 'NR' => __('Nauru', 'fluentform'),
174 'NP' => __('Nepal', 'fluentform'),
175 'NL' => __('Netherlands', 'fluentform'),
176 'NC' => __('New Caledonia', 'fluentform'),
177 'NZ' => __('New Zealand', 'fluentform'),
178 'NI' => __('Nicaragua', 'fluentform'),
179 'NE' => __('Niger', 'fluentform'),
180 'NG' => __('Nigeria', 'fluentform'),
181 'NU' => __('Niue', 'fluentform'),
182 'NF' => __('Norfolk Island', 'fluentform'),
183 'MP' => __('Northern Mariana Islands', 'fluentform'),
184 'KP' => __('North Korea', 'fluentform'),
185 'NO' => __('Norway', 'fluentform'),
186 'OM' => __('Oman', 'fluentform'),
187 'PK' => __('Pakistan', 'fluentform'),
188 'PS' => __('Palestinian Territory', 'fluentform'),
189 'PA' => __('Panama', 'fluentform'),
190 'PG' => __('Papua New Guinea', 'fluentform'),
191 'PY' => __('Paraguay', 'fluentform'),
192 'PE' => __('Peru', 'fluentform'),
193 'PH' => __('Philippines', 'fluentform'),
194 'PN' => __('Pitcairn', 'fluentform'),
195 'PL' => __('Poland', 'fluentform'),
196 'PT' => __('Portugal', 'fluentform'),
197 'PR' => __('Puerto Rico', 'fluentform'),
198 'QA' => __('Qatar', 'fluentform'),
199 'RE' => __('Réunion', 'fluentform'),
200 'RO' => __('Romania', 'fluentform'),
201 'RU' => __('Russia', 'fluentform'),
202 'RW' => __('Rwanda', 'fluentform'),
203 'BL' => __('Saint Barthélemy', 'fluentform'),
204 'SH' => __('Saint Helena', 'fluentform'),
205 'KN' => __('Saint Kitts and Nevis', 'fluentform'),
206 'LC' => __('Saint Lucia', 'fluentform'),
207 'MF' => __('Saint Martin (French part)', 'fluentform'),
208 'SX' => __('Saint Martin (Dutch part)', 'fluentform'),
209 'PM' => __('Saint Pierre and Miquelon', 'fluentform'),
210 'VC' => __('Saint Vincent and the Grenadines', 'fluentform'),
211 'SM' => __('San Marino', 'fluentform'),
212 'ST' => __('Sao Tome and Principe', 'fluentform'),
213 'SA' => __('Saudi Arabia', 'fluentform'),
214 'SN' => __('Senegal', 'fluentform'),
215 'RS' => __('Serbia', 'fluentform'),
216 'SC' => __('Seychelles', 'fluentform'),
217 'SL' => __('Sierra Leone', 'fluentform'),
218 'SG' => __('Singapore', 'fluentform'),
219 'SK' => __('Slovakia', 'fluentform'),
220 'SI' => __('Slovenia', 'fluentform'),
221 'SB' => __('Solomon Islands', 'fluentform'),
222 'SO' => __('Somalia', 'fluentform'),
223 'ZA' => __('South Africa', 'fluentform'),
224 'GS' => __('South Georgia/Sandwich Islands', 'fluentform'),
225 'KR' => __('South Korea', 'fluentform'),
226 'SS' => __('South Sudan', 'fluentform'),
227 'ES' => __('Spain', 'fluentform'),
228 'LK' => __('Sri Lanka', 'fluentform'),
229 'SD' => __('Sudan', 'fluentform'),
230 'SR' => __('Suriname', 'fluentform'),
231 'SJ' => __('Svalbard and Jan Mayen', 'fluentform'),
232 'SZ' => __('Eswatini', 'fluentform'),
233 'SE' => __('Sweden', 'fluentform'),
234 'CH' => __('Switzerland', 'fluentform'),
235 'SY' => __('Syria', 'fluentform'),
236 'TW' => __('Taiwan', 'fluentform'),
237 'TJ' => __('Tajikistan', 'fluentform'),
238 'TZ' => __('Tanzania', 'fluentform'),
239 'TH' => __('Thailand', 'fluentform'),
240 'TL' => __('Timor-Leste', 'fluentform'),
241 'TG' => __('Togo', 'fluentform'),
242 'TK' => __('Tokelau', 'fluentform'),
243 'TO' => __('Tonga', 'fluentform'),
244 'TT' => __('Trinidad and Tobago', 'fluentform'),
245 'TN' => __('Tunisia', 'fluentform'),
246 'TR' => __('Türkiye', 'fluentform'),
247 'TM' => __('Turkmenistan', 'fluentform'),
248 'TC' => __('Turks and Caicos Islands', 'fluentform'),
249 'TV' => __('Tuvalu', 'fluentform'),
250 'UG' => __('Uganda', 'fluentform'),
251 'UA' => __('Ukraine', 'fluentform'),
252 'AE' => __('United Arab Emirates', 'fluentform'),
253 'GB' => __('United Kingdom (UK)', 'fluentform'),
254 'US' => __('United States (US)', 'fluentform'),
255 'UM' => __('United States (US) Minor Outlying Islands', 'fluentform'),
256 'VI' => __('United States (US) Virgin Islands', 'fluentform'),
257 'UY' => __('Uruguay', 'fluentform'),
258 'UZ' => __('Uzbekistan', 'fluentform'),
259 'VU' => __('Vanuatu', 'fluentform'),
260 'VA' => __('Vatican', 'fluentform'),
261 'VE' => __('Venezuela', 'fluentform'),
262 'VN' => __('Vietnam', 'fluentform'),
263 'WF' => __('Wallis and Futuna', 'fluentform'),
264 'EH' => __('Western Sahara', 'fluentform'),
265 'WS' => __('Samoa', 'fluentform'),
266 'YE' => __('Yemen', 'fluentform'),
267 'ZM' => __('Zambia', 'fluentform'),
268 'ZW' => __('Zimbabwe', 'fluentform'),
269 ];
270
271 $fluentformCountryNames = apply_filters_deprecated(
272 'fluent_editor_countries',
273 [
274 $fluentformCountryNames
275 ],
276 FLUENTFORM_FRAMEWORK_UPGRADE,
277 'fluentform/editor_countries',
278 'Use fluentform/editor_countries instead of fluent_editor_countries.'
279 );
280
281 $fluentformCountryNames = apply_filters('fluentform/editor_countries', $fluentformCountryNames);
282
283 asort($fluentformCountryNames);
284
285 return $fluentformCountryNames;
286