Commits

Afonso Fernandez Nogueira committed 91510ea

project name change

  • Participants
  • Parent commits 50cd81e

Comments (0)

Files changed (10)

File django_l10n_es_ga/__init__.py

Empty file added.

File django_l10n_es_ga/es_ga_comarcas.py

+# -*- coding: utf-8 -*-
+"""
+List of Galician comarcas (as of January 2013) to use as select choices.
+
+Sorted alphabetically, ignoring initial articles.
+
+Also included is a dictionary mapping each comarca
+to the list of municipalities it contains.
+
+The choice tuple value is the geographical code for the comarca,
+as per the comarca listing by Francisco Ruiz at
+http://alarcos.esi.uclm.es/per/fruiz/pobesp/ter_com.htm
+"""
+
+from __future__ import unicode_literals
+from django.utils.translation import ugettext_lazy as _
+
+
+COMARCA_CHOICES = (
+    ('1232', _('Allariz-Maceda')),
+    ('1219', _('Os Ancares')),
+    ('1201', _('Arzúa')),
+    ('1233', _('A Baixa Limia')),
+    ('1244', _('O Baixo Miño')),
+    ('1202', _('Barbanza')),
+    ('1203', _('A Barcala')),
+    ('1204', _('Bergantiños')),
+    ('1205', _('Betanzos')),
+    ('1245', _('Caldas')),
+    ('1235', _('O Carballiño')),
+    ('1220', _('Chantada')),
+    ('1246', _('O Condado')),
+    ('1206', _('A Coruña')),
+    ('1247', _('Deza')),
+    ('1207', _('Eume')),
+    ('1208', _('Ferrol')),
+    ('1209', _('Fisterra')),
+    ('1221', _('A Fonsagrada')),
+    ('1234', _('A Limia')),
+    ('1222', _('Lugo')),
+    ('1223', _('A Mariña Central')),
+    ('1224', _('A Mariña Occidental')),
+    ('1225', _('A Mariña Oriental')),
+    ('1226', _('Meira')),
+    ('1248', _('O Morrazo')),
+    ('1210', _('Muros')),
+    ('1211', _('Noia')),
+    ('1212', _('Ordes')),
+    ('1213', _('Ortegal')),
+    ('1236', _('Ourense')),
+    ('1249', _('A Paradanta')),
+    ('1250', _('Pontevedra')),
+    ('1227', _('Quiroga')),
+    ('1237', _('O Ribeiro')),
+    ('1251', _('O Salnés')),
+    ('1214', _('Santiago')),
+    ('1215', _('O Sar')),
+    ('1228', _('Sarria')),
+    ('1252', _('Tabeirós-Terra de Montes')),
+    ('1229', _('Terra Chá')),
+    ('1238', _('Terra de Caldelas')),
+    ('1239', _('Terra de Celanova')),
+    ('1230', _('Terra de Lemos')),
+    ('1216', _('Terra de Melide')),
+    ('1217', _('Terra de Soneira')),
+    ('1240', _('Terra de Trives')),
+    ('1231', _('A Ulloa')),
+    ('1241', _('Valdeorras')),
+    ('1242', _('Verín')),
+    ('1243', _('Viana')),
+    ('1253', _('Vigo')),
+    ('1218', _('Xallas')),
+)
+
+
+COMARCAS_WITH_MUNICIPALITIES = {
+    '1201': [
+        _('Arzúa'),
+        _('Boimorto'),
+        _('O Pino'),
+        _('Touro'),
+    ],
+    '1202': [
+        _('Boiro'),
+        _('A Pobra do Caramiñal'),
+        _('Rianxo'),
+        _('Ribeira'),
+    ],
+    '1203': [
+        _('A Baña'),
+        _('Negreira'),
+    ],
+    '1204': [
+        _('Cabana de Bergantiños'),
+        _('Carballo'),
+        _('Coristanco'),
+        _('A Laracha'),
+        _('Laxe'),
+        _('Malpica de Bergantiños'),
+        _('Ponteceso'),
+    ],
+    '1205': [
+        _('Aranga'),
+        _('Betanzos'),
+        _('Cesuras'),
+        _('Coirós'),
+        _('Curtis'),
+        _('Irixoa'),
+        _('Miño'),
+        _('Oza dos Ríos'),
+        _('Paderne'),
+        _('Vilarmaior'),
+        _('Vilasantar'),
+    ],
+    '1206': [
+        _('Abegondo'),
+        _('Arteixo'),
+        _('Bergondo'),
+        _('Cambre'),
+        _('Carral'),
+        _('A Coruña'),
+        _('Culleredo'),
+        _('Oleiros'),
+        _('Sada'),
+    ],
+    '1207': [
+        _('Cabanas'),
+        _('A Capela'),
+        _('Monfero'),
+        _('Pontedeume'),
+        _('As Pontes de García Rodríguez'),
+    ],
+    '1208': [
+        _('Ares'),
+        _('Cedeira'),
+        _('Fene'),
+        _('Ferrol'),
+        _('Moeche'),
+        _('Mugardos'),
+        _('Narón'),
+        _('Neda'),
+        _('San Sadurniño'),
+        _('As Somozas'),
+        _('Valdoviño'),
+    ],
+    '1209': [
+        _('Cee'),
+        _('Corcubión'),
+        _('Dumbría'),
+        _('Fisterra'),
+        _('Muxía'),
+    ],
+    '1210': [
+        _('Carnota'),
+        _('Muros'),
+    ],
+    '1211': [
+        _('Lousame'),
+        _('Noia'),
+        _('Outes'),
+        _('Porto do Son'),
+    ],
+    '1212': [
+        _('Cerceda'),
+        _('Frades'),
+        _('Mesía'),
+        _('Ordes'),
+        _('Oroso'),
+        _('Tordoia'),
+        _('Trazo'),
+    ],
+    '1213': [
+        _('Cariño'),
+        _('Cerdido'),
+        _('Mañón'),
+        _('Ortigueira'),
+    ],
+    '1214': [
+        _('Ames'),
+        _('Boqueixón'),
+        _('Brión'),
+        _('Santiago de Compostela'),
+        _('Teo'),
+        _('Val do Dubra'),
+        _('Vedra'),
+    ],
+    '1215': [
+        _('Dodro'),
+        _('Padrón'),
+        _('Rois'),
+    ],
+    '1216': [
+        _('Melide'),
+        _('Santiso'),
+        _('Sobrado'),
+        _('Toques'),
+    ],
+    '1217': [
+        _('Camariñas'),
+        _('Vimianzo'),
+        _('Zas'),
+    ],
+    '1218': [
+        _('Mazaricos'),
+        _('Santa Comba'),
+    ],
+    '1219': [
+        _('Baralla'),
+        _('Becerreá'),
+        _('Cervantes'),
+        _('Navia de Suarna'),
+        _('As Nogais'),
+        _('Pedrafita do Cebreiro'),
+    ],
+    '1220': [
+        _('Carballedo'),
+        _('Chantada'),
+        _('Taboada'),
+    ],
+    '1221': [
+        _('Baleira'),
+        _('A Fonsagrada'),
+        _('Negueira de Muñiz'),
+    ],
+    '1222': [
+        _('Castroverde'),
+        _('O Corgo'),
+        _('Friol'),
+        _('Guntín'),
+        _('Lugo'),
+        _('Outeiro de Rei'),
+        _('Portomarín'),
+        _('Rábade'),
+    ],
+    '1223': [
+        _('Alfoz'),
+        _('Burela'),
+        _('Foz'),
+        _('Lourenzá'),
+        _('Mondoñedo'),
+        _('O Valadouro'),
+    ],
+    '1224': [
+        _('Cervo'),
+        _('Ourol'),
+        _('O Vicedo'),
+        _('Viveiro'),
+        _('Xove'),
+    ],
+    '1225': [
+        _('Barreiros'),
+        _('A Pontenova'),
+        _('Ribadeo'),
+        _('Trabada'),
+    ],
+    '1226': [
+        _('Meira'),
+        _('Pol'),
+        _('Ribeira de Piquín'),
+        _('Riotorto'),
+    ],
+    '1227': [
+        _('Folgoso do Courel'),
+        _('Quiroga'),
+        _('Ribas de Sil'),
+    ],
+    '1228': [
+        _('O Incio'),
+        _('Láncara'),
+        _('Paradela'),
+        _('O Páramo'),
+        _('Samos'),
+        _('Sarria'),
+        _('Triacastela'),
+    ],
+    '1229': [
+        _('Abadín'),
+        _('Begonte'),
+        _('Castro de Rei'),
+        _('Cospeito'),
+        _('Guitiriz'),
+        _('Muras'),
+        _('A Pastoriza'),
+        _('Vilalba'),
+        _('Xermade'),
+    ],
+    '1230': [
+        _('Bóveda'),
+        _('Monforte de Lemos'),
+        _('Pantón'),
+        _('A Pobra do Brollón'),
+        _('O Saviñao'),
+        _('Sober'),
+    ],
+    '1231': [
+        _('Antas de Ulla'),
+        _('Monterroso'),
+        _('Palas de Rei'),
+    ],
+    '1232': [
+        _('Allariz'),
+        _('Baños de Molgas'),
+        _('Maceda'),
+        _('Paderne de Allariz'),
+        _('Xunqueira de Ambía'),
+        _('Xunqueira de Espadanedo'),
+    ],
+    '1233': [
+        _('Bande'),
+        _('Entrimo'),
+        _('Lobeira'),
+        _('Lobios'),
+        _('Muíños'),
+    ],
+    '1234': [
+        _('Baltar'),
+        _('Os Blancos'),
+        _('Calvos de Randín'),
+        _('Porqueira'),
+        _('Rairiz de Veiga'),
+        _('Sandiás'),
+        _('Sarreaus'),
+        _('Trasmiras'),
+        _('Vilar de Barrio'),
+        _('Vilar de Santos'),
+        _('Xinzo de Limia'),
+    ],
+    '1235': [
+        _('Beariz'),
+        _('Boborás'),
+        _('O Carballiño'),
+        _('O Irixo'),
+        _('Maside'),
+        _('Piñor'),
+        _('Punxín'),
+        _('San Amaro'),
+        _('San Cristovo de Cea'),
+    ],
+    '1236': [
+        _('Amoeiro'),
+        _('Barbadás'),
+        _('Coles'),
+        _('Esgos'),
+        _('Nogueira de Ramuín'),
+        _('Ourense'),
+        _('O Pereiro de Aguiar'),
+        _('A Peroxa'),
+        _('San Cibrao das Viñas'),
+        _('Taboadela'),
+        _('Toén'),
+        _('Vilamarín'),
+    ],
+    '1237': [
+        _('A Arnoia'),
+        _('Avión'),
+        _('Beade'),
+        _('Carballeda de Avia'),
+        _('Castrelo de Miño'),
+        _('Cenlle'),
+        _('Cortegada'),
+        _('Leiro'),
+        _('Melón'),
+        _('Ribadavia'),
+    ],
+    '1238': [
+        _('Castro Caldelas'),
+        _('Montederramo'),
+        _('Parada de Sil'),
+        _('A Teixeira'),
+    ],
+    '1239': [
+        _('A Bola'),
+        _('Cartelle'),
+        _('Celanova'),
+        _('Gomesende'),
+        _('A Merca'),
+        _('Padrenda'),
+        _('Pontedeva'),
+        _('Quintela de Leirado'),
+        _('Ramirás'),
+        _('Verea'),
+    ],
+    '1240': [
+        _('Chandrexa de Queixa'),
+        _('Manzaneda'),
+        _('A Pobra de Trives'),
+        _('San Xoán de Río'),
+    ],
+    '1241': [
+        _('O Barco de Valdeorras'),
+        _('O Bolo'),
+        _('Carballeda de Valdeorras'),
+        _('Larouco'),
+        _('Petín'),
+        _('Rubiá'),
+        _('A Rúa'),
+        _('A Veiga'),
+        _('Vilamartín de Valdeorras'),
+    ],
+    '1242': [
+        _('Castrelo do Val'),
+        _('Cualedro'),
+        _('Laza'),
+        _('Monterrei'),
+        _('Oímbra'),
+        _('Riós'),
+        _('Verín'),
+        _('Vilardevós'),
+    ],
+    '1243': [
+        _('A Gudiña'),
+        _('A Mezquita'),
+        _('Viana do Bolo'),
+        _('Vilariño de Conso'),
+    ],
+    '1244': [
+        _('A Guarda'),
+        _('Oia'),
+        _('O Rosal'),
+        _('Tomiño'),
+        _('Tui'),
+    ],
+    '1245': [
+        _('Caldas de Reis'),
+        _('Catoira'),
+        _('Cuntis'),
+        _('Moraña'),
+        _('Pontecesures'),
+        _('Portas'),
+        _('Valga'),
+    ],
+    '1246': [
+        _('Mondariz'),
+        _('Mondariz-Balneario'),
+        _('As Neves'),
+        _('Ponteareas'),
+        _('Salvaterra de Miño'),
+    ],
+    '1247': [
+        _('Agolada'),
+        _('Dozón'),
+        _('Lalín'),
+        _('Rodeiro'),
+        _('Silleda'),
+        _('Vila de Cruces'),
+    ],
+    '1248': [
+        _('Bueu'),
+        _('Cangas'),
+        _('Marín'),
+        _('Moaña'),
+    ],
+    '1249': [
+        _('Arbo'),
+        _('A Cañiza'),
+        _('Covelo'),
+        _('Crecente'),
+    ],
+    '1250': [
+        _('Barro'),
+        _('Campo Lameiro'),
+        _('Cotobade'),
+        _('A Lama'),
+        _('Poio'),
+        _('Ponte Caldelas'),
+        _('Pontevedra'),
+        _('Vilaboa'),
+    ],
+    '1251': [
+        _('Cambados'),
+        _('O Grove'),
+        _('A Illa de Arousa'),
+        _('Meaño'),
+        _('Meis'),
+        _('Ribadumia'),
+        _('Sanxenxo'),
+        _('Vilagarcía de Arousa'),
+        _('Vilanova de Arousa'),
+    ],
+    '1252': [
+        _('Cerdedo'),
+        _('A Estrada'),
+        _('Forcarei'),
+    ],
+    '1253': [
+        _('Baiona'),
+        _('Fornelos de Montes'),
+        _('Gondomar'),
+        _('Mos'),
+        _('Nigrán'),
+        _('Pazos de Borbén'),
+        _('O Porriño'),
+        _('Redondela'),
+        _('Salceda de Caselas'),
+        _('Soutomaior'),
+        _('Vigo'),
+    ],
+}

