PluginProbe
Cookiebot by Usercentrics – Automatic Cookie Banner for GDPR/CCPA & Google Consent Mode / 4.7.3
Cookiebot by Usercentrics – Automatic Cookie Banner for GDPR/CCPA & Google Consent Mode v4.7.3
4.7.3 4.7.2 4.7.1 trunk 2.3.0 2.4.0 2.4.1 2.4.2 2.5.0 3.0.0 3.0.1 3.1.0 3.10.0 3.10.1 3.11.1 3.11.2 3.11.3 3.2.0 3.3.0 3.3.1 3.4.0 3.4.1 3.4.2 3.5.0 3.6.0 All 93 releases
cookiebot / src / lib / Supported_Regions.php

Supported_Regions.php in Cookiebot by Usercentrics – Automatic Cookie Banner for GDPR/CCPA & Google Consent Mode 4.7.3, at src/lib/Supported_Regions.php

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