| 1 |
<?php
|
| 2 |
// $Id$
|
| 3 |
|
| 4 |
/**
|
| 5 |
* Implementation of hook_help()
|
| 6 |
*/
|
| 7 |
function countries_api_help($__section = '')
|
| 8 |
{
|
| 9 |
$_content = '';
|
| 10 |
|
| 11 |
// license path
|
| 12 |
$_license = drupal_get_path('module', 'countries_api') . '/LICENSE.txt';
|
| 13 |
|
| 14 |
// switch over section
|
| 15 |
switch($__section) {
|
| 16 |
|
| 17 |
// module
|
| 18 |
case 'admin/help#countries_api':
|
| 19 |
|
| 20 |
$_content = <<<HELP
|
| 21 |
<p>
|
| 22 |
Provides an API for official ISO 3166 country codes and names.
|
| 23 |
<br />
|
| 24 |
Please visit the Maintenance agency website on
|
| 25 |
<a href="http://www.iso.org/iso/country_codes/"
|
| 26 |
target="_blank">http://www.iso.org/iso/country_codes/</a>
|
| 27 |
for more information about ISO 3166.
|
| 28 |
</p>
|
| 29 |
<h3 style="border-bottom:solid 1px #ABABAB;">
|
| 30 |
<br />
|
| 31 |
<b>Global operations</b>
|
| 32 |
</h3>
|
| 33 |
<blockquote>
|
| 34 |
<h4>
|
| 35 |
<br />
|
| 36 |
function <b>countries_api_get_list()</b> : array
|
| 37 |
</h4>
|
| 38 |
<blockquote>
|
| 39 |
<p>
|
| 40 |
This function returns the full list of official ISO country codes and
|
| 41 |
names.
|
| 42 |
</p>
|
| 43 |
<p>
|
| 44 |
<i>Parameter(s):</i>
|
| 45 |
<br />
|
| 46 |
None
|
| 47 |
</p>
|
| 48 |
<p>
|
| 49 |
<i>Returns:</i>
|
| 50 |
<br />
|
| 51 |
An indexed array containing the list of each official ISO country codes
|
| 52 |
and name as associative arrays, using the following keys:
|
| 53 |
<br />
|
| 54 |
<blockquote>
|
| 55 |
<ul>
|
| 56 |
<li>
|
| 57 |
name
|
| 58 |
<br/>
|
| 59 |
<i>Returns the country short name.</i>
|
| 60 |
</li>
|
| 61 |
<li>
|
| 62 |
iso2
|
| 63 |
<br/>
|
| 64 |
<i>Returns the country ISO 3166-1-alpha-2 code.</i>
|
| 65 |
</li>
|
| 66 |
<li>
|
| 67 |
iso3
|
| 68 |
<br/>
|
| 69 |
<i>Returns the country ISO 3166-1-alpha-3 code.</i>
|
| 70 |
</li>
|
| 71 |
</ul>
|
| 72 |
</blockquote>
|
| 73 |
</p>
|
| 74 |
</blockquote>
|
| 75 |
<h4>
|
| 76 |
<br />
|
| 77 |
function <b>countries_api_get_name(\$code)</b> : string
|
| 78 |
</h4>
|
| 79 |
<blockquote>
|
| 80 |
<p>
|
| 81 |
This function gets either an ISO 3166-1-alpha-2 or ISO 3166-1-alpha-3
|
| 82 |
code in parameter and returns the corresponding country short name.
|
| 83 |
</p>
|
| 84 |
<p>
|
| 85 |
<i>Parameter(s):</i>
|
| 86 |
<br />
|
| 87 |
<blockquote>
|
| 88 |
<ul>
|
| 89 |
<li>
|
| 90 |
\$code
|
| 91 |
<br/>
|
| 92 |
<i>An ISO 3166-1-alpha-2 or ISO 3166-1-alpha-3 code as a</i>
|
| 93 |
string.
|
| 94 |
</li>
|
| 95 |
</ul>
|
| 96 |
</blockquote>
|
| 97 |
</p>
|
| 98 |
<p>
|
| 99 |
<i>Returns:</i>
|
| 100 |
<br />
|
| 101 |
The corresponding country short name as a <i>string</i>.
|
| 102 |
<br />
|
| 103 |
In case the country code doesn't match any country, <i>null</i> is
|
| 104 |
returned.
|
| 105 |
</p>
|
| 106 |
</blockquote>
|
| 107 |
<h4>
|
| 108 |
<br />
|
| 109 |
function <b>countries_api_get_country(\$code)</b> : array
|
| 110 |
</h4>
|
| 111 |
<blockquote>
|
| 112 |
<p>
|
| 113 |
This function gets either an ISO 3166-1-alpha-2 or ISO 3166-1-alpha-3
|
| 114 |
code in parameter and returns an array representing the corresponding
|
| 115 |
country.
|
| 116 |
</p>
|
| 117 |
<p>
|
| 118 |
<i>Parameter(s):</i>
|
| 119 |
<br />
|
| 120 |
<blockquote>
|
| 121 |
<ul>
|
| 122 |
<li>
|
| 123 |
\$code
|
| 124 |
<br/>
|
| 125 |
<i>An ISO 3166-1-alpha-2 or ISO 3166-1-alpha-3 code as a</i>
|
| 126 |
string.
|
| 127 |
</li>
|
| 128 |
</ul>
|
| 129 |
</blockquote>
|
| 130 |
</p>
|
| 131 |
<p>
|
| 132 |
<i>Returns:</i>
|
| 133 |
<br />
|
| 134 |
An associative <i>array</i>, using the keys as described in
|
| 135 |
<i>countries_api_get_list()</i>.
|
| 136 |
<br />
|
| 137 |
In case the country code doesn't match any country, <i>null</i> is
|
| 138 |
returned.
|
| 139 |
</p>
|
| 140 |
</blockquote>
|
| 141 |
</blockquote>
|
| 142 |
<h3 style="border-bottom:solid 1px #ABABAB;">
|
| 143 |
<br />
|
| 144 |
<b>ISO 3166-1-alpha-2 code operations</b>
|
| 145 |
</h3>
|
| 146 |
<blockquote>
|
| 147 |
<h4>
|
| 148 |
<br />
|
| 149 |
function <b>countries_api_iso2_get_name(\$code)</b> : string
|
| 150 |
</h4>
|
| 151 |
<blockquote>
|
| 152 |
<p>
|
| 153 |
This function gets an ISO 3166-1-alpha-2 code in parameter and returns
|
| 154 |
the corresponding country short name.
|
| 155 |
</p>
|
| 156 |
<p>
|
| 157 |
<i>Parameter(s):</i>
|
| 158 |
<br />
|
| 159 |
<blockquote>
|
| 160 |
<ul>
|
| 161 |
<li>
|
| 162 |
\$code
|
| 163 |
<br/>
|
| 164 |
<i>An ISO 3166-1-alpha-2 code as a</i> string.
|
| 165 |
</li>
|
| 166 |
</ul>
|
| 167 |
</blockquote>
|
| 168 |
</p>
|
| 169 |
<p>
|
| 170 |
<i>Returns:</i>
|
| 171 |
<br />
|
| 172 |
The corresponding country short name as a <i>string</i>.
|
| 173 |
<br />
|
| 174 |
In case the country code doesn't match any country, <i>null</i> is
|
| 175 |
returned.
|
| 176 |
</p>
|
| 177 |
</blockquote>
|
| 178 |
<h4>
|
| 179 |
<br />
|
| 180 |
function <b>countries_api_iso2_get_iso3(\$code)</b> : string
|
| 181 |
</h4>
|
| 182 |
<blockquote>
|
| 183 |
<p>
|
| 184 |
This function gets an ISO 3166-1-alpha-2 code in parameter and returns
|
| 185 |
the corresponding ISO 3166-1-alpha-3 code.
|
| 186 |
</p>
|
| 187 |
<p>
|
| 188 |
<i>Parameter(s):</i>
|
| 189 |
<br />
|
| 190 |
<blockquote>
|
| 191 |
<ul>
|
| 192 |
<li>
|
| 193 |
\$code
|
| 194 |
<br/>
|
| 195 |
<i>An ISO 3166-1-alpha-2 code as a</i> string.
|
| 196 |
</li>
|
| 197 |
</ul>
|
| 198 |
</blockquote>
|
| 199 |
</p>
|
| 200 |
<p>
|
| 201 |
<i>Returns:</i>
|
| 202 |
<br />
|
| 203 |
The corresponding ISO 3166-1-alpha-3 code as a <i>string</i>.
|
| 204 |
<br />
|
| 205 |
In case the country code doesn't match any country, <i>null</i> is
|
| 206 |
returned.
|
| 207 |
</p>
|
| 208 |
</blockquote>
|
| 209 |
<h4>
|
| 210 |
<br />
|
| 211 |
function <b>countries_api_iso2_get_country(\$code)</b> : array
|
| 212 |
</h4>
|
| 213 |
<blockquote>
|
| 214 |
<p>
|
| 215 |
This function gets an ISO 3166-1-alpha-2 code in parameter and returns an
|
| 216 |
array representing the corresponding country.
|
| 217 |
</p>
|
| 218 |
<p>
|
| 219 |
<i>Parameter(s):</i>
|
| 220 |
<br />
|
| 221 |
<blockquote>
|
| 222 |
<ul>
|
| 223 |
<li>
|
| 224 |
\$code
|
| 225 |
<br/>
|
| 226 |
<i>An ISO 3166-1-alpha-2 code as a</i> string.
|
| 227 |
</li>
|
| 228 |
</ul>
|
| 229 |
</blockquote>
|
| 230 |
</p>
|
| 231 |
<p>
|
| 232 |
<i>Returns:</i>
|
| 233 |
<br />
|
| 234 |
An associative <i>array</i>, using the keys as described in
|
| 235 |
<i>countries_api_get_list()</i>.
|
| 236 |
<br />
|
| 237 |
In case the country code doesn't match any country, <i>null</i> is
|
| 238 |
returned.
|
| 239 |
</p>
|
| 240 |
</blockquote>
|
| 241 |
</blockquote>
|
| 242 |
<h3 style="border-bottom:solid 1px #ABABAB;">
|
| 243 |
<br />
|
| 244 |
<b>ISO 3166-1-alpha-3 code operations</b>
|
| 245 |
</h3>
|
| 246 |
<blockquote>
|
| 247 |
<h4>
|
| 248 |
<br />
|
| 249 |
function <b>countries_api_iso3_get_name(\$code)</b> : string
|
| 250 |
</h4>
|
| 251 |
<blockquote>
|
| 252 |
<p>
|
| 253 |
This function gets an ISO 3166-1-alpha-3 code in parameter and returns
|
| 254 |
the corresponding country short name.
|
| 255 |
</p>
|
| 256 |
<p>
|
| 257 |
<i>Parameter(s):</i>
|
| 258 |
<br />
|
| 259 |
<blockquote>
|
| 260 |
<ul>
|
| 261 |
<li>
|
| 262 |
\$code
|
| 263 |
<br/>
|
| 264 |
<i>An ISO 3166-1-alpha-3 code as a</i> string.
|
| 265 |
</li>
|
| 266 |
</ul>
|
| 267 |
</blockquote>
|
| 268 |
</p>
|
| 269 |
<p>
|
| 270 |
<i>Returns:</i>
|
| 271 |
<br />
|
| 272 |
The corresponding country short name as a <i>string</i>.
|
| 273 |
<br />
|
| 274 |
In case the country code doesn't match any country, <i>null</i> is
|
| 275 |
returned.
|
| 276 |
</p>
|
| 277 |
</blockquote>
|
| 278 |
<h4>
|
| 279 |
<br />
|
| 280 |
function <b>countries_api_iso3_get_iso2(\$code)</b> : string
|
| 281 |
</h4>
|
| 282 |
<blockquote>
|
| 283 |
<p>
|
| 284 |
This function gets an ISO 3166-1-alpha-3 code in parameter and returns
|
| 285 |
the corresponding ISO 3166-1-alpha-2 code.
|
| 286 |
</p>
|
| 287 |
<p>
|
| 288 |
<i>Parameter(s):</i>
|
| 289 |
<br />
|
| 290 |
<blockquote>
|
| 291 |
<ul>
|
| 292 |
<li>
|
| 293 |
\$code
|
| 294 |
<br/>
|
| 295 |
<i>An ISO 3166-1-alpha-3 code as a</i> string.
|
| 296 |
</li>
|
| 297 |
</ul>
|
| 298 |
</blockquote>
|
| 299 |
</p>
|
| 300 |
<p>
|
| 301 |
<i>Returns:</i>
|
| 302 |
<br />
|
| 303 |
The corresponding ISO 3166-1-alpha-2 code as a <i>string</i>.
|
| 304 |
<br />
|
| 305 |
In case the country code doesn't match any country, <i>null</i> is
|
| 306 |
returned.
|
| 307 |
</p>
|
| 308 |
</blockquote>
|
| 309 |
<h4>
|
| 310 |
<br />
|
| 311 |
function <b>countries_api_iso3_get_country(\$code)</b> : array
|
| 312 |
</h4>
|
| 313 |
<blockquote>
|
| 314 |
<p>
|
| 315 |
This function gets an ISO 3166-1-alpha-3 code in parameter and returns an
|
| 316 |
array representing the corresponding country.
|
| 317 |
</p>
|
| 318 |
<p>
|
| 319 |
<i>Parameter(s):</i>
|
| 320 |
<br />
|
| 321 |
<blockquote>
|
| 322 |
<ul>
|
| 323 |
<li>
|
| 324 |
\$code
|
| 325 |
<br/>
|
| 326 |
<i>An ISO 3166-1-alpha-3 code as a</i> string.
|
| 327 |
</li>
|
| 328 |
</ul>
|
| 329 |
</blockquote>
|
| 330 |
</p>
|
| 331 |
<p>
|
| 332 |
<i>Returns:</i>
|
| 333 |
<br />
|
| 334 |
An associative <i>array</i>, using the keys as described in
|
| 335 |
<i>countries_api_get_list()</i>.
|
| 336 |
<br />
|
| 337 |
In case the country code doesn't match any country, <i>null</i> is
|
| 338 |
returned.
|
| 339 |
</p>
|
| 340 |
</blockquote>
|
| 341 |
</blockquote>
|
| 342 |
<h3 style="border-bottom:solid 1px #ABABAB;">
|
| 343 |
<br />
|
| 344 |
<b>License</b>
|
| 345 |
</h3>
|
| 346 |
<blockquote>
|
| 347 |
<br />
|
| 348 |
<p>
|
| 349 |
This module is licensed under the terms of the
|
| 350 |
<a href="$_license"
|
| 351 |
target="_blank">GNU General Public License version 2</a>.
|
| 352 |
<br />
|
| 353 |
This module was created by horsconcept, Alexandre Kraft
|
| 354 |
<ak@horsconcept.ch>.
|
| 355 |
</p>
|
| 356 |
</blockquote>
|
| 357 |
HELP;
|
| 358 |
break;
|
| 359 |
}
|
| 360 |
|
| 361 |
return $_content;
|
| 362 |
}
|
| 363 |
|
| 364 |
/**
|
| 365 |
* ISO 3166-1-alpha-#n code to country API function
|
| 366 |
*/
|
| 367 |
function countries_api_get_country($code)
|
| 368 |
{
|
| 369 |
if(strlen(trim($code)) == 2) {
|
| 370 |
return countries_api_iso2_get_country($code);
|
| 371 |
} elseif(strlen(trim($code)) == 3) {
|
| 372 |
return countries_api_iso3_get_country($code);
|
| 373 |
} else {
|
| 374 |
return null;
|
| 375 |
}
|
| 376 |
}
|
| 377 |
|
| 378 |
/**
|
| 379 |
* ISO 3166-1-alpha-2 code to country API function
|
| 380 |
*/
|
| 381 |
function countries_api_iso2_get_country($code)
|
| 382 |
{
|
| 383 |
return _countries_api_iso_get_country($code, 'iso2');
|
| 384 |
}
|
| 385 |
|
| 386 |
/**
|
| 387 |
* ISO 3166-1-alpha-3 code to country API function
|
| 388 |
*/
|
| 389 |
function countries_api_iso3_get_country($code)
|
| 390 |
{
|
| 391 |
return _countries_api_iso_get_country($code, 'iso3');
|
| 392 |
}
|
| 393 |
|
| 394 |
/**
|
| 395 |
* ISO 3166-1-alpha-#n code to country name API function
|
| 396 |
*/
|
| 397 |
function countries_api_get_name($code)
|
| 398 |
{
|
| 399 |
if(strlen(trim($code)) == 2) {
|
| 400 |
return countries_api_iso2_get_name($code);
|
| 401 |
} elseif(strlen(trim($code)) == 3) {
|
| 402 |
return countries_api_iso3_get_name($code);
|
| 403 |
} else {
|
| 404 |
return null;
|
| 405 |
}
|
| 406 |
}
|
| 407 |
|
| 408 |
/**
|
| 409 |
* ISO 3166-1-alpha-2 code to country name API function
|
| 410 |
*/
|
| 411 |
function countries_api_iso2_get_name($code)
|
| 412 |
{
|
| 413 |
$_country = countries_api_iso2_get_country($code);
|
| 414 |
|
| 415 |
if(!is_null($_country)) {
|
| 416 |
return $_country['name'];
|
| 417 |
}
|
| 418 |
|
| 419 |
return null;
|
| 420 |
}
|
| 421 |
|
| 422 |
/**
|
| 423 |
* ISO 3166-1-alpha-3 code to country name API function
|
| 424 |
*/
|
| 425 |
function countries_api_iso3_get_name($code)
|
| 426 |
{
|
| 427 |
$_country = countries_api_iso3_get_country($code);
|
| 428 |
|
| 429 |
if(!is_null($_country)) {
|
| 430 |
return $_country['name'];
|
| 431 |
}
|
| 432 |
|
| 433 |
return null;
|
| 434 |
}
|
| 435 |
|
| 436 |
/**
|
| 437 |
* ISO 3166-1-alpha-2 code to ISO 3166-1-alpha-3 code API function
|
| 438 |
*/
|
| 439 |
function countries_api_iso2_get_iso3($code)
|
| 440 |
{
|
| 441 |
$_country = countries_api_iso2_get_country($code);
|
| 442 |
|
| 443 |
if(!is_null($_country)) {
|
| 444 |
return $_country['iso3'];
|
| 445 |
}
|
| 446 |
|
| 447 |
return null;
|
| 448 |
}
|
| 449 |
|
| 450 |
/**
|
| 451 |
* ISO 3166-1-alpha-3 code to ISO 3166-1-alpha-2 code API function
|
| 452 |
*/
|
| 453 |
function countries_api_iso3_get_iso2($code)
|
| 454 |
{
|
| 455 |
$_country = countries_api_iso3_get_country($code);
|
| 456 |
|
| 457 |
if(!is_null($_country)) {
|
| 458 |
return $_country['iso2'];
|
| 459 |
}
|
| 460 |
|
| 461 |
return null;
|
| 462 |
}
|
| 463 |
|
| 464 |
/**
|
| 465 |
* Internal ISO 3166-1-alpha-#n code to country helper
|
| 466 |
*/
|
| 467 |
function _countries_api_iso_get_country($__code, $__alpha)
|
| 468 |
{
|
| 469 |
$_list = countries_api_get_list();
|
| 470 |
$_code = strtoupper(trim(check_plain($__code)));
|
| 471 |
|
| 472 |
foreach($_list as $_country) {
|
| 473 |
if($_country[$__alpha] == $_code) {
|
| 474 |
return $_country;
|
| 475 |
}
|
| 476 |
}
|
| 477 |
|
| 478 |
return null;
|
| 479 |
}
|
| 480 |
|
| 481 |
/**
|
| 482 |
* Countries list API function
|
| 483 |
*/
|
| 484 |
function countries_api_get_list()
|
| 485 |
{
|
| 486 |
$_countries = array(
|
| 487 |
|
| 488 |
// a
|
| 489 |
array('name' => t('Afghanistan'), 'iso2' => 'AF', 'iso3' => 'AFG'),
|
| 490 |
array('name' => t('Ã…land Islands'), 'iso2' => 'AX', 'iso3' => 'ALA'),
|
| 491 |
array('name' => t('Albania'), 'iso2' => 'AL', 'iso3' => 'ALB'),
|
| 492 |
array('name' => t('Algeria'), 'iso2' => 'DZ', 'iso3' => 'DZA'),
|
| 493 |
array('name' => t('American Samoa'), 'iso2' => 'AS', 'iso3' => 'ASM'),
|
| 494 |
array('name' => t('Andorra'), 'iso2' => 'AD', 'iso3' => 'AND'),
|
| 495 |
array('name' => t('Angola'), 'iso2' => 'AO', 'iso3' => 'AGO'),
|
| 496 |
array('name' => t('Anguilla'), 'iso2' => 'AI', 'iso3' => 'AIA'),
|
| 497 |
array('name' => t('Antarctica'), 'iso2' => 'AQ', 'iso3' => 'ATA'),
|
| 498 |
array('name' => t('Antigua and Barbuda'), 'iso2' => 'AG', 'iso3' => 'ATG'),
|
| 499 |
array('name' => t('Argentina'), 'iso2' => 'AR', 'iso3' => 'ARG'),
|
| 500 |
array('name' => t('Armenia'), 'iso2' => 'AM', 'iso3' => 'ARM'),
|
| 501 |
array('name' => t('Aruba'), 'iso2' => 'AW', 'iso3' => 'ABW'),
|
| 502 |
array('name' => t('Australia'), 'iso2' => 'AU', 'iso3' => 'AUS'),
|
| 503 |
array('name' => t('Austria'), 'iso2' => 'AT', 'iso3' => 'AUT'),
|
| 504 |
array('name' => t('Azerbaijan'), 'iso2' => 'AZ', 'iso3' => 'AZE'),
|
| 505 |
|
| 506 |
// b
|
| 507 |
array('name' => t('Bahamas'), 'iso2' => 'BS', 'iso3' => 'BHS'),
|
| 508 |
array('name' => t('Bahrain'), 'iso2' => 'BH', 'iso3' => 'BHR'),
|
| 509 |
array('name' => t('Bangladesh'), 'iso2' => 'BD', 'iso3' => 'BGD'),
|
| 510 |
array('name' => t('Barbados'), 'iso2' => 'BB', 'iso3' => 'BRB'),
|
| 511 |
array('name' => t('Belarus'), 'iso2' => 'BY', 'iso3' => 'BLR'),
|
| 512 |
array('name' => t('Belgium'), 'iso2' => 'BE', 'iso3' => 'BEL'),
|
| 513 |
array('name' => t('Belize'), 'iso2' => 'BZ', 'iso3' => 'BLZ'),
|
| 514 |
array('name' => t('Benin'), 'iso2' => 'BJ', 'iso3' => 'BEN'),
|
| 515 |
array('name' => t('Bermuda'), 'iso2' => 'BM', 'iso3' => 'BMU'),
|
| 516 |
array('name' => t('Bhutan'), 'iso2' => 'BT', 'iso3' => 'BTN'),
|
| 517 |
array('name' => t('Bolivia'), 'iso2' => 'BO', 'iso3' => 'BOL'),
|
| 518 |
array('name' => t('Bosnia and Herzegovina'), 'iso2' => 'BA', 'iso3' => 'BIH'),
|
| 519 |
array('name' => t('Botswana'), 'iso2' => 'BW', 'iso3' => 'BWA'),
|
| 520 |
array('name' => t('Bouvet Island'), 'iso2' => 'BV', 'iso3' => 'BVT'),
|
| 521 |
array('name' => t('Brazil'), 'iso2' => 'BR', 'iso3' => 'BRA'),
|
| 522 |
array('name' => t('British Indian Ocean Territory'), 'iso2' => 'IO', 'iso3' => 'IOT'),
|
| 523 |
array('name' => t('Brunei Darussalam'), 'iso2' => 'BN', 'iso3' => 'BRN'),
|
| 524 |
array('name' => t('Bulgaria'), 'iso2' => 'BG', 'iso3' => 'BGR'),
|
| 525 |
array('name' => t('Burkina Faso'), 'iso2' => 'BF', 'iso3' => 'BFA'),
|
| 526 |
array('name' => t('Burundi'), 'iso2' => 'BI', 'iso3' => 'BDI'),
|
| 527 |
|
| 528 |
// c
|
| 529 |
array('name' => t('Cambodia'), 'iso2' => 'KH', 'iso3' => 'KHM'),
|
| 530 |
array('name' => t('Cameroon'), 'iso2' => 'CM', 'iso3' => 'CMR'),
|
| 531 |
array('name' => t('Canada'), 'iso2' => 'CA', 'iso3' => 'CAN'),
|
| 532 |
array('name' => t('Cape Verde'), 'iso2' => 'CV', 'iso3' => 'CPV'),
|
| 533 |
array('name' => t('Cayman Islands'), 'iso2' => 'KY', 'iso3' => 'CYM'),
|
| 534 |
array('name' => t('Central African Republic'), 'iso2' => 'CF', 'iso3' => 'CAF'),
|
| 535 |
array('name' => t('Chad'), 'iso2' => 'TD', 'iso3' => 'TCD'),
|
| 536 |
array('name' => t('Chile'), 'iso2' => 'CL', 'iso3' => 'CHL'),
|
| 537 |
array('name' => t('China'), 'iso2' => 'CN', 'iso3' => 'CHN'),
|
| 538 |
array('name' => t('Christmas Island'), 'iso2' => 'CX', 'iso3' => 'CXR'),
|
| 539 |
array('name' => t('Cocos (Keeling) Islands'), 'iso2' => 'CC', 'iso3' => 'CCK'),
|
| 540 |
array('name' => t('Colombia'), 'iso2' => 'CO', 'iso3' => 'COL'),
|
| 541 |
array('name' => t('Comoros'), 'iso2' => 'KM', 'iso3' => 'COM'),
|
| 542 |
array('name' => t('Congo'), 'iso2' => 'CG', 'iso3' => 'COG'),
|
| 543 |
array('name' => t('Congo, The Democratic Republic of the'), 'iso2' => 'CD', 'iso3' => 'ZAR'),
|
| 544 |
array('name' => t('Cook Islands'), 'iso2' => 'CK', 'iso3' => 'COK'),
|
| 545 |
array('name' => t('Costa Rica'), 'iso2' => 'CR', 'iso3' => 'CRI'),
|
| 546 |
array('name' => t('Côte d\'Ivoire'), 'iso2' => 'CI', 'iso3' => 'CIV'),
|
| 547 |
array('name' => t('Croatia'), 'iso2' => 'HR', 'iso3' => 'HRV'),
|
| 548 |
array('name' => t('Cuba'), 'iso2' => 'CU', 'iso3' => 'CUB'),
|
| 549 |
array('name' => t('Cyprus'), 'iso2' => 'CY', 'iso3' => 'CYP'),
|
| 550 |
array('name' => t('Czech Republic'), 'iso2' => 'CZ', 'iso3' => 'CZE'),
|
| 551 |
|
| 552 |
// d
|
| 553 |
array('name' => t('Denmark'), 'iso2' => 'DK', 'iso3' => 'DNK'),
|
| 554 |
array('name' => t('Djibouti'), 'iso2' => 'DJ', 'iso3' => 'DJI'),
|
| 555 |
array('name' => t('Dominica'), 'iso2' => 'DM', 'iso3' => 'DMA'),
|
| 556 |
array('name' => t('Dominican Republic'), 'iso2' => 'DO', 'iso3' => 'DOM'),
|
| 557 |
|
| 558 |
// e
|
| 559 |
array('name' => t('Ecuador'), 'iso2' => 'EC', 'iso3' => 'ECU'),
|
| 560 |
array('name' => t('Egypt'), 'iso2' => 'EG', 'iso3' => 'EGY'),
|
| 561 |
array('name' => t('El Salvador'), 'iso2' => 'SV', 'iso3' => 'SLV'),
|
| 562 |
array('name' => t('Equatorial Guinea'), 'iso2' => 'GQ', 'iso3' => 'GNQ'),
|
| 563 |
array('name' => t('Eritrea'), 'iso2' => 'ER', 'iso3' => 'ERI'),
|
| 564 |
array('name' => t('Estonia'), 'iso2' => 'EE', 'iso3' => 'EST'),
|
| 565 |
array('name' => t('Ethiopia'), 'iso2' => 'ET', 'iso3' => 'ETH'),
|
| 566 |
|
| 567 |
// f
|
| 568 |
array('name' => t('Falkland Islands (Malvinas)'), 'iso2' => 'FK', 'iso3' => 'FLK'),
|
| 569 |
array('name' => t('Faroe Islands'), 'iso2' => 'FO', 'iso3' => 'FRO'),
|
| 570 |
array('name' => t('Fiji'), 'iso2' => 'FJ', 'iso3' => 'FJI'),
|
| 571 |
array('name' => t('Finland'), 'iso2' => 'FI', 'iso3' => 'FIN'),
|
| 572 |
array('name' => t('France'), 'iso2' => 'FR', 'iso3' => 'FRA'),
|
| 573 |
array('name' => t('French Guiana'), 'iso2' => 'GF', 'iso3' => 'GUF'),
|
| 574 |
array('name' => t('French Polynesia'), 'iso2' => 'PF', 'iso3' => 'PYF'),
|
| 575 |
array('name' => t('French Southern Territories'), 'iso2' => 'TF', 'iso3' => 'ATF'),
|
| 576 |
|
| 577 |
// g
|
| 578 |
array('name' => t('Gabon'), 'iso2' => 'GA', 'iso3' => 'GAB'),
|
| 579 |
array('name' => t('Gambia'), 'iso2' => 'GM', 'iso3' => 'GMB'),
|
| 580 |
array('name' => t('Georgia'), 'iso2' => 'GE', 'iso3' => 'GEO'),
|
| 581 |
array('name' => t('Germany'), 'iso2' => 'DE', 'iso3' => 'DEU'),
|
| 582 |
array('name' => t('Ghana'), 'iso2' => 'GH', 'iso3' => 'GHA'),
|
| 583 |
array('name' => t('Gibraltar'), 'iso2' => 'GI', 'iso3' => 'GIB'),
|
| 584 |
array('name' => t('Greece'), 'iso2' => 'GR', 'iso3' => 'GRC'),
|
| 585 |
array('name' => t('Greenland'), 'iso2' => 'GL', 'iso3' => 'GRL'),
|
| 586 |
array('name' => t('Grenada'), 'iso2' => 'GD', 'iso3' => 'GRD'),
|
| 587 |
array('name' => t('Guadeloupe'), 'iso2' => 'GP', 'iso3' => 'GLP'),
|
| 588 |
array('name' => t('Guam'), 'iso2' => 'GU', 'iso3' => 'GUM'),
|
| 589 |
array('name' => t('Guatemala'), 'iso2' => 'GT', 'iso3' => 'GTM'),
|
| 590 |
array('name' => t('Guernsey'), 'iso2' => 'GG', 'iso3' => 'GGY'),
|
| 591 |
array('name' => t('Guinea'), 'iso2' => 'GN', 'iso3' => 'GIN'),
|
| 592 |
array('name' => t('Guinea-Bissau'), 'iso2' => 'GW', 'iso3' => 'GNB'),
|
| 593 |
array('name' => t('Guyana'), 'iso2' => 'GY', 'iso3' => 'GUY'),
|
| 594 |
|
| 595 |
// h
|
| 596 |
array('name' => t('Haiti'), 'iso2' => 'HT', 'iso3' => 'HTI'),
|
| 597 |
array('name' => t('Heard Island and McDonald Islands'), 'iso2' => 'HM', 'iso3' => 'HMD'),
|
| 598 |
array('name' => t('Holy See (Vatican City State)'), 'iso2' => 'VA', 'iso3' => 'VAT'),
|
| 599 |
array('name' => t('Honduras'), 'iso2' => 'HN', 'iso3' => 'HND'),
|
| 600 |
array('name' => t('Hong Kong'), 'iso2' => 'HK', 'iso3' => 'HKG'),
|
| 601 |
array('name' => t('Hungary'), 'iso2' => 'HU', 'iso3' => 'HUN'),
|
| 602 |
|
| 603 |
// i
|
| 604 |
array('name' => t('Iceland'), 'iso2' => 'IS', 'iso3' => 'ISL'),
|
| 605 |
array('name' => t('India'), 'iso2' => 'IN', 'iso3' => 'IND'),
|
| 606 |
array('name' => t('Indonesia'), 'iso2' => 'ID', 'iso3' => 'IDN'),
|
| 607 |
array('name' => t('Iran, Islamic Republic of'), 'iso2' => 'IR', 'iso3' => 'IRN'),
|
| 608 |
array('name' => t('Iraq'), 'iso2' => 'IQ', 'iso3' => 'IRQ'),
|
| 609 |
array('name' => t('Ireland'), 'iso2' => 'IE', 'iso3' => 'IRL'),
|
| 610 |
array('name' => t('Isle of Man'), 'iso2' => 'IM', 'iso3' => 'IMN'),
|
| 611 |
array('name' => t('Israel'), 'iso2' => 'IL', 'iso3' => 'ISR'),
|
| 612 |
array('name' => t('Italy'), 'iso2' => 'IT', 'iso3' => 'ITA'),
|
| 613 |
|
| 614 |
// j
|
| 615 |
array('name' => t('Jamaica'), 'iso2' => 'JM', 'iso3' => 'JAM'),
|
| 616 |
array('name' => t('Japan'), 'iso2' => 'JP', 'iso3' => 'JPN'),
|
| 617 |
array('name' => t('Jersey'), 'iso2' => 'JE', 'iso3' => 'JEY'),
|
| 618 |
array('name' => t('Jordan'), 'iso2' => 'JO', 'iso3' => 'JOR'),
|
| 619 |
|
| 620 |
// k
|
| 621 |
array('name' => t('Kazakhstan'), 'iso2' => 'KZ', 'iso3' => 'KAZ'),
|
| 622 |
array('name' => t('Kenya'), 'iso2' => 'KE', 'iso3' => 'KEN'),
|
| 623 |
array('name' => t('Kiribati'), 'iso2' => 'KI', 'iso3' => 'KIR'),
|
| 624 |
array('name' => t('Korea, Democratic People\'s Republic of'), 'iso2' => 'KP', 'iso3' => 'PRK'),
|
| 625 |
array('name' => t('Korea, Republic of'), 'iso2' => 'KR', 'iso3' => 'KOR'),
|
| 626 |
array('name' => t('Kuwait'), 'iso2' => 'KW', 'iso3' => 'KWT'),
|
| 627 |
array('name' => t('Kyrgyzstan'), 'iso2' => 'KG', 'iso3' => 'KGZ'),
|
| 628 |
|
| 629 |
// l
|
| 630 |
array('name' => t('Lao People\'s Democratic Republic'), 'iso2' => 'LA', 'iso3' => 'LAO'),
|
| 631 |
array('name' => t('Latvia'), 'iso2' => 'LV', 'iso3' => 'LVA'),
|
| 632 |
array('name' => t('Lebanon'), 'iso2' => 'LB', 'iso3' => 'LBN'),
|
| 633 |
array('name' => t('Lesotho'), 'iso2' => 'LS', 'iso3' => 'LSO'),
|
| 634 |
array('name' => t('Liberia'), 'iso2' => 'LR', 'iso3' => 'LBR'),
|
| 635 |
array('name' => t('Libyan Arab Jamahiriya'), 'iso2' => 'LY', 'iso3' => 'LBY'),
|
| 636 |
array('name' => t('Liechtenstein'), 'iso2' => 'LI', 'iso3' => 'LIE'),
|
| 637 |
array('name' => t('Lithuania'), 'iso2' => 'LT', 'iso3' => 'LTU'),
|
| 638 |
array('name' => t('Luxembourg'), 'iso2' => 'LU', 'iso3' => 'LUX'),
|
| 639 |
|
| 640 |
// m
|
| 641 |
array('name' => t('Macao'), 'iso2' => 'MO', 'iso3' => 'MAC'),
|
| 642 |
array('name' => t('Macedonia, The Former Yugoslav Republic of'), 'iso2' => 'MK', 'iso3' => 'MKD'),
|
| 643 |
array('name' => t('Madagascar'), 'iso2' => 'MG', 'iso3' => 'MDG'),
|
| 644 |
array('name' => t('Malawi'), 'iso2' => 'MW', 'iso3' => 'MWI'),
|
| 645 |
array('name' => t('Malaysia'), 'iso2' => 'MY', 'iso3' => 'MYS'),
|
| 646 |
array('name' => t('Maldives'), 'iso2' => 'MV', 'iso3' => 'MDV'),
|
| 647 |
array('name' => t('Mali'), 'iso2' => 'ML', 'iso3' => 'MLI'),
|
| 648 |
array('name' => t('Malta'), 'iso2' => 'MT', 'iso3' => 'MLT'),
|
| 649 |
array('name' => t('Marshall Islands'), 'iso2' => 'MH', 'iso3' => 'MHL'),
|
| 650 |
array('name' => t('Martinique'), 'iso2' => 'MQ', 'iso3' => 'MTQ'),
|
| 651 |
array('name' => t('Mauritania'), 'iso2' => 'MR', 'iso3' => 'MRT'),
|
| 652 |
array('name' => t('Mauritius'), 'iso2' => 'MU', 'iso3' => 'MUS'),
|
| 653 |
array('name' => t('Mayotte'), 'iso2' => 'YT', 'iso3' => 'MYT'),
|
| 654 |
array('name' => t('Mexico'), 'iso2' => 'MX', 'iso3' => 'MEX'),
|
| 655 |
array('name' => t('Micronesia, Federated States of'), 'iso2' => 'FM', 'iso3' => 'FSM'),
|
| 656 |
array('name' => t('Moldova, Republic of'), 'iso2' => 'MD', 'iso3' => 'MDA'),
|
| 657 |
array('name' => t('Monaco'), 'iso2' => 'MC', 'iso3' => 'MCO'),
|
| 658 |
array('name' => t('Mongolia'), 'iso2' => 'MN', 'iso3' => 'MNG'),
|
| 659 |
array('name' => t('Montenegro'), 'iso2' => 'ME', 'iso3' => 'MNE'),
|
| 660 |
array('name' => t('Montserrat'), 'iso2' => 'MS', 'iso3' => 'MSR'),
|
| 661 |
array('name' => t('Morocco'), 'iso2' => 'MA', 'iso3' => 'MAR'),
|
| 662 |
array('name' => t('Mozambique'), 'iso2' => 'MZ', 'iso3' => 'MOZ'),
|
| 663 |
array('name' => t('Myanmar'), 'iso2' => 'MM', 'iso3' => 'MMR'),
|
| 664 |
|
| 665 |
// n
|
| 666 |
array('name' => t('Namibia'), 'iso2' => 'NA', 'iso3' => 'NAM'),
|
| 667 |
array('name' => t('Nauru'), 'iso2' => 'NR', 'iso3' => 'NRU'),
|
| 668 |
array('name' => t('Nepal'), 'iso2' => 'NP', 'iso3' => 'NPL'),
|
| 669 |
array('name' => t('Netherlands'), 'iso2' => 'NL', 'iso3' => 'NLD'),
|
| 670 |
array('name' => t('Netherlands Antilles'), 'iso2' => 'AN', 'iso3' => 'ANT'),
|
| 671 |
array('name' => t('New Caledonia'), 'iso2' => 'NC', 'iso3' => 'NCL'),
|
| 672 |
array('name' => t('New Zealand'), 'iso2' => 'NZ', 'iso3' => 'NZL'),
|
| 673 |
array('name' => t('Nicaragua'), 'iso2' => 'NI', 'iso3' => 'NIC'),
|
| 674 |
array('name' => t('Niger'), 'iso2' => 'NE', 'iso3' => 'NER'),
|
| 675 |
array('name' => t('Nigeria'), 'iso2' => 'NG', 'iso3' => 'NGA'),
|
| 676 |
array('name' => t('Niue'), 'iso2' => 'NU', 'iso3' => 'NIU'),
|
| 677 |
array('name' => t('Norfolk Island'), 'iso2' => 'NF', 'iso3' => 'NFK'),
|
| 678 |
array('name' => t('Northern Mariana Islands'), 'iso2' => 'MP', 'iso3' => 'MNP'),
|
| 679 |
array('name' => t('Norway'), 'iso2' => 'NO', 'iso3' => 'NOR'),
|
| 680 |
|
| 681 |
// o
|
| 682 |
array('name' => t('Oman'), 'iso2' => 'OM', 'iso3' => 'OMN'),
|
| 683 |
|
| 684 |
// p
|
| 685 |
array('name' => t('Pakistan'), 'iso2' => 'PK', 'iso3' => 'PAK'),
|
| 686 |
array('name' => t('Palau'), 'iso2' => 'PW', 'iso3' => 'PLW'),
|
| 687 |
array('name' => t('Palestinian Territory, Occupied'), 'iso2' => 'PS', 'iso3' => 'PSE'),
|
| 688 |
array('name' => t('Panama'), 'iso2' => 'PA', 'iso3' => 'PAN'),
|
| 689 |
array('name' => t('Papua New Guinea'), 'iso2' => 'PG', 'iso3' => 'PNG'),
|
| 690 |
array('name' => t('Paraguay'), 'iso2' => 'PY', 'iso3' => 'PRY'),
|
| 691 |
array('name' => t('Peru'), 'iso2' => 'PE', 'iso3' => 'PER'),
|
| 692 |
array('name' => t('Philippines'), 'iso2' => 'PH', 'iso3' => 'PHL'),
|
| 693 |
array('name' => t('Pitcairn'), 'iso2' => 'PN', 'iso3' => 'PCN'),
|
| 694 |
array('name' => t('Poland'), 'iso2' => 'PL', 'iso3' => 'POL'),
|
| 695 |
array('name' => t('Portugal'), 'iso2' => 'PT', 'iso3' => 'PRT'),
|
| 696 |
array('name' => t('Puerto Rico'), 'iso2' => 'PR', 'iso3' => 'PRI'),
|
| 697 |
|
| 698 |
// q
|
| 699 |
array('name' => t('Qatar'), 'iso2' => 'QA', 'iso3' => 'QAT'),
|
| 700 |
|
| 701 |
// r
|
| 702 |
array('name' => t('Réunion'), 'iso2' => 'RE', 'iso3' => 'REU'),
|
| 703 |
array('name' => t('Romania'), 'iso2' => 'RO', 'iso3' => 'ROU'),
|
| 704 |
array('name' => t('Russian Federation'), 'iso2' => 'RU', 'iso3' => 'RUS'),
|
| 705 |
array('name' => t('Rwanda'), 'iso2' => 'RW', 'iso3' => 'RWA'),
|
| 706 |
|
| 707 |
// s
|
| 708 |
array('name' => t('Saint Barthélemy'), 'iso2' => 'BL', 'iso3' => 'BLM'),
|
| 709 |
array('name' => t('Saint Helena'), 'iso2' => 'SH', 'iso3' => 'SHN'),
|
| 710 |
array('name' => t('Saint Kitts and Nevis'), 'iso2' => 'KN', 'iso3' => 'KNA'),
|
| 711 |
array('name' => t('Saint Lucia'), 'iso2' => 'LC', 'iso3' => 'LCA'),
|
| 712 |
array('name' => t('Saint Martin'), 'iso2' => 'MF', 'iso3' => 'MAF'),
|
| 713 |
array('name' => t('Saint Pierre and Miquelon'), 'iso2' => 'PM', 'iso3' => 'SPM'),
|
| 714 |
array('name' => t('Saint Vincent and the Grenadines'), 'iso2' => 'VC', 'iso3' => 'VCT'),
|
| 715 |
array('name' => t('Samoa'), 'iso2' => 'WS', 'iso3' => 'WSM'),
|
| 716 |
array('name' => t('San Marino'), 'iso2' => 'SM', 'iso3' => 'SMR'),
|
| 717 |
array('name' => t('Sao Tome and Principe'), 'iso2' => 'ST', 'iso3' => 'STP'),
|
| 718 |
array('name' => t('Saudi Arabia'), 'iso2' => 'SA', 'iso3' => 'SAU'),
|
| 719 |
array('name' => t('Senegal'), 'iso2' => 'SN', 'iso3' => 'SEN'),
|
| 720 |
array('name' => t('Serbia'), 'iso2' => 'RS', 'iso3' => 'SRB'),
|
| 721 |
array('name' => t('Seychelles'), 'iso2' => 'SC', 'iso3' => 'SYC'),
|
| 722 |
array('name' => t('Sierra Leone'), 'iso2' => 'SL', 'iso3' => 'SLE'),
|
| 723 |
array('name' => t('Singapore'), 'iso2' => 'SG', 'iso3' => 'SGP'),
|
| 724 |
array('name' => t('Slovakia'), 'iso2' => 'SK', 'iso3' => 'SVK'),
|
| 725 |
array('name' => t('Slovenia'), 'iso2' => 'SI', 'iso3' => 'SVN'),
|
| 726 |
array('name' => t('Solomon Islands'), 'iso2' => 'SB', 'iso3' => 'SLB'),
|
| 727 |
array('name' => t('Somalia'), 'iso2' => 'SO', 'iso3' => 'SOM'),
|
| 728 |
array('name' => t('South Africa'), 'iso2' => 'ZA', 'iso3' => 'ZAF'),
|
| 729 |
array('name' => t('South Georgia and the South Sandwich Islands'), 'iso2' => 'GS', 'iso3' => 'SGS'),
|
| 730 |
array('name' => t('Spain'), 'iso2' => 'ES', 'iso3' => 'ESP'),
|
| 731 |
array('name' => t('Sri Lanka'), 'iso2' => 'LK', 'iso3' => 'LKA'),
|
| 732 |
array('name' => t('Sudan'), 'iso2' => 'SD', 'iso3' => 'SDN'),
|
| 733 |
array('name' => t('Suriname'), 'iso2' => 'SR', 'iso3' => 'SUR'),
|
| 734 |
array('name' => t('Svalbard and Jan Mayen'), 'iso2' => 'SJ', 'iso3' => 'SJM'),
|
| 735 |
array('name' => t('Swaziland'), 'iso2' => 'SZ', 'iso3' => 'SWZ'),
|
| 736 |
array('name' => t('Sweden'), 'iso2' => 'SE', 'iso3' => 'SWE'),
|
| 737 |
array('name' => t('Switzerland'), 'iso2' => 'CH', 'iso3' => 'CHE'),
|
| 738 |
array('name' => t('Syrian Arab Republic'), 'iso2' => 'SY', 'iso3' => 'SYR'),
|
| 739 |
|
| 740 |
// t
|
| 741 |
array('name' => t('Taiwan, Province of China'), 'iso2' => 'TW', 'iso3' => 'TWN'),
|
| 742 |
array('name' => t('Tajikistan'), 'iso2' => 'TJ', 'iso3' => 'TJK'),
|
| 743 |
array('name' => t('Tanzania, United Republic of'), 'iso2' => 'TZ', 'iso3' => 'TZA'),
|
| 744 |
array('name' => t('Thailand'), 'iso2' => 'TH', 'iso3' => 'THA'),
|
| 745 |
array('name' => t('Timor-Leste'), 'iso2' => 'TL', 'iso3' => 'TLS'),
|
| 746 |
array('name' => t('Togo'), 'iso2' => 'TG', 'iso3' => 'TGO'),
|
| 747 |
array('name' => t('Tokelau'), 'iso2' => 'TK', 'iso3' => 'TKL'),
|
| 748 |
array('name' => t('Tonga'), 'iso2' => 'TO', 'iso3' => 'TON'),
|
| 749 |
array('name' => t('Trinidad and Tobago'), 'iso2' => 'TT', 'iso3' => 'TTO'),
|
| 750 |
array('name' => t('Tunisia'), 'iso2' => 'TN', 'iso3' => 'TUN'),
|
| 751 |
array('name' => t('Turkey'), 'iso2' => 'TR', 'iso3' => 'TUR'),
|
| 752 |
array('name' => t('Turkmenistan'), 'iso2' => 'TM', 'iso3' => 'TKM'),
|
| 753 |
array('name' => t('Turks and Caicos Islands'), 'iso2' => 'TC', 'iso3' => 'TCA'),
|
| 754 |
array('name' => t('Tuvalu'), 'iso2' => 'TV', 'iso3' => 'TUV'),
|
| 755 |
|
| 756 |
// u
|
| 757 |
array('name' => t('Uganda'), 'iso2' => 'UG', 'iso3' => 'UGA'),
|
| 758 |
array('name' => t('Ukraine'), 'iso2' => 'UA', 'iso3' => 'UKR'),
|
| 759 |
array('name' => t('United Arab Emirates'), 'iso2' => 'AE', 'iso3' => 'ARE'),
|
| 760 |
array('name' => t('United Kingdom'), 'iso2' => 'GB', 'iso3' => 'GBR'),
|
| 761 |
array('name' => t('United States'), 'iso2' => 'US', 'iso3' => 'USA'),
|
| 762 |
array('name' => t('United States Minor Outlying Islands'), 'iso2' => 'UM', 'iso3' => 'UMI'),
|
| 763 |
array('name' => t('Uruguay'), 'iso2' => 'UY', 'iso3' => 'URY'),
|
| 764 |
array('name' => t('Uzbekistan'), 'iso2' => 'UZ', 'iso3' => 'UZB'),
|
| 765 |
|
| 766 |
// v
|
| 767 |
array('name' => t('Vanuatu'), 'iso2' => 'VU', 'iso3' => 'VUT'),
|
| 768 |
array('name' => t('Venezuela'), 'iso2' => 'VE', 'iso3' => 'VEN'),
|
| 769 |
array('name' => t('Viet Nam'), 'iso2' => 'VN', 'iso3' => 'VNM'),
|
| 770 |
array('name' => t('Virgin Islands, British'), 'iso2' => 'VG', 'iso3' => 'VGB'),
|
| 771 |
array('name' => t('Virgin Islands, U.S.'), 'iso2' => 'VI', 'iso3' => 'VIR'),
|
| 772 |
|
| 773 |
// w
|
| 774 |
array('name' => t('Wallis and Futuna'), 'iso2' => 'WF', 'iso3' => 'WLF'),
|
| 775 |
array('name' => t('Western Sahara'), 'iso2' => 'EH', 'iso3' => 'ESH'),
|
| 776 |
|
| 777 |
// y
|
| 778 |
array('name' => t('Yemen'), 'iso2' => 'YE', 'iso3' => 'YEM'),
|
| 779 |
|
| 780 |
// z
|
| 781 |
array('name' => t('Zambia'), 'iso2' => 'ZM', 'iso3' => 'ZMB'),
|
| 782 |
array('name' => t('Zimbabwe'), 'iso2' => 'ZW', 'iso3' => 'ZWE'));
|
| 783 |
|
| 784 |
return $_countries;
|
| 785 |
}
|