File django_l10n_es_ga/es_ga_municipalities.py

+# -*- coding: utf-8 -*-
+"""
+List of Galicia (Spain) municipalities as of January 2013
+for use as select choices.
+
+Sorted alphabetically, with articles last.
+
+The choice value is the National Statistics Institute (INE) code
+for each municipality.
+
+"""
+from __future__ import unicode_literals
+from django.utils.translation import ugettext_lazy as _
+
+
+MUNICIPALITY_CHOICES = (
+    ('27001', _('Abadín')),
+    ('15001', _('Abegondo')),
+    ('36020', _('Agolada')),
+    ('27002', _('Alfoz')),
+    ('32001', _('Allariz')),
+    ('15002', _('Ames')),
+    ('32002', _('Amoeiro')),
+    ('27003', _('Antas de Ulla')),
+    ('15003', _('Aranga')),
+    ('36001', _('Arbo')),
+    ('15004', _('Ares')),
+    ('32003', _('Arnoia, A')),
+    ('15005', _('Arteixo')),
+    ('15006', _('Arzúa')),
+    ('32004', _('Avión')),
+    ('36003', _('Baiona')),
+    ('27004', _('Baleira')),
+    ('32005', _('Baltar')),
+    ('32006', _('Bande')),
+    ('27901', _('Baralla')),
+    ('32008', _('Barbadás')),
+    ('32009', _('Barco de Valdeorras, O')),
+    ('27005', _('Barreiros')),
+    ('36002', _('Barro')),
+    ('15007', _('Baña, A')),
+    ('32007', _('Baños de Molgas')),
+    ('32010', _('Beade')),
+    ('32011', _('Beariz')),
+    ('27006', _('Becerreá')),
+    ('27007', _('Begonte')),
+    ('15008', _('Bergondo')),
+    ('15009', _('Betanzos')),
+    ('32012', _('Blancos, Os')),
+    ('32013', _('Boborás')),
+    ('15010', _('Boimorto')),
+    ('15011', _('Boiro')),
+    ('32014', _('Bola, A')),
+    ('32015', _('Bolo, O')),
+    ('15012', _('Boqueixón')),
+    ('15013', _('Brión')),
+    ('36004', _('Bueu')),
+    ('27902', _('Burela')),
+    ('27008', _('Bóveda')),
+    ('15014', _('Cabana de Bergantiños')),
+    ('15015', _('Cabanas')),
+    ('36005', _('Caldas de Reis')),
+    ('32016', _('Calvos de Randín')),
+    ('15016', _('Camariñas')),
+    ('36006', _('Cambados')),
+    ('15017', _('Cambre')),
+    ('36007', _('Campo Lameiro')),
+    ('36008', _('Cangas')),
+    ('15018', _('Capela, A')),
+    ('32018', _('Carballeda de Avia')),
+    ('32017', _('Carballeda de Valdeorras')),
+    ('27009', _('Carballedo')),
+    ('32019', _('Carballiño, O')),
+    ('15019', _('Carballo')),
+    ('15901', _('Cariño')),
+    ('15020', _('Carnota')),
+    ('15021', _('Carral')),
+    ('32020', _('Cartelle')),
+    ('32022', _('Castrelo de Miño')),
+    ('32021', _('Castrelo do Val')),
+    ('32023', _('Castro Caldelas')),
+    ('27010', _('Castro de Rei')),
+    ('27011', _('Castroverde')),
+    ('36010', _('Catoira')),
+    ('36009', _('Cañiza, A')),
+    ('15022', _('Cedeira')),
+    ('15023', _('Cee')),
+    ('32024', _('Celanova')),
+    ('32025', _('Cenlle')),
+    ('15024', _('Cerceda')),
+    ('36011', _('Cerdedo')),
+    ('15025', _('Cerdido')),
+    ('27012', _('Cervantes')),
+    ('27013', _('Cervo')),
+    ('15026', _('Cesuras')),
+    ('32029', _('Chandrexa de Queixa')),
+    ('27016', _('Chantada')),
+    ('15027', _('Coirós')),
+    ('32026', _('Coles')),
+    ('15028', _('Corcubión')),
+    ('27014', _('Corgo, O')),
+    ('15029', _('Coristanco')),
+    ('32027', _('Cortegada')),
+    ('15030', _('Coruña, A')),
+    ('27015', _('Cospeito')),
+    ('36012', _('Cotobade')),
+    ('36013', _('Covelo')),
+    ('36014', _('Crecente')),
+    ('32028', _('Cualedro')),
+    ('15031', _('Culleredo')),
+    ('36015', _('Cuntis')),
+    ('15032', _('Curtis')),
+    ('15033', _('Dodro')),
+    ('36016', _('Dozón')),
+    ('15034', _('Dumbría')),
+    ('32030', _('Entrimo')),
+    ('32031', _('Esgos')),
+    ('36017', _('Estrada, A')),
+    ('15035', _('Fene')),
+    ('15036', _('Ferrol')),
+    ('15037', _('Fisterra')),
+    ('27017', _('Folgoso do Courel')),
+    ('27018', _('Fonsagrada, A')),
+    ('36018', _('Forcarei')),
+    ('36019', _('Fornelos de Montes')),
+    ('27019', _('Foz')),
+    ('15038', _('Frades')),
+    ('27020', _('Friol')),
+    ('32033', _('Gomesende')),
+    ('36021', _('Gondomar')),
+    ('36022', _('Grove, O')),
+    ('36023', _('Guarda, A')),
+    ('32034', _('Gudiña, A')),
+    ('27022', _('Guitiriz')),
+    ('27023', _('Guntín')),
+    ('36901', _('Illa de Arousa, A')),
+    ('27024', _('Incio, O')),
+    ('32035', _('Irixo, O')),
+    ('15039', _('Irixoa')),
+    ('36024', _('Lalín')),
+    ('36025', _('Lama, A')),
+    ('15041', _('Laracha, A')),
+    ('32038', _('Larouco')),
+    ('15040', _('Laxe')),
+    ('32039', _('Laza')),
+    ('32040', _('Leiro')),
+    ('32041', _('Lobeira')),
+    ('32042', _('Lobios')),
+    ('27027', _('Lourenzá')),
+    ('15042', _('Lousame')),
+    ('27028', _('Lugo')),
+    ('27026', _('Láncara')),
+    ('32043', _('Maceda')),
+    ('15043', _('Malpica de Bergantiños')),
+    ('32044', _('Manzaneda')),
+    ('36026', _('Marín')),
+    ('32045', _('Maside')),
+    ('15045', _('Mazaricos')),
+    ('15044', _('Mañón')),
+    ('36027', _('Meaño')),
+    ('27029', _('Meira')),
+    ('36028', _('Meis')),
+    ('15046', _('Melide')),
+    ('32046', _('Melón')),
+    ('32047', _('Merca, A')),
+    ('15047', _('Mesía')),
+    ('32048', _('Mezquita, A')),
+    ('15048', _('Miño')),
+    ('36029', _('Moaña')),
+    ('15049', _('Moeche')),
+    ('36030', _('Mondariz')),
+    ('36031', _('Mondariz-Balneario')),
+    ('27030', _('Mondoñedo')),
+    ('15050', _('Monfero')),
+    ('27031', _('Monforte de Lemos')),
+    ('32049', _('Montederramo')),
+    ('32050', _('Monterrei')),
+    ('27032', _('Monterroso')),
+    ('36032', _('Moraña')),
+    ('36033', _('Mos')),
+    ('15051', _('Mugardos')),
+    ('27033', _('Muras')),
+    ('15053', _('Muros')),
+    ('15052', _('Muxía')),
+    ('32051', _('Muíños')),
+    ('15054', _('Narón')),
+    ('27034', _('Navia de Suarna')),
+    ('15055', _('Neda')),
+    ('15056', _('Negreira')),
+    ('27035', _('Negueira de Muñiz')),
+    ('36034', _('Neves, As')),
+    ('36035', _('Nigrán')),
+    ('27037', _('Nogais, As')),
+    ('32052', _('Nogueira de Ramuín')),
+    ('15057', _('Noia')),
+    ('36036', _('Oia')),
+    ('15058', _('Oleiros')),
+    ('15059', _('Ordes')),
+    ('15060', _('Oroso')),
+    ('15061', _('Ortigueira')),
+    ('32054', _('Ourense')),
+    ('27038', _('Ourol')),
+    ('27039', _('Outeiro de Rei')),
+    ('15062', _('Outes')),
+    ('15063', _('Oza dos Ríos')),
+    ('32053', _('Oímbra')),
+    ('15064', _('Paderne')),
+    ('32055', _('Paderne de Allariz')),
+    ('32056', _('Padrenda')),
+    ('15065', _('Padrón')),
+    ('27040', _('Palas de Rei')),
+    ('27041', _('Pantón')),
+    ('32057', _('Parada de Sil')),
+    ('27042', _('Paradela')),
+    ('27044', _('Pastoriza, A')),
+    ('36037', _('Pazos de Borbén')),
+    ('27045', _('Pedrafita do Cebreiro')),
+    ('32058', _('Pereiro de Aguiar, O')),
+    ('32059', _('Peroxa, A')),
+    ('32060', _('Petín')),
+    ('15066', _('Pino, O')),
+    ('32061', _('Piñor')),
+    ('32063', _('Pobra de Trives, A')),
+    ('27047', _('Pobra do Brollón, A')),
+    ('15067', _('Pobra do Caramiñal, A')),
+    ('36041', _('Poio')),
+    ('27046', _('Pol')),
+    ('36043', _('Ponte Caldelas')),
+    ('36042', _('Ponteareas')),
+    ('15068', _('Ponteceso')),
+    ('36044', _('Pontecesures')),
+    ('15069', _('Pontedeume')),
+    ('32064', _('Pontedeva')),
+    ('27048', _('Pontenova, A')),
+    ('15070', _('Pontes de García Rodríguez, As')),
+    ('36038', _('Pontevedra')),
+    ('32062', _('Porqueira')),
+    ('36039', _('Porriño, O')),
+    ('36040', _('Portas')),
+    ('15071', _('Porto do Son')),
+    ('27049', _('Portomarín')),
+    ('32065', _('Punxín')),
+    ('27043', _('Páramo, O')),
+    ('32066', _('Quintela de Leirado')),
+    ('27050', _('Quiroga')),
+    ('32067', _('Rairiz de Veiga')),
+    ('32068', _('Ramirás')),
+    ('36045', _('Redondela')),
+    ('15072', _('Rianxo')),
+    ('32069', _('Ribadavia')),
+    ('27051', _('Ribadeo')),
+    ('36046', _('Ribadumia')),
+    ('27052', _('Ribas de Sil')),
+    ('15073', _('Ribeira')),
+    ('27053', _('Ribeira de Piquín')),
+    ('27054', _('Riotorto')),
+    ('32071', _('Riós')),
+    ('36047', _('Rodeiro')),
+    ('15074', _('Rois')),
+    ('36048', _('Rosal, O')),
+    ('32073', _('Rubiá')),
+    ('27056', _('Rábade')),
+    ('32072', _('Rúa, A')),
+    ('15075', _('Sada')),
+    ('36049', _('Salceda de Caselas')),
+    ('36050', _('Salvaterra de Miño')),
+    ('27055', _('Samos')),
+    ('32074', _('San Amaro')),
+    ('32075', _('San Cibrao das Viñas')),
+    ('32076', _('San Cristovo de Cea')),
+    ('15076', _('San Sadurniño')),
+    ('32070', _('San Xoán de Río')),
+    ('32077', _('Sandiás')),
+    ('15077', _('Santa Comba')),
+    ('15078', _('Santiago de Compostela')),
+    ('15079', _('Santiso')),
+    ('36051', _('Sanxenxo')),
+    ('32078', _('Sarreaus')),
+    ('27057', _('Sarria')),
+    ('27058', _('Saviñao, O')),
+    ('36052', _('Silleda')),
+    ('27059', _('Sober')),
+    ('15080', _('Sobrado')),
+    ('15081', _('Somozas, As')),
+    ('36053', _('Soutomaior')),
+    ('27060', _('Taboada')),
+    ('32079', _('Taboadela')),
+    ('32080', _('Teixeira, A')),
+    ('15082', _('Teo')),
+    ('36054', _('Tomiño')),
+    ('15083', _('Toques')),
+    ('15084', _('Tordoia')),
+    ('15085', _('Touro')),
+    ('32081', _('Toén')),
+    ('27061', _('Trabada')),
+    ('32082', _('Trasmiras')),
+    ('15086', _('Trazo')),
+    ('27062', _('Triacastela')),
+    ('36055', _('Tui')),
+    ('15088', _('Val do Dubra')),
+    ('27063', _('Valadouro, O')),
+    ('15087', _('Valdoviño')),
+    ('36056', _('Valga')),
+    ('15089', _('Vedra')),
+    ('32083', _('Veiga, A')),
+    ('32084', _('Verea')),
+    ('32085', _('Verín')),
+    ('32086', _('Viana do Bolo')),
+    ('27064', _('Vicedo, O')),
+    ('36057', _('Vigo')),
+    ('36059', _('Vila de Cruces')),
+    ('36058', _('Vilaboa')),
+    ('36060', _('Vilagarcía de Arousa')),
+    ('27065', _('Vilalba')),
+    ('32088', _('Vilamartín de Valdeorras')),
+    ('32087', _('Vilamarín')),
+    ('36061', _('Vilanova de Arousa')),
+    ('32089', _('Vilar de Barrio')),
+    ('32090', _('Vilar de Santos')),
+    ('32091', _('Vilardevós')),
+    ('32092', _('Vilariño de Conso')),
+    ('15091', _('Vilarmaior')),
+    ('15090', _('Vilasantar')),
+    ('15092', _('Vimianzo')),
+    ('27066', _('Viveiro')),
+    ('27021', _('Xermade')),
+    ('32032', _('Xinzo de Limia')),
+    ('27025', _('Xove')),
+    ('32036', _('Xunqueira de Ambía')),
+    ('32037', _('Xunqueira de Espadanedo')),
+    ('15093', _('Zas')),
+)

