Documentation for this module may be created at ಮಾಡ್ಯೂಲ್:ISO 3166/data/ES/doc

return {
-- In the standard, some subdivisions in which the local language (Catalan, Galician or Basque) is the sole official language
-- have the Spanish name in brackets rather than as a separate name. These Spanish names are listed as altnames here.
  lang = "ca, es, eu, gl", -- administrative languages: es
-- Communities & cities
  ["AN"] = {name="Andalusia",isoname="Andalucía",lang="es"},
  ["AR"] = {name="Aragon",isoname="Aragón",lang="es"},
  ["AS"] = {name="Asturias",isoname="Asturias, Principado de",lang="es"},
  ["CB"] = {name="Cantabria",lang="es"},
  ["CL"] = {name="Castile and Leon",isoname="Castilla y León",lang="es"},
  ["CM"] = {name="Castilla-La Mancha",lang="es"},
  ["CN"] = {name="Canary Islands",isoname="Canarias",lang="es"},
  ["CT"] = {name="Catalonia",isoname="Catalunya",lang="ca",altnames={es="Cataluña"}}, --ca [es]
  ["EX"] = {name="Extremadura",lang="es"},
  ["GA"] = {name="Galicia",lang="gl"}, --gl [es]
  ["IB"] = {name="Balearic Islands",isoname="Illes Balears",lang="ca",altnames={es="Islas Baleares"}}, --ca [es]
  ["MC"] = {name="Murcia",isoname="Murcia, Región de",lang="es",altnames={"Region of Murcia"}},
  ["MD"] = {name="Community of Madrid",displayname="Madrid",isoname="Madrid, Comunidad de",lang="es"},
  ["NC"] = {name="Navarre",isonames={eu="Nafarroako Foru Komunitatea",es="Navarra, Comunidad Foral de"},defaultlang="eu"},
  ["PV"] = {name="Basque Country",isonames={eu="Euskal Herria",es="País Vasco"},defaultlang="eu"},
  ["RI"] = {name="La Rioja",lang="es"},
  ["VC"] = {name="Valencian Community",isonames={ca="Valenciana, Comunitat",es="Valenciana, Comunidad"},defaultlang="ca"},
  ["CE"] = {name="Ceuta",lang="es"},
  ["ML"] = {name="Melilla",lang="es"},
-- Provinces
  ["A"] = {name="Alicante",isonames={ca="Alacant",es="Alicante"},defaultlang="ca"},
  ["AB"] = {name="Albacete",lang="es"},
  ["AL"] = {name="Almería",lang="es"},
  ["AV"] = {name="Ávila",lang="es"},
  ["B"] = {name="Barcelona",lang="ca"}, --ca [es]
  ["BA"] = {name="Badajoz",lang="es"},
  ["BI"] = {name="Biscay",isoname="Bizkaia",lang="eu"},
  ["BU"] = {name="Burgos",lang="es"},
  ["C"] = {name="A Coruña",lang="gl",altnames={es="La Coruña"}}, --gl [es]
  ["CA"] = {name="Cádiz",lang="es"},
  ["CC"] = {name="Cáceres",lang="es"},
  ["CO"] = {name="Córdoba",lang="es"},
  ["CR"] = {name="Ciudad Real",lang="es"},
  ["CS"] = {name="Castellón",isonames={ca="Castelló",es="Castellón"},defaultlang="ca"},
  ["CU"] = {name="Cuenca",lang="es"},
  ["GC"] = {name="Las Palmas",lang="es"},
  ["GI"] = {name="Girona",lang="ca",altnames={es="Gerona"}}, --ca [es]
  ["GR"] = {name="Granada",lang="es"},
  ["GU"] = {name="Guadalajara",lang="es"},
  ["H"] = {name="Huelva",lang="es"},
  ["HU"] = {name="Huesca",lang="es"},
  ["J"] = {name="Jaén",lang="es"},
  ["L"] = {name="Lleida",lang="ca",altnames={es="Lérida"}}, --ca [es]
  ["LE"] = {name="León",lang="es"},
  ["LO"] = {name="La Rioja Province",displayname="La Rioja",lang="es"},
  ["LU"] = {name="Lugo",lang="gl"}, --gl [es]
  ["M"] = {name="Madrid",lang="es",altnames={"Province of Madrid"}},
  ["MA"] = {name="Málaga",lang="es"},
  ["MU"] = {name="Province of Murcia",displayname="Murcia",lang="es"},
  ["NA"] = {name="Province of Navarre",displayname="Navarre",isonames={eu="Nafarroa",es="Navarra"},defaultlang="eu"},
  ["O"] = {name="Province of Asturias",displayname="Asturias",lang="es"},
  ["OR"] = {name="Ourense",lang="gl",altnames={es="Orense"}}, --gl [es]
  ["P"] = {name="Palencia",lang="es"},
  ["PM"] = {name="Baleares",isoname="Balears",lang="ca"}, --ca [es]
  ["PO"] = {name="Pontevedra",lang="gl"}, --gl [es]
  ["S"] = {name="Province of Cantabria",displayname="Cantabria",lang="es"},
  ["SA"] = {name="Salamanca",lang="es"},
  ["SE"] = {name="Seville",isoname="Sevilla",lang="es"},
  ["SG"] = {name="Segovia",lang="es"},
  ["SO"] = {name="Soria",lang="es"},
  ["SS"] = {name="Gipuzkoa",lang="eu"},
  ["T"] = {name="Tarragona",lang="ca"}, --ca [es]
  ["TE"] = {name="Teruel",lang="es"},
  ["TF"] = {name="Santa Cruz de Tenerife",lang="es"},
  ["TO"] = {name="Toledo",lang="es"},
  ["V"] = {name="Valencia",isonames={ca="València",es="Valencia"},defaultlang="ca"},
  ["VA"] = {name="Valladolid",lang="es"},
  ["VI"] = {name="Álava",isoname="Araba",lang="eu"}, --eu [es]
  ["Z"] = {name="Zaragoza",lang="es"},
  ["ZA"] = {name="Zamora",lang="es"}
}