addressfield.administrative_areas.inc 31 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138
  1. <?php
  2. /**
  3. * Returns the predefined administrative areas.
  4. *
  5. * @param $country_code
  6. * The country code for which administrative areas should be returned.
  7. *
  8. * @return
  9. * An array of predefined administrative areas for the given country code, or
  10. * NULL if not found.
  11. */
  12. function addressfield_get_administrative_areas($country_code) {
  13. // Maintain a static cache to avoid passing the administrative areas through
  14. // t() more than once per request.
  15. $administrative_areas = &drupal_static(__FUNCTION__, array());
  16. if (empty($administrative_areas)) {
  17. // Get the default administrative areas.
  18. $administrative_areas = _addressfield_get_administrative_areas_defaults();
  19. // Allow other modules to alter the administrative areas.
  20. drupal_alter('addressfield_administrative_areas', $administrative_areas);
  21. }
  22. return isset($administrative_areas[$country_code]) ? $administrative_areas[$country_code] : NULL;
  23. }
  24. /**
  25. * Provides the default administrative areas.
  26. */
  27. function _addressfield_get_administrative_areas_defaults() {
  28. // To avoid needless pollution of the strings list we only pass to t()
  29. // those administrative areas that are in English (or a latin transcription),
  30. // and belong to a country that either has multiple official languages (CA)
  31. // or uses a non-latin script (AE, CN, JP, KR, UA, RU, etc).
  32. // No translation is expected in other cases.
  33. $administrative_areas = array();
  34. $administrative_areas['AE'] = array(
  35. 'AZ' => t('Abu Dhabi'),
  36. 'FU' => t('Fujairah'),
  37. 'UQ' => t('Umm al-Quwain'),
  38. 'SH' => t('Sharjah'),
  39. 'DU' => t('Dubai'),
  40. 'RK' => t('Ras al-Khaimah'),
  41. 'AJ' => t('Ajmān'),
  42. );
  43. $administrative_areas['AR'] = array(
  44. 'B' => 'Buenos Aires',
  45. 'K' => 'Catamarca',
  46. 'H' => 'Chaco',
  47. 'U' => 'Chubut',
  48. 'C' => 'Ciudad de Buenos Aires',
  49. 'X' => 'Córdoba',
  50. 'W' => 'Corrientes',
  51. 'E' => 'Entre Ríos',
  52. 'P' => 'Formosa',
  53. 'Y' => 'Jujuy',
  54. 'L' => 'La Pampa',
  55. 'F' => 'La Rioja',
  56. 'M' => 'Mendoza',
  57. 'N' => 'Misiones',
  58. 'Q' => 'Neuquén',
  59. 'R' => 'Río Negro',
  60. 'A' => 'Salta',
  61. 'J' => 'San Juan',
  62. 'D' => 'San Luis',
  63. 'Z' => 'Santa Cruz',
  64. 'S' => 'Santa Fe',
  65. 'G' => 'Santiago del Estero',
  66. 'V' => 'Tierra del Fuego',
  67. 'T' => 'Tucumán',
  68. );
  69. $administrative_areas['AU'] = array(
  70. 'ACT' => 'Australian Capital Territory',
  71. 'NSW' => 'New South Wales',
  72. 'NT' => 'Northern Territory',
  73. 'QLD' => 'Queensland',
  74. 'SA' => 'South Australia',
  75. 'TAS' => 'Tasmania',
  76. 'VIC' => 'Victoria',
  77. 'WA' => 'Western Australia',
  78. );
  79. $administrative_areas['BR'] = array(
  80. 'AC' => 'Acre',
  81. 'AL' => 'Alagoas',
  82. 'AM' => 'Amazonas',
  83. 'AP' => 'Amapá',
  84. 'BA' => 'Bahia',
  85. 'CE' => 'Ceará',
  86. 'DF' => 'Distrito Federal',
  87. 'ES' => 'Espírito Santo',
  88. 'GO' => 'Goiás',
  89. 'MA' => 'Maranhão',
  90. 'MG' => 'Minas Gerais',
  91. 'MS' => 'Mato Grosso do Sul',
  92. 'MT' => 'Mato Grosso',
  93. 'PA' => 'Pará',
  94. 'PB' => 'Paraíba',
  95. 'PE' => 'Pernambuco',
  96. 'PI' => 'Piauí',
  97. 'PR' => 'Paraná',
  98. 'RJ' => 'Rio de Janeiro',
  99. 'RN' => 'Rio Grande do Norte',
  100. 'RO' => 'Rondônia',
  101. 'RR' => 'Roraima',
  102. 'RS' => 'Rio Grande do Sul',
  103. 'SC' => 'Santa Catarina',
  104. 'SE' => 'Sergipe',
  105. 'SP' => 'São Paulo',
  106. 'TO' => 'Tocantins',
  107. );
  108. $administrative_areas['CA'] = array(
  109. 'AB' => t('Alberta'),
  110. 'BC' => t('British Columbia'),
  111. 'MB' => t('Manitoba'),
  112. 'NB' => t('New Brunswick'),
  113. 'NL' => t('Newfoundland and Labrador'),
  114. 'NT' => t('Northwest Territories'),
  115. 'NS' => t('Nova Scotia'),
  116. 'NU' => t('Nunavut'),
  117. 'ON' => t('Ontario'),
  118. 'PE' => t('Prince Edward Island'),
  119. 'QC' => t('Quebec'),
  120. 'SK' => t('Saskatchewan'),
  121. 'YT' => t('Yukon Territory'),
  122. );
  123. $administrative_areas['CL'] = array(
  124. 'AI' => 'Aysén del General Carlos Ibáñez del Campo',
  125. 'AN' => 'Antofagasta',
  126. 'AR' => 'Araucanía',
  127. 'AP' => 'Arica y Parinacota',
  128. 'AT' => 'Atacama',
  129. 'BI' => 'Biobío',
  130. 'CO' => 'Coquimbo',
  131. 'LI' => "Libertador General Bernardo O'Higgins",
  132. 'LL' => 'Los Lagos',
  133. 'LR' => 'Los Ríos',
  134. 'MA' => 'Magallanes y de la Antártica Chilena',
  135. 'ML' => 'Maule',
  136. 'RM' => 'Metropolitana de Santiago',
  137. 'TA' => 'Tarapacá',
  138. 'VS' => 'Valparaíso',
  139. );
  140. $administrative_areas['CN'] = array(
  141. '34' => t('Anhui Sheng'),
  142. '92' => t('Macau'),
  143. '11' => t('Beijing Shi'),
  144. '50' => t('Chongqing Shi'),
  145. '35' => t('Fujian Sheng'),
  146. '62' => t('Gansu Sheng'),
  147. '44' => t('Guangdong Sheng'),
  148. '45' => t('Guangxi Zhuangzuzizhiqu'),
  149. '52' => t('Guizhou Sheng'),
  150. '46' => t('Hainan Sheng'),
  151. '13' => t('Hebei Sheng'),
  152. '41' => t('Henan Sheng'),
  153. '23' => t('Heilongjiang Sheng'),
  154. '42' => t('Hubei Sheng'),
  155. '43' => t('Hunan Sheng'),
  156. '22' => t('Jilin Sheng'),
  157. '32' => t('Jiangsu Sheng'),
  158. '36' => t('Jiangxi Sheng'),
  159. '21' => t('Liaoning Sheng'),
  160. '15' => t('Neimenggu Zizhiqu'),
  161. '64' => t('Ningxia Huizuzizhiqu'),
  162. '63' => t('Qinghai Sheng'),
  163. '37' => t('Shandong Sheng'),
  164. '14' => t('Shanxi Sheng'),
  165. '61' => t('Shaanxi Sheng'),
  166. '31' => t('Shanghai Shi'),
  167. '51' => t('Sichuan Sheng'),
  168. '71' => t('Taiwan'),
  169. '12' => t('Tianjin Shi'),
  170. '54' => t('Xizang Zizhiqu'),
  171. '91' => t('Hong Kong'),
  172. '65' => t('Xinjiang Weiwuerzizhiqu'),
  173. '53' => t('Yunnan Sheng'),
  174. '33' => t('Zhejiang Sheng'),
  175. );
  176. $administrative_areas['CO'] = array(
  177. 'AMA' => 'Amazonas',
  178. 'ANT' => 'Antioquia',
  179. 'ARA' => 'Arauca',
  180. 'ATL' => 'Atlántico',
  181. 'BOL' => 'Bolívar',
  182. 'BOY' => 'Boyacá',
  183. 'CAL' => 'Caldas',
  184. 'CAQ' => 'Caquetá',
  185. 'CAS' => 'Casanare',
  186. 'CAU' => 'Cauca',
  187. 'CES' => 'Cesar',
  188. 'COR' => 'Córdoba',
  189. 'CUN' => 'Cundinamarca',
  190. 'CHO' => 'Chocó',
  191. 'GUA' => 'Guainía',
  192. 'GUV' => 'Guaviare',
  193. 'HUI' => 'Huila',
  194. 'LAG' => 'La Guajira',
  195. 'MAG' => 'Magdalena',
  196. 'MET' => 'Meta',
  197. 'NAR' => 'Nariño',
  198. 'NSA' => 'Norte de Santander',
  199. 'PUT' => 'Putumayo',
  200. 'QUI' => 'Quindío',
  201. 'RIS' => 'Risaralda',
  202. 'SAP' => 'San Andrés, Providencia y Santa Catalina',
  203. 'SAN' => 'Santander',
  204. 'SUC' => 'Sucre',
  205. 'TOL' => 'Tolima',
  206. 'VAC' => 'Valle del Cauca',
  207. 'VAU' => 'Vaupés',
  208. 'VID' => 'Vichada',
  209. );
  210. $administrative_areas['EE'] = array(
  211. '37' => 'Harjumaa',
  212. '39' => 'Hiiumaa',
  213. '44' => 'Ida-Virumaa',
  214. '49' => 'Jõgevamaa',
  215. '51' => 'Järvamaa',
  216. '57' => 'Läänemaa',
  217. '59' => 'Lääne-Virumaa',
  218. '65' => 'Põlvamaa',
  219. '67' => 'Pärnumaa',
  220. '70' => 'Raplamaa',
  221. '74' => 'Saaremaa',
  222. '78' => 'Tartumaa',
  223. '82' => 'Valgamaa',
  224. '84' => 'Viljandimaa',
  225. '86' => 'Võrumaa',
  226. );
  227. $administrative_areas['EG'] = array(
  228. 'ALX' => t('Alexandria'),
  229. 'ASN' => t('Aswan'),
  230. 'AST' => t('Asyut'),
  231. 'BH' => t('Beheira'),
  232. 'BNS' => t('Beni Suef'),
  233. 'C' => t('Cairo'),
  234. 'DK' => t('Dakahlia'),
  235. 'DT' => t('Damietta'),
  236. 'FYM' => t('Faiyum'),
  237. 'GH' => t('Gharbia'),
  238. 'GZ' => t('Giza'),
  239. 'IS' => t('Ismailia'),
  240. 'KFS' => t('Kafr el-Sheikh'),
  241. 'MT' => t('Matruh'),
  242. 'MN' => t('Minya'),
  243. 'MNF' => t('Monufia'),
  244. 'WAD' => t('New Valley'),
  245. 'SIN' => t('North Sinai'),
  246. 'PTS' => t('Port Said'),
  247. 'KB' => t('Qalyubia'),
  248. 'KN' => t('Qena'),
  249. 'BA' => t('Red Sea'),
  250. 'SHR' => t('Sharqia'),
  251. 'SHG' => t('Sohag'),
  252. 'JS' => t('South Sinai'),
  253. 'SUZ' => t('Suez'),
  254. 'LX' => t('Luxor'),
  255. );
  256. $administrative_areas['ES'] = array(
  257. 'C' => "A Coruña",
  258. 'VI' => 'Alava',
  259. 'AB' => 'Albacete',
  260. 'A' => 'Alicante',
  261. 'AL' => "Almería",
  262. 'O' => 'Asturias',
  263. 'AV' => "Ávila",
  264. 'BA' => 'Badajoz',
  265. 'PM' => 'Baleares',
  266. 'B' => 'Barcelona',
  267. 'BU' => 'Burgos',
  268. 'CC' => "Cáceres",
  269. 'CA' => "Cádiz",
  270. 'S' => 'Cantabria',
  271. 'CS' => "Castellón",
  272. 'CE' => 'Ceuta',
  273. 'CR' => 'Ciudad Real',
  274. 'CO' => "Córdoba",
  275. 'CU' => 'Cuenca',
  276. 'GI' => 'Girona',
  277. 'GR' => 'Granada',
  278. 'GU' => 'Guadalajara',
  279. 'SS' => "Guipúzcoa",
  280. 'H' => 'Huelva',
  281. 'HU' => 'Huesca',
  282. 'J' => "Jaén",
  283. 'LO' => 'La Rioja',
  284. 'GC' => 'Las Palmas',
  285. 'LE' => "León",
  286. 'L' => "Lleida",
  287. 'LU' => 'Lugo',
  288. 'M' => 'Madrid',
  289. 'MA' => "Málaga",
  290. 'ML' => 'Melilla',
  291. 'MU' => 'Murcia',
  292. 'NA' => 'Navarra',
  293. 'OR' => 'Ourense',
  294. 'P' => 'Palencia',
  295. 'PO' => 'Pontevedra',
  296. 'SA' => 'Salamanca',
  297. 'TF' => 'Santa Cruz de Tenerife',
  298. 'SG' => 'Segovia',
  299. 'SE' => 'Sevilla',
  300. 'SO' => 'Soria',
  301. 'T' => 'Tarragona',
  302. 'TE' => 'Teruel',
  303. 'TO' => 'Toledo',
  304. 'V' => 'Valencia',
  305. 'VA' => 'Valladolid',
  306. 'BI' => 'Vizcaya',
  307. 'ZA' => 'Zamora',
  308. 'Z' => 'Zaragoza',
  309. );
  310. $administrative_areas['HK'] = array(
  311. // HK subdivisions have no ISO codes assigned.
  312. 'Kowloon' => t('Kowloon'),
  313. 'Hong Kong Island' => t('Hong Kong Island'),
  314. 'New Territories' => t('New Territories'),
  315. );
  316. $administrative_areas['ID'] = array(
  317. 'AC' => t('Aceh'),
  318. 'BA' => t('Bali'),
  319. 'BB' => t('Bangka Belitung'),
  320. 'BT' => t('Banten'),
  321. 'BE' => t('Bengkulu'),
  322. 'JK' => t('DKI Jakarta'),
  323. 'YO' => t('D.I. Yogyakarta'),
  324. 'GO' => t('Gorontalo'),
  325. 'JA' => t('Jambi'),
  326. 'JB' => t('Jawa Barat'),
  327. 'JT' => t('Jawa Tengah'),
  328. 'JI' => t('Jawa Timur'),
  329. 'KB' => t('Kalimantan Barat'),
  330. 'KS' => t('Kalimantan Selatan'),
  331. 'KT' => t('Kalimantan Tengah'),
  332. 'KI' => t('Kalimantan Timur'),
  333. 'KR' => t('Kepulauan Riau'),
  334. 'LA' => t('Lampung'),
  335. 'MA' => t('Maluku'),
  336. 'MU' => t('Maluku Utara'),
  337. 'NB' => t('Nusa Tenggara Barat'),
  338. 'NT' => t('Nusa Tenggara Timur'),
  339. 'PA' => t('Papua'),
  340. 'PB' => t('Papua Barat'),
  341. 'RI' => t('Riau'),
  342. 'SR' => t('Sulawesi Barat'),
  343. 'SN' => t('Sulawesi Selatan'),
  344. 'ST' => t('Sulawesi Tengah'),
  345. 'SG' => t('Sulawesi Tenggara'),
  346. 'SA' => t('Sulawesi Utara'),
  347. 'SB' => t('Sumatera Barat'),
  348. 'SS' => t('Sumatera Selatan'),
  349. 'SU' => t('Sumatera Utara'),
  350. );
  351. $administrative_areas['IE'] = array(
  352. 'CW' => 'Co Carlow',
  353. 'CN' => 'Co Cavan',
  354. 'CE' => 'Co Clare',
  355. 'CO' => 'Co Cork',
  356. 'DL' => 'Co Donegal',
  357. 'D' => 'Co Dublin',
  358. 'D1' => 'Dublin 1',
  359. 'D2' => 'Dublin 2',
  360. 'D3' => 'Dublin 3',
  361. 'D4' => 'Dublin 4',
  362. 'D5' => 'Dublin 5',
  363. 'D6' => 'Dublin 6',
  364. 'D6W' => 'Dublin 6w',
  365. 'D7' => 'Dublin 7',
  366. 'D8' => 'Dublin 8',
  367. 'D9' => 'Dublin 9',
  368. 'D10' => 'Dublin 10',
  369. 'D11' => 'Dublin 11',
  370. 'D12' => 'Dublin 12',
  371. 'D13' => 'Dublin 13',
  372. 'D14' => 'Dublin 14',
  373. 'D15' => 'Dublin 15',
  374. 'D16' => 'Dublin 16',
  375. 'D17' => 'Dublin 17',
  376. 'D18' => 'Dublin 18',
  377. 'D19' => 'Dublin 19',
  378. 'D20' => 'Dublin 20',
  379. 'D21' => 'Dublin 21',
  380. 'D22' => 'Dublin 22',
  381. 'D23' => 'Dublin 23',
  382. 'D24' => 'Dublin 24',
  383. 'G' => 'Co Galway',
  384. 'KY' => 'Co Kerry',
  385. 'KE' => 'Co Kildare',
  386. 'KK' => 'Co Kilkenny',
  387. 'LS' => 'Co Laois',
  388. 'LM' => 'Co Leitrim',
  389. 'LK' => 'Co Limerick',
  390. 'LD' => 'Co Longford',
  391. 'LH' => 'Co Louth',
  392. 'MO' => 'Co Mayo',
  393. 'MH' => 'Co Meath',
  394. 'MN' => 'Co Monaghan',
  395. 'OY' => 'Co Offaly',
  396. 'RN' => 'Co Roscommon',
  397. 'SO' => 'Co Sligo',
  398. 'TA' => 'Co Tipperary',
  399. 'WD' => 'Co Waterford',
  400. 'WH' => 'Co Westmeath',
  401. 'WX' => 'Co Wexford',
  402. 'WW' => 'Co Wicklow',
  403. );
  404. $administrative_areas['IN'] = array(
  405. 'AP' => t('Andhra Pradesh'),
  406. 'AR' => t('Arunachal Pradesh'),
  407. 'AS' => t('Assam'),
  408. 'BR' => t('Bihar'),
  409. 'CT' => t('Chhattisgarh'),
  410. 'GA' => t('Goa'),
  411. 'GJ' => t('Gujarat'),
  412. 'HP' => t('Himachal Pradesh'),
  413. 'HR' => t('Haryana'),
  414. 'JH' => t('Jharkhand'),
  415. 'JK' => t('Jammu & Kashmir'),
  416. 'KA' => t('Karnataka'),
  417. 'KL' => t('Kerala'),
  418. 'MH' => t('Maharashtra'),
  419. 'MN' => t('Manipur'),
  420. 'ML' => t('Meghalaya'),
  421. 'MP' => t('Madhya Pradesh'),
  422. 'MZ' => t('Mizoram'),
  423. 'NL' => t('Nagaland'),
  424. 'OR' => t('Odisha'),
  425. 'PB' => t('Punjab'),
  426. 'RJ' => t('Rajasthan'),
  427. 'SK' => t('Sikkim'),
  428. 'TN' => t('Tamil Nadu'),
  429. 'TG' => t('Telangana'),
  430. 'TR' => t('Tripura'),
  431. 'UP' => t('Uttar Pradesh'),
  432. 'UT' => t('Uttarakhand'),
  433. 'WB' => t('West Bengal'),
  434. ' ' => t('--'),
  435. 'AN' => t('Andaman & Nicobar'),
  436. 'CH' => t('Chandigarh'),
  437. 'DN' => t('Dadra & Nagar Haveli'),
  438. 'DD' => t('Daman & Diu'),
  439. 'DL' => t('Delhi'),
  440. 'LD' => t('Lakshadweep'),
  441. 'PY' => t('Puducherry'),
  442. );
  443. $administrative_areas['IT'] = array(
  444. 'AG' => 'Agrigento',
  445. 'AL' => 'Alessandria',
  446. 'AN' => 'Ancona',
  447. 'AO' => 'Aosta',
  448. 'AR' => 'Arezzo',
  449. 'AP' => 'Ascoli Piceno',
  450. 'AT' => 'Asti',
  451. 'AV' => 'Avellino',
  452. 'BA' => 'Bari',
  453. 'BT' => 'Barletta-Andria-Trani',
  454. 'BL' => 'Belluno',
  455. 'BN' => 'Benevento',
  456. 'BG' => 'Bergamo',
  457. 'BI' => 'Biella',
  458. 'BO' => 'Bologna',
  459. 'BZ' => 'Bolzano/Bozen',
  460. 'BS' => 'Brescia',
  461. 'BR' => 'Brindisi',
  462. 'CA' => 'Cagliari',
  463. 'CL' => 'Caltanissetta',
  464. 'CB' => 'Campobasso',
  465. 'CI' => 'Carbonia-Iglesias',
  466. 'CE' => 'Caserta',
  467. 'CT' => 'Catania',
  468. 'CZ' => 'Catanzaro',
  469. 'CH' => 'Chieti',
  470. 'CO' => 'Como',
  471. 'CS' => 'Cosenza',
  472. 'CR' => 'Cremona',
  473. 'KR' => 'Crotone',
  474. 'CN' => 'Cuneo',
  475. 'EN' => 'Enna',
  476. 'FM' => 'Fermo',
  477. 'FE' => 'Ferrara',
  478. 'FI' => 'Firenze',
  479. 'FG' => 'Foggia',
  480. 'FC' => 'Forlì-Cesena',
  481. 'FR' => 'Frosinone',
  482. 'GE' => 'Genova',
  483. 'GO' => 'Gorizia',
  484. 'GR' => 'Grosseto',
  485. 'IM' => 'Imperia',
  486. 'IS' => 'Isernia',
  487. 'AQ' => "L'Aquila",
  488. 'SP' => 'La Spezia',
  489. 'LT' => 'Latina',
  490. 'LE' => 'Lecce',
  491. 'LC' => 'Lecco',
  492. 'LI' => 'Livorno',
  493. 'LO' => 'Lodi',
  494. 'LU' => 'Lucca',
  495. 'MC' => 'Macerata',
  496. 'MN' => 'Mantova',
  497. 'MS' => 'Massa-Carrara',
  498. 'MT' => 'Matera',
  499. 'VS' => 'Medio Campidano',
  500. 'ME' => 'Messina',
  501. 'MI' => 'Milano',
  502. 'MO' => 'Modena',
  503. 'MB' => 'Monza e Brianza',
  504. 'NA' => 'Napoli',
  505. 'NO' => 'Novara',
  506. 'NU' => 'Nuoro',
  507. 'OG' => 'Ogliastra',
  508. 'OT' => 'Olbia-Tempio',
  509. 'OR' => 'Oristano',
  510. 'PD' => 'Padova',
  511. 'PA' => 'Palermo',
  512. 'PR' => 'Parma',
  513. 'PV' => 'Pavia',
  514. 'PG' => 'Perugia',
  515. 'PU' => 'Pesaro e Urbino',
  516. 'PE' => 'Pescara',
  517. 'PC' => 'Piacenza',
  518. 'PI' => 'Pisa',
  519. 'PT' => 'Pistoia',
  520. 'PN' => 'Pordenone',
  521. 'PZ' => 'Potenza',
  522. 'PO' => 'Prato',
  523. 'RG' => 'Ragusa',
  524. 'RA' => 'Ravenna',
  525. 'RC' => 'Reggio Calabria',
  526. 'RE' => 'Reggio Emilia',
  527. 'RI' => 'Rieti',
  528. 'RN' => 'Rimini',
  529. 'RM' => 'Roma',
  530. 'RO' => 'Rovigo',
  531. 'SA' => 'Salerno',
  532. 'SS' => 'Sassari',
  533. 'SV' => 'Savona',
  534. 'SI' => 'Siena',
  535. 'SR' => 'Siracusa',
  536. 'SO' => 'Sondrio',
  537. 'TA' => 'Taranto',
  538. 'TE' => 'Teramo',
  539. 'TR' => 'Terni',
  540. 'TO' => 'Torino',
  541. 'TP' => 'Trapani',
  542. 'TN' => 'Trento',
  543. 'TV' => 'Treviso',
  544. 'TS' => 'Trieste',
  545. 'UD' => 'Udine',
  546. 'VA' => 'Varese',
  547. 'VE' => 'Venezia',
  548. 'VB' => 'Verbano-Cusio-Ossola',
  549. 'VC' => 'Vercelli',
  550. 'VR' => 'Verona',
  551. 'VV' => 'Vibo Valentia',
  552. 'VI' => 'Vicenza',
  553. 'VT' => 'Viterbo',
  554. );
  555. $administrative_areas['JM'] = array(
  556. '13' => 'Clarendon',
  557. '09' => 'Hanover',
  558. '01' => 'Kingston',
  559. '12' => 'Manchester',
  560. '04' => 'Portland',
  561. '02' => 'St. Andrew',
  562. '06' => 'St. Ann',
  563. '14' => 'St. Catherine',
  564. '11' => 'St. Elizabeth',
  565. '08' => 'St. James',
  566. '05' => 'St. Mary',
  567. '03' => 'St. Thomas',
  568. '07' => 'Trelawny',
  569. '10' => 'Westmoreland',
  570. );
  571. $administrative_areas['JP'] = array(
  572. '01' => t('Hokkaido'),
  573. '02' => t('Aomori'),
  574. '03' => t('Iwate'),
  575. '04' => t('Miyagi'),
  576. '05' => t('Akita'),
  577. '06' => t('Yamagata'),
  578. '07' => t('Fukushima'),
  579. '08' => t('Ibaraki'),
  580. '09' => t('Tochigi'),
  581. '10' => t('Gunma'),
  582. '11' => t('Saitama'),
  583. '12' => t('Chiba'),
  584. '13' => t('Tokyo'),
  585. '14' => t('Kanagawa'),
  586. '15' => t('Niigata'),
  587. '16' => t('Toyama'),
  588. '17' => t('Ishikawa'),
  589. '18' => t('Fukui'),
  590. '19' => t('Yamanashi'),
  591. '20' => t('Nagano'),
  592. '21' => t('Gifu'),
  593. '22' => t('Shizuoka'),
  594. '23' => t('Aichi'),
  595. '24' => t('Mie'),
  596. '25' => t('Shiga'),
  597. '26' => t('Kyoto'),
  598. '27' => t('Osaka'),
  599. '28' => t('Hyogo'),
  600. '29' => t('Nara'),
  601. '30' => t('Wakayama'),
  602. '31' => t('Tottori'),
  603. '32' => t('Shimane'),
  604. '33' => t('Okayama'),
  605. '34' => t('Hiroshima'),
  606. '35' => t('Yamaguchi'),
  607. '36' => t('Tokushima'),
  608. '37' => t('Kagawa'),
  609. '38' => t('Ehime'),
  610. '39' => t('Kochi'),
  611. '40' => t('Fukuoka'),
  612. '41' => t('Saga'),
  613. '42' => t('Nagasaki'),
  614. '43' => t('Kumamoto'),
  615. '44' => t('Oita'),
  616. '45' => t('Miyazaki'),
  617. '46' => t('Kagoshima'),
  618. '47' => t('Okinawa'),
  619. );
  620. $administrative_areas['KR'] = array(
  621. '11' => t('Seoul'),
  622. '26' => t('Busan'),
  623. '27' => t('Daegu'),
  624. '30' => t('Daejeon'),
  625. '29' => t('Gwangju'),
  626. '28' => t('Incheon'),
  627. '31' => t('Ulsan'),
  628. '43' => t('Chungcheongbuk-do'),
  629. '44' => t('Chungcheongnam-do'),
  630. '42' => t('Gangwon-do'),
  631. '41' => t('Gyeonggi-do'),
  632. '47' => t('Gyeongsangbuk-do'),
  633. '48' => t('Gyeongsangnam-do'),
  634. '49' => t('Jeju-do'),
  635. '45' => t('Jeollabuk-do'),
  636. '46' => t('Jeollanam-do'),
  637. '50' => t('Sejong'),
  638. );
  639. $administrative_areas['KZ'] = array(
  640. 'AST' => t('Astana'),
  641. 'ALA' => t('Almaty'),
  642. 'ALM' => t('Almaty region'),
  643. 'AKM' => t('Aqmola region'),
  644. 'AKT' => t('Aqtöbe region'),
  645. 'ATY' => t('Atyraū region'),
  646. 'ZAP' => t('Batys Qazaqstan region'),
  647. 'MAN' => t('Mangghystaū region'),
  648. 'YUZ' => t('Ongtüstik Qazaqstan region'),
  649. 'PAV' => t('Pavlodar region'),
  650. 'KAR' => t('Qaraghandy region'),
  651. 'KUS' => t('Qostanay region'),
  652. 'KZY' => t('Qyzylorda region'),
  653. 'VOS' => t('Shyghys Qazaqstan region'),
  654. 'SEV' => t('Soltüstik Qazaqstan region'),
  655. 'ZHA' => t('Zhambyl region'),
  656. );
  657. $administrative_areas['MX'] = array(
  658. 'AGU' => 'Aguascalientes',
  659. 'BCN' => 'Baja California',
  660. 'BCS' => 'Baja California Sur',
  661. 'CAM' => 'Campeche',
  662. 'CMX' => 'Ciudad de México',
  663. 'COA' => 'Coahuila',
  664. 'COL' => 'Colima',
  665. 'CHP' => 'Chiapas',
  666. 'CHH' => 'Chihuahua',
  667. 'DUG' => 'Durango',
  668. 'MEX' => 'Estado de México',
  669. 'GUA' => 'Guanajuato',
  670. 'GRO' => 'Guerrero',
  671. 'HID' => 'Hidalgo',
  672. 'JAL' => 'Jalisco',
  673. 'MIC' => 'Michoacán',
  674. 'MOR' => 'Morelos',
  675. 'NAY' => 'Nayarit',
  676. 'NLE' => 'Nuevo León',
  677. 'OAX' => 'Oaxaca',
  678. 'PUE' => 'Puebla',
  679. 'QUE' => 'Queretaro',
  680. 'ROO' => 'Quintana Roo',
  681. 'SLP' => 'San Luis Potosí',
  682. 'SIN' => 'Sinaloa',
  683. 'SON' => 'Sonora',
  684. 'TAB' => 'Tabasco',
  685. 'TAM' => 'Tamaulipas',
  686. 'TLA' => 'Tlaxcala',
  687. 'VER' => 'Veracruz',
  688. 'YUC' => 'Yucatán',
  689. 'ZAC' => 'Zacatecas',
  690. );
  691. $administrative_areas['MY'] = array(
  692. '01' => t('Johor'),
  693. '02' => t('Kedah'),
  694. '03' => t('Kelantan'),
  695. '14' => t('Kuala Lumpur'),
  696. '15' => t('Labuan'),
  697. '04' => t('Melaka'),
  698. '05' => t('Negeri Sembilan'),
  699. '06' => t('Pahang'),
  700. '08' => t('Perak'),
  701. '09' => t('Perlis'),
  702. '07' => t('Pulau Pinang'),
  703. '16' => t('Putrajaya'),
  704. '12' => t('Sabah'),
  705. '13' => t('Sarawak'),
  706. '10' => t('Selangor'),
  707. '11' => t('Terengganu'),
  708. );
  709. $administrative_areas['PE'] = array(
  710. 'AMA' => 'Amazonas',
  711. 'ANC' => 'Ancash',
  712. 'APU' => 'Apurimac',
  713. 'ARE' => 'Arequipa',
  714. 'AYA' => 'Ayacucho',
  715. 'CAJ' => 'Cajamarca',
  716. 'CAL' => 'Callao',
  717. 'CUS' => 'Cusco',
  718. 'HUV' => 'Huancavelica',
  719. 'HUC' => 'Huanuco',
  720. 'ICA' => 'Ica',
  721. 'JUN' => 'Junin',
  722. 'LAL' => 'La Libertad',
  723. 'LAM' => 'Lambayeque',
  724. 'LIM' => 'Lima',
  725. 'LOR' => 'Loreto',
  726. 'MDD' => 'Madre de Dios',
  727. 'MOQ' => 'Moquegua',
  728. 'PAS' => 'Pasco',
  729. 'PIU' => 'Piura',
  730. 'PUN' => 'Puno',
  731. 'SAM' => 'San Martin',
  732. 'TAC' => 'Tacna',
  733. 'TUM' => 'Tumbes',
  734. 'UCA' => 'Ucayali',
  735. );
  736. $administrative_areas['PH'] = array(
  737. 'ABR' => 'Abra',
  738. 'AGN' => 'Agusan del Norte',
  739. 'AGS' => 'Agusan del Sur',
  740. 'AKL' => 'Aklan',
  741. 'ALB' => 'Albay',
  742. 'ANT' => 'Antique',
  743. 'APA' => 'Apayao',
  744. 'AUR' => 'Aurora',
  745. 'BAS' => 'Basilan',
  746. 'BAN' => 'Bataan',
  747. 'BTN' => 'Batanes',
  748. 'BTG' => 'Batangas',
  749. 'BEN' => 'Benguet',
  750. 'BIL' => 'Biliran',
  751. 'BOH' => 'Bohol',
  752. 'BUK' => 'Bukidnon',
  753. 'BUL' => 'Bulacan',
  754. 'CAG' => 'Cagayan',
  755. 'CAN' => 'Camarines Norte',
  756. 'CAS' => 'Camarines Sur',
  757. 'CAM' => 'Camiguin',
  758. 'CAP' => 'Capiz',
  759. 'CAT' => 'Catanduanes',
  760. 'CAV' => 'Cavite',
  761. 'CEB' => 'Cebu',
  762. 'COM' => 'Compostela Valley',
  763. 'NCO' => 'Cotabato',
  764. 'DAV' => 'Davao del Norte',
  765. 'DAS' => 'Davao del Sur',
  766. 'a9d' => 'Davao Occidental',
  767. 'DAO' => 'Davao Oriental',
  768. 'DIN' => 'Dinagat Islands',
  769. 'EAS' => 'Eastern Samar',
  770. 'GUI' => 'Guimaras',
  771. 'IFU' => 'Ifugao',
  772. 'ILN' => 'Ilocos Norte',
  773. 'ILS' => 'Ilocos Sur',
  774. 'ILI' => 'Iloilo',
  775. 'ISA' => 'Isabela',
  776. 'KAL' => 'Kalinga',
  777. 'LUN' => 'La Union',
  778. 'LAG' => 'Laguna',
  779. 'LAN' => 'Lanao del Norte',
  780. 'LAS' => 'Lanao del Sur',
  781. 'LEY' => 'Leyte',
  782. 'MAG' => 'Maguindanao',
  783. 'MAD' => 'Marinduque',
  784. 'MAS' => 'Masbate',
  785. '00' => 'Metro Manila',
  786. 'MDC' => 'Mindoro Occidental',
  787. 'MDR' => 'Mindoro Oriental',
  788. 'MSC' => 'Misamis Occidental',
  789. 'MSR' => 'Misamis Oriental',
  790. 'MOU' => 'Mountain Province',
  791. 'NEC' => 'Negros Occidental',
  792. 'NER' => 'Negros Oriental',
  793. 'NSA' => 'Northern Samar',
  794. 'NUE' => 'Nueva Ecija',
  795. 'NUV' => 'Nueva Vizcaya',
  796. 'PLW' => 'Palawan',
  797. 'PAM' => 'Pampanga',
  798. 'PAN' => 'Pangasinan',
  799. 'QUE' => 'Quezon Province',
  800. 'QUI' => 'Quirino',
  801. 'RIZ' => 'Rizal',
  802. 'ROM' => 'Romblon',
  803. 'WSA' => 'Samar',
  804. 'SAR' => 'Sarangani',
  805. 'SIG' => 'Siquijor',
  806. 'SOR' => 'Sorsogon',
  807. 'SCO' => 'South Cotabato',
  808. 'SLE' => 'Southern Leyte',
  809. 'SUK' => 'Sultan Kudarat',
  810. 'SLU' => 'Sulu',
  811. 'SUN' => 'Surigao del Norte',
  812. 'SUR' => 'Surigao del Sur',
  813. 'TAR' => 'Tarlac',
  814. 'TAW' => 'Tawi-Tawi',
  815. 'ZMB' => 'Zambales',
  816. 'ZAN' => 'Zamboanga del Norte',
  817. 'ZAS' => 'Zamboanga del Sur',
  818. 'ZSI' => 'Zamboanga Sibuguey',
  819. );
  820. $administrative_areas['RU'] = array(
  821. 'MOW' => t('Moskva'),
  822. 'SPE' => t('Sankt-Peterburg'),
  823. 'AD' => t('Adygeya, Respublika'),
  824. 'AL' => t('Altay, Respublika'),
  825. 'BA' => t('Bashkortostan, Respublika'),
  826. 'BU' => t('Buryatiya, Respublika'),
  827. 'CE' => t('Chechenskaya Respublika'),
  828. 'CU' => t('Chuvashskaya Respublika'),
  829. 'DA' => t('Dagestan, Respublika'),
  830. 'IN' => t('Ingushetiya, Respublika'),
  831. 'KB' => t('Kabardino-Balkarskaya Respublika'),
  832. 'KL' => t('Kalmykiya, Respublika'),
  833. 'KC' => t('Karachayevo-Cherkesskaya Respublika'),
  834. 'KR' => t('Kareliya, Respublika'),
  835. 'KK' => t('Khakasiya, Respublika'),
  836. 'KO' => t('Komi, Respublika'),
  837. 'ME' => t('Mariy El, Respublika'),
  838. 'MO' => t('Mordoviya, Respublika'),
  839. 'SA' => t('Sakha, Respublika [Yakutiya]'),
  840. 'SE' => t('Severnaya Osetiya-Alaniya, Respublika'),
  841. 'TA' => t('Tatarstan, Respublika'),
  842. 'TY' => t('Tyva, Respublika [Tuva]'),
  843. 'UD' => t('Udmurtskaya Respublika'),
  844. 'ALT' => t('Altayskiy kray'),
  845. 'KAM' => t('Kamchatskiy kray'),
  846. 'KHA' => t('Khabarovskiy kray'),
  847. 'KDA' => t('Krasnodarskiy kray'),
  848. 'KYA' => t('Krasnoyarskiy kray'),
  849. 'PER' => t('Permskiy kray'),
  850. 'PRI' => t('Primorskiy kray'),
  851. 'STA' => t('Stavropolskiy kray'),
  852. 'ZAB' => t('Zabaykalskiy kray'),
  853. 'AMU' => t('Amurskaya oblast'),
  854. 'ARK' => t('Arkhangelskaya oblast'),
  855. 'AST' => t('Astrakhanskaya oblast'),
  856. 'BEL' => t('Belgorodskaya oblast'),
  857. 'BRY' => t('Bryanskaya oblast'),
  858. 'CHE' => t('Chelyabinskaya oblast'),
  859. 'IRK' => t('Irkutskaya oblast'),
  860. 'IVA' => t('Ivanovskaya oblast'),
  861. 'KGD' => t('Kaliningradskaya oblast'),
  862. 'KLU' => t('Kaluzhskaya oblast'),
  863. 'KEM' => t('Kemerovskaya oblast'),
  864. 'KIR' => t('Kirovskaya oblast'),
  865. 'KOS' => t('Kostromskaya oblast'),
  866. 'KGN' => t('Kurganskaya oblast'),
  867. 'KRS' => t('Kurskaya oblast'),
  868. 'LEN' => t('Leningradskaya oblast'),
  869. 'LIP' => t('Lipetskaya oblast'),
  870. 'MAG' => t('Magadanskaya oblast'),
  871. 'MOS' => t('Moskovskaya oblast'),
  872. 'MUR' => t('Murmanskaya oblast'),
  873. 'NIZ' => t('Nizhegorodskaya oblast'),
  874. 'NGR' => t('Novgorodskaya oblast'),
  875. 'NVS' => t('Novosibirskaya oblast'),
  876. 'OMS' => t('Omskaya oblast'),
  877. 'ORE' => t('Orenburgskaya oblast'),
  878. 'ORL' => t('Orlovskaya oblast'),
  879. 'PNZ' => t('Penzenskaya oblast'),
  880. 'PSK' => t('Pskovskaya oblast'),
  881. 'ROS' => t('Rostovskaya oblast'),
  882. 'RYA' => t('Ryazanskaya oblast'),
  883. 'SAK' => t('Sakhalinskaya oblast'),
  884. 'SAM' => t('Samarskaya oblast'),
  885. 'SAR' => t('Saratovskaya oblast'),
  886. 'SMO' => t('Smolenskaya oblast'),
  887. 'SVE' => t('Sverdlovskaya oblast'),
  888. 'TAM' => t('Tambovskaya oblast'),
  889. 'TOM' => t('Tomskaya oblast'),
  890. 'TUL' => t('Tulskaya oblast'),
  891. 'TVE' => t('Tverskaya oblast'),
  892. 'TYU' => t('Tyumenskaya oblast'),
  893. 'ULY' => t('Ulyanovskaya oblast'),
  894. 'VLA' => t('Vladimirskaya oblast'),
  895. 'VGG' => t('Volgogradskaya oblast'),
  896. 'VLG' => t('Vologodskaya oblast'),
  897. 'VOR' => t('Voronezhskaya oblast'),
  898. 'YAR' => t('Yaroslavskaya oblast'),
  899. 'YEV' => t('Yevreyskaya avtonomnaya oblast'),
  900. 'CHU' => t('Chukotskiy avtonomnyy okrug'),
  901. 'KHM' => t('Khanty-Mansiyskiy avtonomnyy okrug-Yugra'),
  902. 'NEN' => t('Nenetskiy avtonomnyy okrug'),
  903. 'YAN' => t('Yamalo-Nenetskiy avtonomnyy okrug'),
  904. );
  905. $administrative_areas['TR'] = array(
  906. '01' => t('Adana'),
  907. '02' => t('Adıyaman'),
  908. '03' => t('Afyon'),
  909. '04' => t('Ağrı'),
  910. '68' => t('Aksaray'),
  911. '05' => t('Amasya'),
  912. '06' => t('Ankara'),
  913. '07' => t('Antalya'),
  914. '75' => t('Ardahan'),
  915. '08' => t('Artvin'),
  916. '09' => t('Aydın'),
  917. '10' => t('Balıkesir'),
  918. '74' => t('Bartın'),
  919. '72' => t('Batman'),
  920. '69' => t('Bayburt'),
  921. '11' => t('Bilecik'),
  922. '12' => t('Bingöl'),
  923. '13' => t('Bitlis'),
  924. '14' => t('Bolu'),
  925. '15' => t('Burdur'),
  926. '16' => t('Bursa'),
  927. '17' => t('Çanakkale'),
  928. '18' => t('Çankırı'),
  929. '19' => t('Çorum'),
  930. '20' => t('Denizli'),
  931. '21' => t('Diyarbakır'),
  932. '81' => t('Düzce'),
  933. '22' => t('Edirne'),
  934. '23' => t('Elazığ'),
  935. '24' => t('Erzincan'),
  936. '25' => t('Erzurum'),
  937. '26' => t('Eskişehir'),
  938. '27' => t('Gaziantep'),
  939. '28' => t('Giresun'),
  940. '29' => t('Gümüşhane'),
  941. '30' => t('Hakkari'),
  942. '31' => t('Hatay'),
  943. '76' => t('Iğdır'),
  944. '32' => t('Isparta'),
  945. '34' => t('İstanbul'),
  946. '35' => t('İzmir'),
  947. '46' => t('Kahramanmaraş'),
  948. '78' => t('Karabük'),
  949. '70' => t('Karaman'),
  950. '36' => t('Kars'),
  951. '37' => t('Kastamonu'),
  952. '38' => t('Kayseri'),
  953. '71' => t('Kırıkkale'),
  954. '39' => t('Kırklareli'),
  955. '40' => t('Kırşehir'),
  956. '79' => t('Kilis'),
  957. '41' => t('Kocaeli'),
  958. '42' => t('Konya'),
  959. '43' => t('Kütahya'),
  960. '44' => t('Malatya'),
  961. '45' => t('Manisa'),
  962. '47' => t('Mardin'),
  963. '33' => t('Mersin'),
  964. '48' => t('Muğla'),
  965. '49' => t('Muş'),
  966. '50' => t('Nevşehir'),
  967. '51' => t('Niğde'),
  968. '52' => t('Ordu'),
  969. '80' => t('Osmaniye'),
  970. '53' => t('Rize'),
  971. '54' => t('Sakarya'),
  972. '55' => t('Samsun'),
  973. '56' => t('Siirt'),
  974. '57' => t('Sinop'),
  975. '58' => t('Sivas'),
  976. '63' => t('Şanlıurfa'),
  977. '73' => t('Şırnak'),
  978. '59' => t('Tekirdağ'),
  979. '60' => t('Tokat'),
  980. '61' => t('Trabzon'),
  981. '62' => t('Tunceli'),
  982. '64' => t('Uşak'),
  983. '65' => t('Van'),
  984. '77' => t('Yalova'),
  985. '66' => t('Yozgat'),
  986. '67' => t('Zonguldak'),
  987. );
  988. $administrative_areas['TW'] = array(
  989. 'TXG' => t('Taichung City'),
  990. 'TPE' => t('Taipei City'),
  991. 'TTT' => t('Taitung County'),
  992. 'TNN' => t('Tainan City'),
  993. 'ILA' => t('Yilan County'),
  994. 'HUA' => t('Hualien County'),
  995. 'Kinmen County' => t('Kinmen County'),
  996. 'NAN' => t('Nantou County'),
  997. 'PIF' => t('Pingtung County'),
  998. 'MIA' => t('Miaoli County'),
  999. 'TAO' => t('Taoyuan County'),
  1000. 'KHH' => t('Kaohsiung City'),
  1001. 'KEE' => t('Keelung City'),
  1002. 'Lienchiang County' => t('Lienchiang County'),
  1003. 'YUN' => t('Yunlin County'),
  1004. 'TPQ' => t('New Taipei City'),
  1005. 'HSZ' => t('Hsinchu City'),
  1006. 'HSQ' => t('Hsinchu County'),
  1007. 'CYI' => t('Chiayi City'),
  1008. 'CYQ' => t('Chiayi County'),
  1009. 'CHA' => t('Changhua County'),
  1010. 'PEN' => t('Penghu County'),
  1011. );
  1012. $administrative_areas['UA'] = array(
  1013. '43' => t('Crimea'),
  1014. '05' => t("Vinnyts'ka oblast"),
  1015. '07' => t("Volyns'ka oblast"),
  1016. '12' => t('Dnipropetrovsk Oblast'),
  1017. '14' => t('Donetsk Oblast'),
  1018. '18' => t("Zhytomyrs'ka oblast"),
  1019. '21' => t("Zakarpats'ka oblast"),
  1020. '23' => t("Zaporiz'ka oblast"),
  1021. '26' => t("Ivano-Frankivs'ka oblast"),
  1022. '30' => t('Kyiv Oblast'),
  1023. '35' => t("Kirovohrads'ka oblast"),
  1024. '09' => t("Luhans'ka oblast"),
  1025. '46' => t('Lviv Oblast'),
  1026. '48' => t("Mykolaivs'ka oblast"),
  1027. '51' => t('Odessa Oblast'),
  1028. '53' => t("Poltavs'ka oblast"),
  1029. '56' => t("Rivnens'ka oblast"),
  1030. '40' => t("Sevastopol' city"),
  1031. '59' => t("Sums'ka oblast"),
  1032. '61' => t("Ternopil's'ka oblast"),
  1033. '63' => t('Kharkiv Oblast'),
  1034. '65' => t("Khersons'ka oblast"),
  1035. '68' => t("Khmel'nyts'ka oblast"),
  1036. '71' => t("Cherkas'ka oblast"),
  1037. '77' => t("Chernivets'ka oblast"),
  1038. '74' => t("Chernihivs'ka oblast"),
  1039. );
  1040. $administrative_areas['US'] = array(
  1041. 'AL' => t('Alabama'),
  1042. 'AK' => t('Alaska'),
  1043. 'AZ' => t('Arizona'),
  1044. 'AR' => t('Arkansas'),
  1045. 'CA' => t('California'),
  1046. 'CO' => t('Colorado'),
  1047. 'CT' => t('Connecticut'),
  1048. 'DE' => t('Delaware'),
  1049. 'DC' => t('District of Columbia'),
  1050. 'FL' => t('Florida'),
  1051. 'GA' => t('Georgia'),
  1052. 'HI' => t('Hawaii'),
  1053. 'ID' => t('Idaho'),
  1054. 'IL' => t('Illinois'),
  1055. 'IN' => t('Indiana'),
  1056. 'IA' => t('Iowa'),
  1057. 'KS' => t('Kansas'),
  1058. 'KY' => t('Kentucky'),
  1059. 'LA' => t('Louisiana'),
  1060. 'ME' => t('Maine'),
  1061. 'MD' => t('Maryland'),
  1062. 'MA' => t('Massachusetts'),
  1063. 'MI' => t('Michigan'),
  1064. 'MN' => t('Minnesota'),
  1065. 'MS' => t('Mississippi'),
  1066. 'MO' => t('Missouri'),
  1067. 'MT' => t('Montana'),
  1068. 'NE' => t('Nebraska'),
  1069. 'NV' => t('Nevada'),
  1070. 'NH' => t('New Hampshire'),
  1071. 'NJ' => t('New Jersey'),
  1072. 'NM' => t('New Mexico'),
  1073. 'NY' => t('New York'),
  1074. 'NC' => t('North Carolina'),
  1075. 'ND' => t('North Dakota'),
  1076. 'OH' => t('Ohio'),
  1077. 'OK' => t('Oklahoma'),
  1078. 'OR' => t('Oregon'),
  1079. 'PA' => t('Pennsylvania'),
  1080. 'RI' => t('Rhode Island'),
  1081. 'SC' => t('South Carolina'),
  1082. 'SD' => t('South Dakota'),
  1083. 'TN' => t('Tennessee'),
  1084. 'TX' => t('Texas'),
  1085. 'UT' => t('Utah'),
  1086. 'VT' => t('Vermont'),
  1087. 'VA' => t('Virginia'),
  1088. 'WA' => t('Washington'),
  1089. 'WV' => t('West Virginia'),
  1090. 'WI' => t('Wisconsin'),
  1091. 'WY' => t('Wyoming'),
  1092. ' ' => t('--'),
  1093. 'AA' => t('Armed Forces (Americas)'),
  1094. 'AE' => t('Armed Forces (Europe, Canada, Middle East, Africa)'),
  1095. 'AP' => t('Armed Forces (Pacific)'),
  1096. 'AS' => t('American Samoa'),
  1097. 'FM' => t('Federated States of Micronesia'),
  1098. 'GU' => t('Guam'),
  1099. 'MH' => t('Marshall Islands'),
  1100. 'MP' => t('Northern Mariana Islands'),
  1101. 'PW' => t('Palau'),
  1102. 'PR' => t('Puerto Rico'),
  1103. 'VI' => t('Virgin Islands'),
  1104. );
  1105. $administrative_areas['VE'] = array(
  1106. 'Z' => 'Amazonas',
  1107. 'B' => 'Anzoátegui',
  1108. 'C' => 'Apure',
  1109. 'D' => 'Aragua',
  1110. 'E' => 'Barinas',
  1111. 'F' => 'Bolívar',
  1112. 'G' => 'Carabobo',
  1113. 'H' => 'Cojedes',
  1114. 'Y' => 'Delta Amacuro',
  1115. 'W' => 'Dependencias Federales',
  1116. 'A' => 'Distrito Federal',
  1117. 'I' => 'Falcón',
  1118. 'J' => 'Guárico',
  1119. 'K' => 'Lara',
  1120. 'L' => 'Mérida',
  1121. 'M' => 'Miranda',
  1122. 'N' => 'Monagas',
  1123. 'O' => 'Nueva Esparta',
  1124. 'P' => 'Portuguesa',
  1125. 'R' => 'Sucre',
  1126. 'S' => 'Táchira',
  1127. 'T' => 'Trujillo',
  1128. 'X' => 'Vargas',
  1129. 'U' => 'Yaracuy',
  1130. 'V' => 'Zulia',
  1131. );
  1132. return $administrative_areas;
  1133. }