File django_l10n_es_ga/es_ga_provinces.py

+# -*- coding: utf-8 -*-
+
+from django.utils.translation import ugettext_lazy as _
+from __future__ import unicode_literals
+
+
+PROVINCE_CHOICES = (
+    ('15', _('A Coruña')),
+    ('27', _('Lugo')),
+    ('32', _('Ourense')),
+    ('36', _('Pontevedra')),
+)

File django_l10n_es_ga/forms.py

+# -*- coding: utf-8 -*-
+"""
+ES-GA-specific Form helpers
+"""
+
+from __future__ import absolute_import, unicode_literals
+
+from django.forms.fields import Select
+from .es_ga_municipalities import MUNICIPALITY_CHOICES
+from .es_ga_comarcas import COMARCA_CHOICES
+
+
+class ESGAMunicipalitySelect(Select):
+    """
+    A Select widget that uses a list of Galician municipalities as its choices.
+    """
+    def __init__(self, attrs=None):
+        super(ESGAMunicipalitySelect, self).__init__(attrs, choices=MUNICIPALITY_CHOICES)
+
+
+class ESGAComarcaSelect(Select):
+    """
+    A Select widget that uses a list of Galician comarcas as its choices.
+    """
+    def __init__(self, attrs=None):
+        super(ESGAComarcaSelect, self).__init__(attrs, choices=COMARCA_CHOICES)

File django_localflavor_es_ga/__init__.py

Empty file removed.

File django_localflavor_es_ga/es_ga_comarcas.py

-# -*- coding: utf-8 -*-
-"""
-List of Galician comarcas (as of January 2013) to use as select choices.
-
-Sorted alphabetically, ignoring initial articles.
-
-Also included is a dictionary mapping each comarca
-to the list of municipalities it contains.
-
-The choice tuple value is the geographical code for the comarca,
-as per the comarca listing by Francisco Ruiz at
-http://alarcos.esi.uclm.es/per/fruiz/pobesp/ter_com.htm
-"""
-
-from __future__ import unicode_literals
-from django.utils.translation import ugettext_lazy as _
-
-
-COMARCA_CHOICES = (
-    ('1232', _('Allariz-Maceda')),
-    ('1219', _('Os Ancares')),
-    ('1201', _('Arzúa')),
-    ('1233', _('A Baixa Limia')),
-    ('1244', _('O Baixo Miño')),
-    ('1202', _('Barbanza')),
-    ('1203', _('A Barcala')),
-    ('1204', _('Bergantiños')),
-    ('1205', _('Betanzos')),
-    ('1245', _('Caldas')),
-    ('1235', _('O Carballiño')),
-    ('1220', _('Chantada')),
-    ('1246', _('O Condado')),
-    ('1206', _('A Coruña')),
-    ('1247', _('Deza')),
-    ('1207', _('Eume')),
-    ('1208', _('Ferrol')),
-    ('1209', _('Fisterra')),
-    ('1221', _('A Fonsagrada')),
-    ('1234', _('A Limia')),
-    ('1222', _('Lugo')),
-    ('1223', _('A Mariña Central')),
-    ('1224', _('A Mariña Occidental')),
-    ('1225', _('A Mariña Oriental')),
-    ('1226', _('Meira')),
-    ('1248', _('O Morrazo')),
-    ('1210', _('Muros')),
-    ('1211', _('Noia')),
-    ('1212', _('Ordes')),
-    ('1213', _('Ortegal')),
-    ('1236', _('Ourense')),
-    ('1249', _('A Paradanta')),
-    ('1250', _('Pontevedra')),
-    ('1227', _('Quiroga')),
-    ('1237', _('O Ribeiro')),
-    ('1251', _('O Salnés')),
-    ('1214', _('Santiago')),
-    ('1215', _('O Sar')),
-    ('1228', _('Sarria')),
-    ('1252', _('Tabeirós-Terra de Montes')),
-    ('1229', _('Terra Chá')),
-    ('1238', _('Terra de Caldelas')),
-    ('1239', _('Terra de Celanova')),
-    ('1230', _('Terra de Lemos')),
-    ('1216', _('Terra de Melide')),
-    ('1217', _('Terra de Soneira')),
-    ('1240', _('Terra de Trives')),
-    ('1231', _('A Ulloa')),
-    ('1241', _('Valdeorras')),
-    ('1242', _('Verín')),
-    ('1243', _('Viana')),
-    ('1253', _('Vigo')),
-    ('1218', _('Xallas')),
-)
-
-
-COMARCAS_WITH_MUNICIPALITIES = {
-    '1201': [
-        _('Arzúa'),
-        _('Boimorto'),
-        _('O Pino'),
-        _('Touro'),
-    ],
-    '1202': [
-        _('Boiro'),
-        _('A Pobra do Caramiñal'),
-        _('Rianxo'),
-        _('Ribeira'),
-    ],
-    '1203': [
-        _('A Baña'),
-        _('Negreira'),
-    ],
-    '1204': [
-        _('Cabana de Bergantiños'),
-        _('Carballo'),
-        _('Coristanco'),
-        _('A Laracha'),
-        _('Laxe'),
-        _('Malpica de Bergantiños'),
-        _('Ponteceso'),
-    ],
-    '1205': [
-        _('Aranga'),
-        _('Betanzos'),
-        _('Cesuras'),
-        _('Coirós'),
-        _('Curtis'),
-        _('Irixoa'),
-        _('Miño'),
-        _('Oza dos Ríos'),
-        _('Paderne'),
-        _('Vilarmaior'),
-        _('Vilasantar'),
-    ],
-    '1206': [
-        _('Abegondo'),
-        _('Arteixo'),
-        _('Bergondo'),
-        _('Cambre'),
-        _('Carral'),
-        _('A Coruña'),
-        _('Culleredo'),
-        _('Oleiros'),
-        _('Sada'),
-    ],
-    '1207': [
-        _('Cabanas'),
-        _('A Capela'),
-        _('Monfero'),
-        _('Pontedeume'),
-        _('As Pontes de García Rodríguez'),
-    ],
-    '1208': [
-        _('Ares'),
-        _('Cedeira'),
-        _('Fene'),
-        _('Ferrol'),
-        _('Moeche'),
-        _('Mugardos'),
-        _('Narón'),
-        _('Neda'),
-        _('San Sadurniño'),
-        _('As Somozas'),
-        _('Valdoviño'),
-    ],
-    '1209': [
-        _('Cee'),
-        _('Corcubión'),
-        _('Dumbría'),
-        _('Fisterra'),
-        _('Muxía'),
-    ],
-    '1210': [
-        _('Carnota'),
-        _('Muros'),
-    ],
-    '1211': [
-        _('Lousame'),
-        _('Noia'),
-        _('Outes'),
-        _('Porto do Son'),
-    ],
-    '1212': [
-        _('Cerceda'),
-        _('Frades'),
-        _('Mesía'),
-        _('Ordes'),
-        _('Oroso'),
-        _('Tordoia'),
-        _('Trazo'),
-    ],
-    '1213': [
-        _('Cariño'),
-        _('Cerdido'),
-        _('Mañón'),
-        _('Ortigueira'),
-    ],
-    '1214': [
-        _('Ames'),
-        _('Boqueixón'),
-        _('Brión'),
-        _('Santiago de Compostela'),
-        _('Teo'),
-        _('Val do Dubra'),
-        _('Vedra'),
-    ],
-    '1215': [
-        _('Dodro'),
-        _('Padrón'),
-        _('Rois'),
-    ],
-    '1216': [
-        _('Melide'),
-        _('Santiso'),
-        _('Sobrado'),
-        _('Toques'),
-    ],
-    '1217': [
-        _('Camariñas'),
-        _('Vimianzo'),
-        _('Zas'),
-    ],
-    '1218': [
-        _('Mazaricos'),
-        _('Santa Comba'),
-    ],
-    '1219': [
-        _('Baralla'),
-        _('Becerreá'),
-        _('Cervantes'),
-        _('Navia de Suarna'),
-        _('As Nogais'),
-        _('Pedrafita do Cebreiro'),
-    ],
-    '1220': [
-        _('Carballedo'),
-        _('Chantada'),
-        _('Taboada'),
-    ],
-    '1221': [
-        _('Baleira'),
-        _('A Fonsagrada'),
-        _('Negueira de Muñiz'),
-    ],
-    '1222': [
-        _('Castroverde'),
-        _('O Corgo'),
-        _('Friol'),
-        _('Guntín'),
-        _('Lugo'),
-        _('Outeiro de Rei'),
-        _('Portomarín'),
-        _('Rábade'),
-    ],
-    '1223': [
-        _('Alfoz'),
-        _('Burela'),
-        _('Foz'),
-        _('Lourenzá'),
-        _('Mondoñedo'),
-        _('O Valadouro'),
-    ],
-    '1224': [
-        _('Cervo'),
-        _('Ourol'),
-        _('O Vicedo'),
-        _('Viveiro'),
-        _('Xove'),
-    ],
-    '1225': [
-        _('Barreiros'),
-        _('A Pontenova'),
-        _('Ribadeo'),
-        _('Trabada'),
-    ],
-    '1226': [
-        _('Meira'),
-        _('Pol'),
-        _('Ribeira de Piquín'),
-        _('Riotorto'),
-    ],
-    '1227': [
-        _('Folgoso do Courel'),
-        _('Quiroga'),
-        _('Ribas de Sil'),
-    ],
-    '1228': [
-        _('O Incio'),
-        _('Láncara'),
-        _('Paradela'),
-        _('O Páramo'),
-        _('Samos'),
-        _('Sarria'),
-        _('Triacastela'),
-    ],
-    '1229': [
-        _('Abadín'),
-        _('Begonte'),
-        _('Castro de Rei'),
-        _('Cospeito'),
-        _('Guitiriz'),
-        _('Muras'),
-        _('A Pastoriza'),
-        _('Vilalba'),
-        _('Xermade'),
-    ],
-    '1230': [
-        _('Bóveda'),
-        _('Monforte de Lemos'),
-        _('Pantón'),
-        _('A Pobra do Brollón'),
-        _('O Saviñao'),
-        _('Sober'),
-    ],
-    '1231': [
-        _('Antas de Ulla'),
-        _('Monterroso'),
-        _('Palas de Rei'),
-    ],
-    '1232': [
-        _('Allariz'),
-        _('Baños de Molgas'),
-        _('Maceda'),
-        _('Paderne de Allariz'),
-        _('Xunqueira de Ambía'),
-        _('Xunqueira de Espadanedo'),
-    ],
-    '1233': [
-        _('Bande'),
-        _('Entrimo'),
-        _('Lobeira'),
-        _('Lobios'),
-        _('Muíños'),
-    ],
-    '1234': [
-        _('Baltar'),
-        _('Os Blancos'),
-        _('Calvos de Randín'),
-        _('Porqueira'),
-        _('Rairiz de Veiga'),
-        _('Sandiás'),
-        _('Sarreaus'),
-        _('Trasmiras'),
-        _('Vilar de Barrio'),
-        _('Vilar de Santos'),
-        _('Xinzo de Limia'),
-    ],
-    '1235': [
-        _('Beariz'),
-        _('Boborás'),
-        _('O Carballiño'),
-        _('O Irixo'),
-        _('Maside'),
-        _('Piñor'),
-        _('Punxín'),
-        _('San Amaro'),
-        _('San Cristovo de Cea'),
-    ],
-    '1236': [
-        _('Amoeiro'),
-        _('Barbadás'),
-        _('Coles'),
-        _('Esgos'),
-        _('Nogueira de Ramuín'),
-        _('Ourense'),
-        _('O Pereiro de Aguiar'),
-        _('A Peroxa'),
-        _('San Cibrao das Viñas'),
-        _('Taboadela'),
-        _('Toén'),
-        _('Vilamarín'),
-    ],
-    '1237': [
-        _('A Arnoia'),
-        _('Avión'),
-        _('Beade'),
-        _('Carballeda de Avia'),
-        _('Castrelo de Miño'),
-        _('Cenlle'),
-        _('Cortegada'),
-        _('Leiro'),
-        _('Melón'),
-        _('Ribadavia'),
-    ],
-    '1238': [
-        _('Castro Caldelas'),
-        _('Montederramo'),
-        _('Parada de Sil'),
-        _('A Teixeira'),
-    ],
-    '1239': [
-        _('A Bola'),
-        _('Cartelle'),
-        _('Celanova'),
-        _('Gomesende'),
-        _('A Merca'),
-        _('Padrenda'),
-        _('Pontedeva'),
-        _('Quintela de Leirado'),
-        _('Ramirás'),
-        _('Verea'),
-    ],
-    '1240': [
-        _('Chandrexa de Queixa'),
-        _('Manzaneda'),
-        _('A Pobra de Trives'),
-        _('San Xoán de Río'),
-    ],
-    '1241': [
-        _('O Barco de Valdeorras'),
-        _('O Bolo'),
-        _('Carballeda de Valdeorras'),
-        _('Larouco'),
-        _('Petín'),
-        _('Rubiá'),
-        _('A Rúa'),
-        _('A Veiga'),
-        _('Vilamartín de Valdeorras'),
-    ],
-    '1242': [
-        _('Castrelo do Val'),
-        _('Cualedro'),
-        _('Laza'),
-        _('Monterrei'),
-        _('Oímbra'),
-        _('Riós'),
-        _('Verín'),
-        _('Vilardevós'),
-    ],
-    '1243': [
-        _('A Gudiña'),
-        _('A Mezquita'),
-        _('Viana do Bolo'),
-        _('Vilariño de Conso'),
-    ],
-    '1244': [
-        _('A Guarda'),
-        _('Oia'),
-        _('O Rosal'),
-        _('Tomiño'),
-        _('Tui'),
-    ],
-    '1245': [
-        _('Caldas de Reis'),
-        _('Catoira'),
-        _('Cuntis'),
-        _('Moraña'),
-        _('Pontecesures'),
-        _('Portas'),
-        _('Valga'),
-    ],
-    '1246': [
-        _('Mondariz'),
-        _('Mondariz-Balneario'),
-        _('As Neves'),
-        _('Ponteareas'),
-        _('Salvaterra de Miño'),
-    ],
-    '1247': [
-        _('Agolada'),
-        _('Dozón'),
-        _('Lalín'),
-        _('Rodeiro'),
-        _('Silleda'),
-        _('Vila de Cruces'),
-    ],
-    '1248': [
-        _('Bueu'),
-        _('Cangas'),
-        _('Marín'),
-        _('Moaña'),
-    ],
-    '1249': [
-        _('Arbo'),
-        _('A Cañiza'),
-        _('Covelo'),
-        _('Crecente'),
-    ],
-    '1250': [
-        _('Barro'),
-        _('Campo Lameiro'),
-        _('Cotobade'),
-        _('A Lama'),
-        _('Poio'),
-        _('Ponte Caldelas'),
-        _('Pontevedra'),
-        _('Vilaboa'),
-    ],
-    '1251': [
-        _('Cambados'),
-        _('O Grove'),
-        _('A Illa de Arousa'),
-        _('Meaño'),
-        _('Meis'),
-        _('Ribadumia'),
-        _('Sanxenxo'),
-        _('Vilagarcía de Arousa'),
-        _('Vilanova de Arousa'),
-    ],
-    '1252': [
-        _('Cerdedo'),
-        _('A Estrada'),
-        _('Forcarei'),
-    ],
-    '1253': [
-        _('Baiona'),
-        _('Fornelos de Montes'),
-        _('Gondomar'),
-        _('Mos'),
-        _('Nigrán'),
-        _('Pazos de Borbén'),
-        _('O Porriño'),
-        _('Redondela'),
-        _('Salceda de Caselas'),
-        _('Soutomaior'),
-        _('Vigo'),
-    ],
-}

File django_localflavor_es_ga/es_ga_municipalities.py

-# -*- coding: utf-8 -*-
-"""
-List of Galicia (Spain) municipalities as of January 2013
-for use as select choices.
-
-Sorted alphabetically, with articles last.
-
-The choice value is the National Statistics Institute (INE) code
-for each municipality.
-
-"""
-from __future__ import unicode_literals
-from django.utils.translation import ugettext_lazy as _
-
-
-MUNICIPALITY_CHOICES = (
-    ('27001', _('Abadín')),
-    ('15001', _('Abegondo')),
-    ('36020', _('Agolada')),
-    ('27002', _('Alfoz')),
-    ('32001', _('Allariz')),
-    ('15002', _('Ames')),
-    ('32002', _('Amoeiro')),
-    ('27003', _('Antas de Ulla')),
-    ('15003', _('Aranga')),
-    ('36001', _('Arbo')),
-    ('15004', _('Ares')),
-    ('32003', _('Arnoia, A')),
-    ('15005', _('Arteixo')),
-    ('15006', _('Arzúa')),
-    ('32004', _('Avión')),
-    ('36003', _('Baiona')),
-    ('27004', _('Baleira')),
-    ('32005', _('Baltar')),
-    ('32006', _('Bande')),
-    ('27901', _('Baralla')),
-    ('32008', _('Barbadás')),
-    ('32009', _('Barco de Valdeorras, O')),
-    ('27005', _('Barreiros')),
-    ('36002', _('Barro')),
-    ('15007', _('Baña, A')),
-    ('32007', _('Baños de Molgas')),
-    ('32010', _('Beade')),
-    ('32011', _('Beariz')),
-    ('27006', _('Becerreá')),
-    ('27007', _('Begonte')),
-    ('15008', _('Bergondo')),
-    ('15009', _('Betanzos')),
-    ('32012', _('Blancos, Os')),
-    ('32013', _('Boborás')),
-    ('15010', _('Boimorto')),
-    ('15011', _('Boiro')),
-    ('32014', _('Bola, A')),
-    ('32015', _('Bolo, O')),
-    ('15012', _('Boqueixón')),
-    ('15013', _('Brión')),
-    ('36004', _('Bueu')),
-    ('27902', _('Burela')),
-    ('27008', _('Bóveda')),
-    ('15014', _('Cabana de Bergantiños')),
-    ('15015', _('Cabanas')),
-    ('36005', _('Caldas de Reis')),
-    ('32016', _('Calvos de Randín')),
-    ('15016', _('Camariñas')),
-    ('36006', _('Cambados')),
-    ('15017', _('Cambre')),
-    ('36007', _('Campo Lameiro')),
-    ('36008', _('Cangas')),
-    ('15018', _('Capela, A')),
-    ('32018', _('Carballeda de Avia')),
-    ('32017', _('Carballeda de Valdeorras')),
-    ('27009', _('Carballedo')),
-    ('32019', _('Carballiño, O')),
-    ('15019', _('Carballo')),
-    ('15901', _('Cariño')),
-    ('15020', _('Carnota')),
-    ('15021', _('Carral')),
-    ('32020', _('Cartelle')),
-    ('32022', _('Castrelo de Miño')),
-    ('32021', _('Castrelo do Val')),
-    ('32023', _('Castro Caldelas')),
-    ('27010', _('Castro de Rei')),
-    ('27011', _('Castroverde')),
-    ('36010', _('Catoira')),
-    ('36009', _('Cañiza, A')),
-    ('15022', _('Cedeira')),
-    ('15023', _('Cee')),
-    ('32024', _('Celanova')),
-    ('32025', _('Cenlle')),
-    ('15024', _('Cerceda')),
-    ('36011', _('Cerdedo')),
-    ('15025', _('Cerdido')),
-    ('27012', _('Cervantes')),
-    ('27013', _('Cervo')),
-    ('15026', _('Cesuras')),
-    ('32029', _('Chandrexa de Queixa')),
-    ('27016', _('Chantada')),
-    ('15027', _('Coirós')),
-    ('32026', _('Coles')),
-    ('15028', _('Corcubión')),
-    ('27014', _('Corgo, O')),
-    ('15029', _('Coristanco')),
-    ('32027', _('Cortegada')),
-    ('15030', _('Coruña, A')),
-    ('27015', _('Cospeito')),
-    ('36012', _('Cotobade')),
-    ('36013', _('Covelo')),
-    ('36014', _('Crecente')),
-    ('32028', _('Cualedro')),
-    ('15031', _('Culleredo')),
-    ('36015', _('Cuntis')),
-    ('15032', _('Curtis')),
-    ('15033', _('Dodro')),
-    ('36016', _('Dozón')),
-    ('15034', _('Dumbría')),
-    ('32030', _('Entrimo')),
-    ('32031', _('Esgos')),
-    ('36017', _('Estrada, A')),
-    ('15035', _('Fene')),
-    ('15036', _('Ferrol')),
-    ('15037', _('Fisterra')),
-    ('27017', _('Folgoso do Courel')),
-    ('27018', _('Fonsagrada, A')),
-    ('36018', _('Forcarei')),
-    ('36019', _('Fornelos de Montes')),
-    ('27019', _('Foz')),
-    ('15038', _('Frades')),
-    ('27020', _('Friol')),
-    ('32033', _('Gomesende')),
-    ('36021', _('Gondomar')),
-    ('36022', _('Grove, O')),
-    ('36023', _('Guarda, A')),
-    ('32034', _('Gudiña, A')),
-    ('27022', _('Guitiriz')),
-    ('27023', _('Guntín')),
-    ('36901', _('Illa de Arousa, A')),
-    ('27024', _('Incio, O')),
-    ('32035', _('Irixo, O')),
-    ('15039', _('Irixoa')),
-    ('36024', _('Lalín')),
-    ('36025', _('Lama, A')),
-    ('15041', _('Laracha, A')),
-    ('32038', _('Larouco')),
-    ('15040', _('Laxe')),
-    ('32039', _('Laza')),
-    ('32040', _('Leiro')),
-    ('32041', _('Lobeira')),
-    ('32042', _('Lobios')),
-    ('27027', _('Lourenzá')),
-    ('15042', _('Lousame')),
-    ('27028', _('Lugo')),
-    ('27026', _('Láncara')),
-    ('32043', _('Maceda')),
-    ('15043', _('Malpica de Bergantiños')),
-    ('32044', _('Manzaneda')),
-    ('36026', _('Marín')),
-    ('32045', _('Maside')),
-    ('15045', _('Mazaricos')),
-    ('15044', _('Mañón')),
-    ('36027', _('Meaño')),
-    ('27029', _('Meira')),
-    ('36028', _('Meis')),
-    ('15046', _('Melide')),
-    ('32046', _('Melón')),
-    ('32047', _('Merca, A')),
-    ('15047', _('Mesía')),
-    ('32048', _('Mezquita, A')),
-    ('15048', _('Miño')),
-    ('36029', _('Moaña')),
-    ('15049', _('Moeche')),
-    ('36030', _('Mondariz')),
-    ('36031', _('Mondariz-Balneario')),
-    ('27030', _('Mondoñedo')),
-    ('15050', _('Monfero')),
-    ('27031', _('Monforte de Lemos')),
-    ('32049', _('Montederramo')),
-    ('32050', _('Monterrei')),
-    ('27032', _('Monterroso')),
-    ('36032', _('Moraña')),
-    ('36033', _('Mos')),
-    ('15051', _('Mugardos')),
-    ('27033', _('Muras')),
-    ('15053', _('Muros')),
-    ('15052', _('Muxía')),
-    ('32051', _('Muíños')),
-    ('15054', _('Narón')),
-    ('27034', _('Navia de Suarna')),
-    ('15055', _('Neda')),
-    ('15056', _('Negreira')),
-    ('27035', _('Negueira de Muñiz')),
-    ('36034', _('Neves, As')),
-    ('36035', _('Nigrán')),
-    ('27037', _('Nogais, As')),
-    ('32052', _('Nogueira de Ramuín')),
-    ('15057', _('Noia')),
-    ('36036', _('Oia')),
-    ('15058', _('Oleiros')),
-    ('15059', _('Ordes')),
-    ('15060', _('Oroso')),
-    ('15061', _('Ortigueira')),
-    ('32054', _('Ourense')),
-    ('27038', _('Ourol')),
-    ('27039', _('Outeiro de Rei')),
-    ('15062', _('Outes')),
-    ('15063', _('Oza dos Ríos')),
-    ('32053', _('Oímbra')),
-    ('15064', _('Paderne')),
-    ('32055', _('Paderne de Allariz')),
-    ('32056', _('Padrenda')),
-    ('15065', _('Padrón')),
-    ('27040', _('Palas de Rei')),
-    ('27041', _('Pantón')),
-    ('32057', _('Parada de Sil')),
-    ('27042', _('Paradela')),
-    ('27044', _('Pastoriza, A')),
-    ('36037', _('Pazos de Borbén')),
-    ('27045', _('Pedrafita do Cebreiro')),
-    ('32058', _('Pereiro de Aguiar, O')),
-    ('32059', _('Peroxa, A')),
-    ('32060', _('Petín')),
-    ('15066', _('Pino, O')),
-    ('32061', _('Piñor')),
-    ('32063', _('Pobra de Trives, A')),
-    ('27047', _('Pobra do Brollón, A')),
-    ('15067', _('Pobra do Caramiñal, A')),
-    ('36041', _('Poio')),
-    ('27046', _('Pol')),
-    ('36043', _('Ponte Caldelas')),
-    ('36042', _('Ponteareas')),
-    ('15068', _('Ponteceso')),
-    ('36044', _('Pontecesures')),
-    ('15069', _('Pontedeume')),
-    ('32064', _('Pontedeva')),
-    ('27048', _('Pontenova, A')),
-    ('15070', _('Pontes de García Rodríguez, As')),
-    ('36038', _('Pontevedra')),
-    ('32062', _('Porqueira')),
-    ('36039', _('Porriño, O')),
-    ('36040', _('Portas')),
-    ('15071', _('Porto do Son')),
-    ('27049', _('Portomarín')),
-    ('32065', _('Punxín')),
-    ('27043', _('Páramo, O')),
-    ('32066', _('Quintela de Leirado')),
-    ('27050', _('Quiroga')),
-    ('32067', _('Rairiz de Veiga')),
-    ('32068', _('Ramirás')),
-    ('36045', _('Redondela')),
-    ('15072', _('Rianxo')),
-    ('32069', _('Ribadavia')),
-    ('27051', _('Ribadeo')),
-    ('36046', _('Ribadumia')),
-    ('27052', _('Ribas de Sil')),
-    ('15073', _('Ribeira')),
-    ('27053', _('Ribeira de Piquín')),
-    ('27054', _('Riotorto')),
-    ('32071', _('Riós')),
-    ('36047', _('Rodeiro')),
-    ('15074', _('Rois')),
-    ('36048', _('Rosal, O')),
-    ('32073', _('Rubiá')),
-    ('27056', _('Rábade')),
-    ('32072', _('Rúa, A')),
-    ('15075', _('Sada')),
-    ('36049', _('Salceda de Caselas')),
-    ('36050', _('Salvaterra de Miño')),
-    ('27055', _('Samos')),
-    ('32074', _('San Amaro')),
-    ('32075', _('San Cibrao das Viñas')),
-    ('32076', _('San Cristovo de Cea')),
-    ('15076', _('San Sadurniño')),
-    ('32070', _('San Xoán de Río')),
-    ('32077', _('Sandiás')),
-    ('15077', _('Santa Comba')),
-    ('15078', _('Santiago de Compostela')),
-    ('15079', _('Santiso')),
-    ('36051', _('Sanxenxo')),
-    ('32078', _('Sarreaus')),
-    ('27057', _('Sarria')),
-    ('27058', _('Saviñao, O')),
-    ('36052', _('Silleda')),
-    ('27059', _('Sober')),
-    ('15080', _('Sobrado')),
-    ('15081', _('Somozas, As')),
-    ('36053', _('Soutomaior')),
-    ('27060', _('Taboada')),
-    ('32079', _('Taboadela')),
-    ('32080', _('Teixeira, A')),
-    ('15082', _('Teo')),
-    ('36054', _('Tomiño')),
-    ('15083', _('Toques')),
-    ('15084', _('Tordoia')),
-    ('15085', _('Touro')),
-    ('32081', _('Toén')),
-    ('27061', _('Trabada')),
-    ('32082', _('Trasmiras')),
-    ('15086', _('Trazo')),
-    ('27062', _('Triacastela')),
-    ('36055', _('Tui')),
-    ('15088', _('Val do Dubra')),
-    ('27063', _('Valadouro, O')),
-    ('15087', _('Valdoviño')),
-    ('36056', _('Valga')),
-    ('15089', _('Vedra')),
-    ('32083', _('Veiga, A')),
-    ('32084', _('Verea')),
-    ('32085', _('Verín')),
-    ('32086', _('Viana do Bolo')),
-    ('27064', _('Vicedo, O')),
-    ('36057', _('Vigo')),
-    ('36059', _('Vila de Cruces')),
-    ('36058', _('Vilaboa')),
-    ('36060', _('Vilagarcía de Arousa')),
-    ('27065', _('Vilalba')),
-    ('32088', _('Vilamartín de Valdeorras')),
-    ('32087', _('Vilamarín')),
-    ('36061', _('Vilanova de Arousa')),
-    ('32089', _('Vilar de Barrio')),
-    ('32090', _('Vilar de Santos')),
-    ('32091', _('Vilardevós')),
-    ('32092', _('Vilariño de Conso')),
-    ('15091', _('Vilarmaior')),
-    ('15090', _('Vilasantar')),
-    ('15092', _('Vimianzo')),
-    ('27066', _('Viveiro')),
-    ('27021', _('Xermade')),
-    ('32032', _('Xinzo de Limia')),
-    ('27025', _('Xove')),
-    ('32036', _('Xunqueira de Ambía')),
-    ('32037', _('Xunqueira de Espadanedo')),
-    ('15093', _('Zas')),
-)

File django_localflavor_es_ga/es_ga_provinces.py

-# -*- coding: utf-8 -*-
-
-from django.utils.translation import ugettext_lazy as _
-from __future__ import unicode_literals
-
-
-PROVINCE_CHOICES = (
-    ('15', _('A Coruña')),
-    ('27', _('Lugo')),
-    ('32', _('Ourense')),
-    ('36', _('Pontevedra')),
-)

File django_localflavor_es_ga/forms.py

-# -*- coding: utf-8 -*-
-"""
-ES-GA-specific Form helpers
-"""
-
-from __future__ import absolute_import, unicode_literals
-
-from django.forms.fields import Select
-from .es_ga_municipalities import MUNICIPALITY_CHOICES
-from .es_ga_comarcas import COMARCA_CHOICES
-
-
-class ESGAMunicipalitySelect(Select):
-    """
-    A Select widget that uses a list of Galician municipalities as its choices.
-    """
-    def __init__(self, attrs=None):
-        super(ESGAMunicipalitySelect, self).__init__(attrs, choices=MUNICIPALITY_CHOICES)
-
-
-class ESGAComarcaSelect(Select):
-    """
-    A Select widget that uses a list of Galician comarcas as its choices.
-    """
-    def __init__(self, attrs=None):
-        super(ESGAComarcaSelect, self).__init__(attrs, choices=COMARCA_CHOICES)