l12n 0.1.0 → 1.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +16 -0
- data/README.md +4 -4
- data/app/controllers/l12n/cities_controller.rb +2 -2
- data/app/controllers/l12n/districts_controller.rb +2 -2
- data/app/models/city.rb +1 -1
- data/config/I12n/cities.yml +325 -0
- data/config/I12n/countries.yml +4 -0
- data/config/I12n/districts.yml +3833 -0
- data/db/migrate/20131016074302_create_cities.rb +4 -8
- data/db/migrate/20131016074403_create_districts.rb +5 -8
- data/lib/l12n.rb +1 -1
- data/lib/l12n/engine.rb +4 -0
- data/lib/l12n/version.rb +1 -1
- data/spec/spec_helper.rb +16 -0
- metadata +42 -8
@@ -1,17 +1,13 @@
|
|
1
|
-
|
1
|
+
# encoding: UTF-8
|
2
|
+
require 'yaml'
|
2
3
|
class CreateCities < ActiveRecord::Migration
|
3
4
|
def change
|
4
5
|
create_table :cities do |t|
|
5
6
|
t.string :name
|
6
|
-
|
7
|
-
t.timestamps
|
8
7
|
end
|
9
|
-
|
10
|
-
cities = JSON.parse(data)
|
8
|
+
cities = YAML.load_file(l12n::Engine.root.to_s + '/config/l12n/cities.yml')
|
11
9
|
cities.each do |city|
|
12
|
-
|
13
|
-
new_city.name = city['name']
|
14
|
-
new_city.save!
|
10
|
+
City.create(name: city['name'])
|
15
11
|
end
|
16
12
|
end
|
17
13
|
end
|
@@ -1,18 +1,15 @@
|
|
1
|
+
# encoding: UTF-8
|
2
|
+
require 'yaml'
|
1
3
|
class CreateDistricts < ActiveRecord::Migration
|
2
4
|
def change
|
3
5
|
create_table :districts do |t|
|
4
6
|
t.string :name
|
5
7
|
t.references :city, index: true
|
6
|
-
|
7
|
-
t.timestamps
|
8
8
|
end
|
9
|
-
data = '[{"id":1,"name":"Seyhan","city_id":1,"created_at":null,"updated_at":null},{"id":2,"name":"Yüreğir","city_id":1,"created_at":null,"updated_at":null},{"id":3,"name":"Sarıçam","city_id":1,"created_at":null,"updated_at":null},{"id":4,"name":"Çukurova","city_id":1,"created_at":null,"updated_at":null},{"id":5,"name":"Aladağ(Karsantı)","city_id":1,"created_at":null,"updated_at":null},{"id":6,"name":"Ceyhan","city_id":1,"created_at":null,"updated_at":null},{"id":7,"name":"Feke","city_id":1,"created_at":null,"updated_at":null},{"id":8,"name":"İmamoğlu","city_id":1,"created_at":null,"updated_at":null},{"id":9,"name":"Karaisalı","city_id":1,"created_at":null,"updated_at":null},{"id":10,"name":"Karataş","city_id":1,"created_at":null,"updated_at":null},{"id":11,"name":"Kozan","city_id":1,"created_at":null,"updated_at":null},{"id":12,"name":"Pozantı","city_id":1,"created_at":null,"updated_at":null},{"id":13,"name":"Saimbeyli","city_id":1,"created_at":null,"updated_at":null},{"id":14,"name":"Tufanbeyli","city_id":1,"created_at":null,"updated_at":null},{"id":15,"name":"Yumurtalık","city_id":1,"created_at":null,"updated_at":null},{"id":16,"name":"Adıyaman","city_id":2,"created_at":null,"updated_at":null},{"id":17,"name":"Besni","city_id":2,"created_at":null,"updated_at":null},{"id":18,"name":"Çelikhan","city_id":2,"created_at":null,"updated_at":null},{"id":19,"name":"Gerger","city_id":2,"created_at":null,"updated_at":null},{"id":20,"name":"Gölbaşı","city_id":2,"created_at":null,"updated_at":null},{"id":21,"name":"Kahta","city_id":2,"created_at":null,"updated_at":null},{"id":22,"name":"Samsat","city_id":2,"created_at":null,"updated_at":null},{"id":23,"name":"Sincik","city_id":2,"created_at":null,"updated_at":null},{"id":24,"name":"Tut","city_id":2,"created_at":null,"updated_at":null},{"id":25,"name":"Afyonkarahisar","city_id":3,"created_at":null,"updated_at":null},{"id":26,"name":"Başmakçı","city_id":3,"created_at":null,"updated_at":null},{"id":27,"name":"Bayat","city_id":3,"created_at":null,"updated_at":null},{"id":28,"name":"Bolvadin","city_id":3,"created_at":null,"updated_at":null},{"id":29,"name":"Çay","city_id":3,"created_at":null,"updated_at":null},{"id":30,"name":"Çobanlar","city_id":3,"created_at":null,"updated_at":null},{"id":31,"name":"Dazkırı","city_id":3,"created_at":null,"updated_at":null},{"id":32,"name":"Dinar","city_id":3,"created_at":null,"updated_at":null},{"id":33,"name":"Emirdağ","city_id":3,"created_at":null,"updated_at":null},{"id":34,"name":"Evciler","city_id":3,"created_at":null,"updated_at":null},{"id":35,"name":"Hocalar","city_id":3,"created_at":null,"updated_at":null},{"id":36,"name":"İhsaniye","city_id":3,"created_at":null,"updated_at":null},{"id":37,"name":"İscehisar","city_id":3,"created_at":null,"updated_at":null},{"id":38,"name":"Kızılören","city_id":3,"created_at":null,"updated_at":null},{"id":39,"name":"Sandıklı","city_id":3,"created_at":null,"updated_at":null},{"id":40,"name":"Sincanlı(Sinanpaşa)","city_id":3,"created_at":null,"updated_at":null},{"id":41,"name":"Sultandağı","city_id":3,"created_at":null,"updated_at":null},{"id":42,"name":"Şuhut","city_id":3,"created_at":null,"updated_at":null},{"id":43,"name":"Ağrı","city_id":4,"created_at":null,"updated_at":null},{"id":44,"name":"Diyadin","city_id":4,"created_at":null,"updated_at":null},{"id":45,"name":"Doğubeyazıt","city_id":4,"created_at":null,"updated_at":null},{"id":46,"name":"Eleşkirt","city_id":4,"created_at":null,"updated_at":null},{"id":47,"name":"Hamur","city_id":4,"created_at":null,"updated_at":null},{"id":48,"name":"Patnos","city_id":4,"created_at":null,"updated_at":null},{"id":49,"name":"Taşlıçay","city_id":4,"created_at":null,"updated_at":null},{"id":50,"name":"Tutak","city_id":4,"created_at":null,"updated_at":null},{"id":51,"name":"Amasya","city_id":5,"created_at":null,"updated_at":null},{"id":52,"name":"Göynücek","city_id":5,"created_at":null,"updated_at":null},{"id":53,"name":"Gümüşhacıköy","city_id":5,"created_at":null,"updated_at":null},{"id":54,"name":"Hamamözü","city_id":5,"created_at":null,"updated_at":null},{"id":55,"name":"Merzifon","city_id":5,"created_at":null,"updated_at":null},{"id":56,"name":"Suluova","city_id":5,"created_at":null,"updated_at":null},{"id":57,"name":"Taşova","city_id":5,"created_at":null,"updated_at":null},{"id":58,"name":"Altındağ","city_id":6,"created_at":null,"updated_at":null},{"id":59,"name":"Çankaya","city_id":6,"created_at":null,"updated_at":null},{"id":60,"name":"Etimesgut","city_id":6,"created_at":null,"updated_at":null},{"id":61,"name":"Keçiören","city_id":6,"created_at":null,"updated_at":null},{"id":62,"name":"Mamak","city_id":6,"created_at":null,"updated_at":null},{"id":63,"name":"Sincan","city_id":6,"created_at":null,"updated_at":null},{"id":64,"name":"Yenimahalle","city_id":6,"created_at":null,"updated_at":null},{"id":65,"name":"Gölbaşı","city_id":6,"created_at":null,"updated_at":null},{"id":66,"name":"Pursaklar","city_id":6,"created_at":null,"updated_at":null},{"id":67,"name":"Akyurt","city_id":6,"created_at":null,"updated_at":null},{"id":68,"name":"Ayaş","city_id":6,"created_at":null,"updated_at":null},{"id":69,"name":"Bala","city_id":6,"created_at":null,"updated_at":null},{"id":70,"name":"Beypazarı","city_id":6,"created_at":null,"updated_at":null},{"id":71,"name":"Çamlıdere","city_id":6,"created_at":null,"updated_at":null},{"id":72,"name":"Çubuk","city_id":6,"created_at":null,"updated_at":null},{"id":73,"name":"Elmadağ","city_id":6,"created_at":null,"updated_at":null},{"id":74,"name":"Evren","city_id":6,"created_at":null,"updated_at":null},{"id":75,"name":"Güdül","city_id":6,"created_at":null,"updated_at":null},{"id":76,"name":"Haymana","city_id":6,"created_at":null,"updated_at":null},{"id":77,"name":"Kalecik","city_id":6,"created_at":null,"updated_at":null},{"id":78,"name":"Kazan","city_id":6,"created_at":null,"updated_at":null},{"id":79,"name":"Kızılcahamam","city_id":6,"created_at":null,"updated_at":null},{"id":80,"name":"Nallıhan","city_id":6,"created_at":null,"updated_at":null},{"id":81,"name":"Polatlı","city_id":6,"created_at":null,"updated_at":null},{"id":82,"name":"Şereflikoçhisar","city_id":6,"created_at":null,"updated_at":null},{"id":83,"name":"Muratpaşa","city_id":7,"created_at":null,"updated_at":null},{"id":84,"name":"Kepez","city_id":7,"created_at":null,"updated_at":null},{"id":85,"name":"Konyaaltı","city_id":7,"created_at":null,"updated_at":null},{"id":86,"name":"Aksu","city_id":7,"created_at":null,"updated_at":null},{"id":87,"name":"Döşemealtı","city_id":7,"created_at":null,"updated_at":null},{"id":88,"name":"Akseki","city_id":7,"created_at":null,"updated_at":null},{"id":89,"name":"Alanya","city_id":7,"created_at":null,"updated_at":null},{"id":90,"name":"Elmalı","city_id":7,"created_at":null,"updated_at":null},{"id":91,"name":"Finike","city_id":7,"created_at":null,"updated_at":null},{"id":92,"name":"Gazipaşa","city_id":7,"created_at":null,"updated_at":null},{"id":93,"name":"Gündoğmuş","city_id":7,"created_at":null,"updated_at":null},{"id":94,"name":"İbradı(Aydınkent)","city_id":7,"created_at":null,"updated_at":null},{"id":95,"name":"Kale(Demre)","city_id":7,"created_at":null,"updated_at":null},{"id":96,"name":"Kaş","city_id":7,"created_at":null,"updated_at":null},{"id":97,"name":"Kemer","city_id":7,"created_at":null,"updated_at":null},{"id":98,"name":"Korkuteli","city_id":7,"created_at":null,"updated_at":null},{"id":99,"name":"Kumluca","city_id":7,"created_at":null,"updated_at":null},{"id":100,"name":"Manavgat","city_id":7,"created_at":null,"updated_at":null},{"id":101,"name":"Serik","city_id":7,"created_at":null,"updated_at":null},{"id":102,"name":"Artvin","city_id":8,"created_at":null,"updated_at":null},{"id":103,"name":"Ardanuç","city_id":8,"created_at":null,"updated_at":null},{"id":104,"name":"Arhavi","city_id":8,"created_at":null,"updated_at":null},{"id":105,"name":"Borçka","city_id":8,"created_at":null,"updated_at":null},{"id":106,"name":"Hopa","city_id":8,"created_at":null,"updated_at":null},{"id":107,"name":"Murgul(Göktaş)","city_id":8,"created_at":null,"updated_at":null},{"id":108,"name":"Şavşat","city_id":8,"created_at":null,"updated_at":null},{"id":109,"name":"Yusufeli","city_id":8,"created_at":null,"updated_at":null},{"id":110,"name":"Aydın","city_id":9,"created_at":null,"updated_at":null},{"id":111,"name":"Bozdoğan","city_id":9,"created_at":null,"updated_at":null},{"id":112,"name":"Buharkent(Çubukdağı)","city_id":9,"created_at":null,"updated_at":null},{"id":113,"name":"Çine","city_id":9,"created_at":null,"updated_at":null},{"id":114,"name":"Germencik","city_id":9,"created_at":null,"updated_at":null},{"id":115,"name":"İncirliova","city_id":9,"created_at":null,"updated_at":null},{"id":116,"name":"Karacasu","city_id":9,"created_at":null,"updated_at":null},{"id":117,"name":"Karpuzlu","city_id":9,"created_at":null,"updated_at":null},{"id":118,"name":"Koçarlı","city_id":9,"created_at":null,"updated_at":null},{"id":119,"name":"Köşk","city_id":9,"created_at":null,"updated_at":null},{"id":120,"name":"Kuşadası","city_id":9,"created_at":null,"updated_at":null},{"id":121,"name":"Kuyucak","city_id":9,"created_at":null,"updated_at":null},{"id":122,"name":"Nazilli","city_id":9,"created_at":null,"updated_at":null},{"id":123,"name":"Söke","city_id":9,"created_at":null,"updated_at":null},{"id":124,"name":"Sultanhisar","city_id":9,"created_at":null,"updated_at":null},{"id":125,"name":"Didim(Yenihisar)","city_id":9,"created_at":null,"updated_at":null},{"id":126,"name":"Yenipazar","city_id":9,"created_at":null,"updated_at":null},{"id":127,"name":"Balıkesir","city_id":10,"created_at":null,"updated_at":null},{"id":128,"name":"Ayvalık","city_id":10,"created_at":null,"updated_at":null},{"id":129,"name":"Balya","city_id":10,"created_at":null,"updated_at":null},{"id":130,"name":"Bandırma","city_id":10,"created_at":null,"updated_at":null},{"id":131,"name":"Bigadiç","city_id":10,"created_at":null,"updated_at":null},{"id":132,"name":"Burhaniye","city_id":10,"created_at":null,"updated_at":null},{"id":133,"name":"Dursunbey","city_id":10,"created_at":null,"updated_at":null},{"id":134,"name":"Edremit","city_id":10,"created_at":null,"updated_at":null},{"id":135,"name":"Erdek","city_id":10,"created_at":null,"updated_at":null},{"id":136,"name":"Gömeç","city_id":10,"created_at":null,"updated_at":null},{"id":137,"name":"Gönen","city_id":10,"created_at":null,"updated_at":null},{"id":138,"name":"Havran","city_id":10,"created_at":null,"updated_at":null},{"id":139,"name":"İvrindi","city_id":10,"created_at":null,"updated_at":null},{"id":140,"name":"Kepsut","city_id":10,"created_at":null,"updated_at":null},{"id":141,"name":"Manyas","city_id":10,"created_at":null,"updated_at":null},{"id":142,"name":"Marmara","city_id":10,"created_at":null,"updated_at":null},{"id":143,"name":"Savaştepe","city_id":10,"created_at":null,"updated_at":null},{"id":144,"name":"Sındırgı","city_id":10,"created_at":null,"updated_at":null},{"id":145,"name":"Susurluk","city_id":10,"created_at":null,"updated_at":null},{"id":146,"name":"Bilecik","city_id":11,"created_at":null,"updated_at":null},{"id":147,"name":"Bozüyük","city_id":11,"created_at":null,"updated_at":null},{"id":148,"name":"Gölpazarı","city_id":11,"created_at":null,"updated_at":null},{"id":149,"name":"İnhisar","city_id":11,"created_at":null,"updated_at":null},{"id":150,"name":"Osmaneli","city_id":11,"created_at":null,"updated_at":null},{"id":151,"name":"Pazaryeri","city_id":11,"created_at":null,"updated_at":null},{"id":152,"name":"Söğüt","city_id":11,"created_at":null,"updated_at":null},{"id":153,"name":"Yenipazar","city_id":11,"created_at":null,"updated_at":null},{"id":154,"name":"Bingöl","city_id":12,"created_at":null,"updated_at":null},{"id":155,"name":"Adaklı","city_id":12,"created_at":null,"updated_at":null},{"id":156,"name":"Genç","city_id":12,"created_at":null,"updated_at":null},{"id":157,"name":"Karlıova","city_id":12,"created_at":null,"updated_at":null},{"id":158,"name":"Kığı","city_id":12,"created_at":null,"updated_at":null},{"id":159,"name":"Solhan","city_id":12,"created_at":null,"updated_at":null},{"id":160,"name":"Yayladere","city_id":12,"created_at":null,"updated_at":null},{"id":161,"name":"Yedisu","city_id":12,"created_at":null,"updated_at":null},{"id":162,"name":"Bitlis","city_id":13,"created_at":null,"updated_at":null},{"id":163,"name":"Addistrictsvaz","city_id":13,"created_at":null,"updated_at":null},{"id":164,"name":"Ahlat","city_id":13,"created_at":null,"updated_at":null},{"id":165,"name":"Güroymak","city_id":13,"created_at":null,"updated_at":null},{"id":166,"name":"Hizan","city_id":13,"created_at":null,"updated_at":null},{"id":167,"name":"Mutki","city_id":13,"created_at":null,"updated_at":null},{"id":168,"name":"Tatvan","city_id":13,"created_at":null,"updated_at":null},{"id":169,"name":"Bolu","city_id":14,"created_at":null,"updated_at":null},{"id":170,"name":"Dörtdivan","city_id":14,"created_at":null,"updated_at":null},{"id":171,"name":"Gerede","city_id":14,"created_at":null,"updated_at":null},{"id":172,"name":"Göynük","city_id":14,"created_at":null,"updated_at":null},{"id":173,"name":"Kıbrıscık","city_id":14,"created_at":null,"updated_at":null},{"id":174,"name":"Mengen","city_id":14,"created_at":null,"updated_at":null},{"id":175,"name":"Mudurnu","city_id":14,"created_at":null,"updated_at":null},{"id":176,"name":"Seben","city_id":14,"created_at":null,"updated_at":null},{"id":177,"name":"Yeniçağa","city_id":14,"created_at":null,"updated_at":null},{"id":178,"name":"Burdur","city_id":15,"created_at":null,"updated_at":null},{"id":179,"name":"Ağlasun","city_id":15,"created_at":null,"updated_at":null},{"id":180,"name":"Altınyayla(Dirmil)","city_id":15,"created_at":null,"updated_at":null},{"id":181,"name":"Bucak","city_id":15,"created_at":null,"updated_at":null},{"id":182,"name":"Çavdır","city_id":15,"created_at":null,"updated_at":null},{"id":183,"name":"Çeltikçi","city_id":15,"created_at":null,"updated_at":null},{"id":184,"name":"Gölhisar","city_id":15,"created_at":null,"updated_at":null},{"id":185,"name":"Karamanlı","city_id":15,"created_at":null,"updated_at":null},{"id":186,"name":"Kemer","city_id":15,"created_at":null,"updated_at":null},{"id":187,"name":"Tefenni","city_id":15,"created_at":null,"updated_at":null},{"id":188,"name":"Yeşilova","city_id":15,"created_at":null,"updated_at":null},{"id":189,"name":"Nilüfer","city_id":16,"created_at":null,"updated_at":null},{"id":190,"name":"Osmangazi","city_id":16,"created_at":null,"updated_at":null},{"id":191,"name":"Yıldırım","city_id":16,"created_at":null,"updated_at":null},{"id":192,"name":"Büyükorhan","city_id":16,"created_at":null,"updated_at":null},{"id":193,"name":"Gemlik","city_id":16,"created_at":null,"updated_at":null},{"id":194,"name":"Gürsu","city_id":16,"created_at":null,"updated_at":null},{"id":195,"name":"Harmancık","city_id":16,"created_at":null,"updated_at":null},{"id":196,"name":"İnegöl","city_id":16,"created_at":null,"updated_at":null},{"id":197,"name":"İznik","city_id":16,"created_at":null,"updated_at":null},{"id":198,"name":"Karacabey","city_id":16,"created_at":null,"updated_at":null},{"id":199,"name":"Keles","city_id":16,"created_at":null,"updated_at":null},{"id":200,"name":"Kestel","city_id":16,"created_at":null,"updated_at":null},{"id":201,"name":"Mudanya","city_id":16,"created_at":null,"updated_at":null},{"id":202,"name":"Mustafakemalpaşa","city_id":16,"created_at":null,"updated_at":null},{"id":203,"name":"Orhaneli","city_id":16,"created_at":null,"updated_at":null},{"id":204,"name":"Orhangazi","city_id":16,"created_at":null,"updated_at":null},{"id":205,"name":"Yenişehir","city_id":16,"created_at":null,"updated_at":null},{"id":206,"name":"Çanakkale","city_id":17,"created_at":null,"updated_at":null},{"id":207,"name":"Ayvacık","city_id":17,"created_at":null,"updated_at":null},{"id":208,"name":"Bayramiç","city_id":17,"created_at":null,"updated_at":null},{"id":209,"name":"Biga","city_id":17,"created_at":null,"updated_at":null},{"id":210,"name":"Bozcaada","city_id":17,"created_at":null,"updated_at":null},{"id":211,"name":"Çan","city_id":17,"created_at":null,"updated_at":null},{"id":212,"name":"Eceabat","city_id":17,"created_at":null,"updated_at":null},{"id":213,"name":"Ezine","city_id":17,"created_at":null,"updated_at":null},{"id":214,"name":"Gelibolu","city_id":17,"created_at":null,"updated_at":null},{"id":215,"name":"Gökçeada(İmroz)","city_id":17,"created_at":null,"updated_at":null},{"id":216,"name":"Lapseki","city_id":17,"created_at":null,"updated_at":null},{"id":217,"name":"Yenice","city_id":17,"created_at":null,"updated_at":null},{"id":218,"name":"Çankırı","city_id":18,"created_at":null,"updated_at":null},{"id":219,"name":"Atkaracalar","city_id":18,"created_at":null,"updated_at":null},{"id":220,"name":"Bayramören","city_id":18,"created_at":null,"updated_at":null},{"id":221,"name":"Çerkeş","city_id":18,"created_at":null,"updated_at":null},{"id":222,"name":"Eldivan","city_id":18,"created_at":null,"updated_at":null},{"id":223,"name":"Ilgaz","city_id":18,"created_at":null,"updated_at":null},{"id":224,"name":"Kızılırmak","city_id":18,"created_at":null,"updated_at":null},{"id":225,"name":"Korgun","city_id":18,"created_at":null,"updated_at":null},{"id":226,"name":"Kurşunlu","city_id":18,"created_at":null,"updated_at":null},{"id":227,"name":"Orta","city_id":18,"created_at":null,"updated_at":null},{"id":228,"name":"Şabanözü","city_id":18,"created_at":null,"updated_at":null},{"id":229,"name":"Yapraklı","city_id":18,"created_at":null,"updated_at":null},{"id":230,"name":"Çorum","city_id":19,"created_at":null,"updated_at":null},{"id":231,"name":"Alaca","city_id":19,"created_at":null,"updated_at":null},{"id":232,"name":"Bayat","city_id":19,"created_at":null,"updated_at":null},{"id":233,"name":"Boğazkale","city_id":19,"created_at":null,"updated_at":null},{"id":234,"name":"Dodurga","city_id":19,"created_at":null,"updated_at":null},{"id":235,"name":"İskilip","city_id":19,"created_at":null,"updated_at":null},{"id":236,"name":"Kargı","city_id":19,"created_at":null,"updated_at":null},{"id":237,"name":"Laçin","city_id":19,"created_at":null,"updated_at":null},{"id":238,"name":"Mecitözü","city_id":19,"created_at":null,"updated_at":null},{"id":239,"name":"Oğuzlar(Karaören)","city_id":19,"created_at":null,"updated_at":null},{"id":240,"name":"Ortaköy","city_id":19,"created_at":null,"updated_at":null},{"id":241,"name":"Osmancık","city_id":19,"created_at":null,"updated_at":null},{"id":242,"name":"Sungurlu","city_id":19,"created_at":null,"updated_at":null},{"id":243,"name":"Uğurludağ","city_id":19,"created_at":null,"updated_at":null},{"id":244,"name":"Denizli","city_id":20,"created_at":null,"updated_at":null},{"id":245,"name":"Acıpayam","city_id":20,"created_at":null,"updated_at":null},{"id":246,"name":"Akköy","city_id":20,"created_at":null,"updated_at":null},{"id":247,"name":"Babadağ","city_id":20,"created_at":null,"updated_at":null},{"id":248,"name":"Baklan","city_id":20,"created_at":null,"updated_at":null},{"id":249,"name":"Bekilli","city_id":20,"created_at":null,"updated_at":null},{"id":250,"name":"Beyağaç","city_id":20,"created_at":null,"updated_at":null},{"id":251,"name":"Bozkurt","city_id":20,"created_at":null,"updated_at":null},{"id":252,"name":"Buldan","city_id":20,"created_at":null,"updated_at":null},{"id":253,"name":"Çal","city_id":20,"created_at":null,"updated_at":null},{"id":254,"name":"Çameli","city_id":20,"created_at":null,"updated_at":null},{"id":255,"name":"Çardak","city_id":20,"created_at":null,"updated_at":null},{"id":256,"name":"Çivril","city_id":20,"created_at":null,"updated_at":null},{"id":257,"name":"Güney","city_id":20,"created_at":null,"updated_at":null},{"id":258,"name":"Honaz","city_id":20,"created_at":null,"updated_at":null},{"id":259,"name":"Kale","city_id":20,"created_at":null,"updated_at":null},{"id":260,"name":"Sarayköy","city_id":20,"created_at":null,"updated_at":null},{"id":261,"name":"Serinhisar","city_id":20,"created_at":null,"updated_at":null},{"id":262,"name":"Tavas","city_id":20,"created_at":null,"updated_at":null},{"id":263,"name":"Sur","city_id":21,"created_at":null,"updated_at":null},{"id":264,"name":"Bağlar","city_id":21,"created_at":null,"updated_at":null},{"id":265,"name":"Yenişehir","city_id":21,"created_at":null,"updated_at":null},{"id":266,"name":"Kayapınar","city_id":21,"created_at":null,"updated_at":null},{"id":267,"name":"Bismil","city_id":21,"created_at":null,"updated_at":null},{"id":268,"name":"Çermik","city_id":21,"created_at":null,"updated_at":null},{"id":269,"name":"Çınar","city_id":21,"created_at":null,"updated_at":null},{"id":270,"name":"Çüngüş","city_id":21,"created_at":null,"updated_at":null},{"id":271,"name":"Dicle","city_id":21,"created_at":null,"updated_at":null},{"id":272,"name":"Eğil","city_id":21,"created_at":null,"updated_at":null},{"id":273,"name":"Ergani","city_id":21,"created_at":null,"updated_at":null},{"id":274,"name":"Hani","city_id":21,"created_at":null,"updated_at":null},{"id":275,"name":"Hazro","city_id":21,"created_at":null,"updated_at":null},{"id":276,"name":"Kocaköy","city_id":21,"created_at":null,"updated_at":null},{"id":277,"name":"Kulp","city_id":21,"created_at":null,"updated_at":null},{"id":278,"name":"Lice","city_id":21,"created_at":null,"updated_at":null},{"id":279,"name":"Silvan","city_id":21,"created_at":null,"updated_at":null},{"id":280,"name":"Edirne","city_id":22,"created_at":null,"updated_at":null},{"id":281,"name":"Enez","city_id":22,"created_at":null,"updated_at":null},{"id":282,"name":"Havsa","city_id":22,"created_at":null,"updated_at":null},{"id":283,"name":"İpsala","city_id":22,"created_at":null,"updated_at":null},{"id":284,"name":"Keşan","city_id":22,"created_at":null,"updated_at":null},{"id":285,"name":"Lalapaşa","city_id":22,"created_at":null,"updated_at":null},{"id":286,"name":"Meriç","city_id":22,"created_at":null,"updated_at":null},{"id":287,"name":"Süleoğlu(Süloğlu)","city_id":22,"created_at":null,"updated_at":null},{"id":288,"name":"Uzunköprü","city_id":22,"created_at":null,"updated_at":null},{"id":289,"name":"Elazığ","city_id":23,"created_at":null,"updated_at":null},{"id":290,"name":"Ağın","city_id":23,"created_at":null,"updated_at":null},{"id":291,"name":"Alacakaya","city_id":23,"created_at":null,"updated_at":null},{"id":292,"name":"Arıcak","city_id":23,"created_at":null,"updated_at":null},{"id":293,"name":"Baskil","city_id":23,"created_at":null,"updated_at":null},{"id":294,"name":"Karakoçan","city_id":23,"created_at":null,"updated_at":null},{"id":295,"name":"Keban","city_id":23,"created_at":null,"updated_at":null},{"id":296,"name":"Kovancılar","city_id":23,"created_at":null,"updated_at":null},{"id":297,"name":"Maden","city_id":23,"created_at":null,"updated_at":null},{"id":298,"name":"Palu","city_id":23,"created_at":null,"updated_at":null},{"id":299,"name":"Sivrice","city_id":23,"created_at":null,"updated_at":null},{"id":300,"name":"Erzincan","city_id":24,"created_at":null,"updated_at":null},{"id":301,"name":"Çayırlı","city_id":24,"created_at":null,"updated_at":null},{"id":302,"name":"İliç(Ilıç)","city_id":24,"created_at":null,"updated_at":null},{"id":303,"name":"Kemah","city_id":24,"created_at":null,"updated_at":null},{"id":304,"name":"Kemaliye","city_id":24,"created_at":null,"updated_at":null},{"id":305,"name":"Otlukbeli","city_id":24,"created_at":null,"updated_at":null},{"id":306,"name":"Refahiye","city_id":24,"created_at":null,"updated_at":null},{"id":307,"name":"Tercan","city_id":24,"created_at":null,"updated_at":null},{"id":308,"name":"Üzümlü","city_id":24,"created_at":null,"updated_at":null},{"id":309,"name":"Palandöken","city_id":25,"created_at":null,"updated_at":null},{"id":310,"name":"Yakutiye","city_id":25,"created_at":null,"updated_at":null},{"id":311,"name":"Aziziye(Ilıca)","city_id":25,"created_at":null,"updated_at":null},{"id":312,"name":"Aşkale","city_id":25,"created_at":null,"updated_at":null},{"id":313,"name":"Çat","city_id":25,"created_at":null,"updated_at":null},{"id":314,"name":"Hınıs","city_id":25,"created_at":null,"updated_at":null},{"id":315,"name":"Horasan","city_id":25,"created_at":null,"updated_at":null},{"id":316,"name":"İspir","city_id":25,"created_at":null,"updated_at":null},{"id":317,"name":"Karaçoban","city_id":25,"created_at":null,"updated_at":null},{"id":318,"name":"Karayazı","city_id":25,"created_at":null,"updated_at":null},{"id":319,"name":"Köprüköy","city_id":25,"created_at":null,"updated_at":null},{"id":320,"name":"Narman","city_id":25,"created_at":null,"updated_at":null},{"id":321,"name":"Oltu","city_id":25,"created_at":null,"updated_at":null},{"id":322,"name":"Olur","city_id":25,"created_at":null,"updated_at":null},{"id":323,"name":"Pasinler","city_id":25,"created_at":null,"updated_at":null},{"id":324,"name":"Pazaryolu","city_id":25,"created_at":null,"updated_at":null},{"id":325,"name":"Şenkaya","city_id":25,"created_at":null,"updated_at":null},{"id":326,"name":"Tekman","city_id":25,"created_at":null,"updated_at":null},{"id":327,"name":"Tortum","city_id":25,"created_at":null,"updated_at":null},{"id":328,"name":"Uzundere","city_id":25,"created_at":null,"updated_at":null},{"id":329,"name":"Odunpazarı","city_id":26,"created_at":null,"updated_at":null},{"id":330,"name":"Tepebaşı","city_id":26,"created_at":null,"updated_at":null},{"id":331,"name":"Alpu","city_id":26,"created_at":null,"updated_at":null},{"id":332,"name":"Beylikova","city_id":26,"created_at":null,"updated_at":null},{"id":333,"name":"Çifteler","city_id":26,"created_at":null,"updated_at":null},{"id":334,"name":"Günyüzü","city_id":26,"created_at":null,"updated_at":null},{"id":335,"name":"Han","city_id":26,"created_at":null,"updated_at":null},{"id":336,"name":"İnönü","city_id":26,"created_at":null,"updated_at":null},{"id":337,"name":"Mahmudiye","city_id":26,"created_at":null,"updated_at":null},{"id":338,"name":"Mihalgazi","city_id":26,"created_at":null,"updated_at":null},{"id":339,"name":"Mihalıçcık","city_id":26,"created_at":null,"updated_at":null},{"id":340,"name":"Sarıcakaya","city_id":26,"created_at":null,"updated_at":null},{"id":341,"name":"Seyitgazi","city_id":26,"created_at":null,"updated_at":null},{"id":342,"name":"Sivrihisar","city_id":26,"created_at":null,"updated_at":null},{"id":343,"name":"Şahinbey","city_id":27,"created_at":null,"updated_at":null},{"id":344,"name":"Şehitkamil","city_id":27,"created_at":null,"updated_at":null},{"id":345,"name":"Oğuzeli","city_id":27,"created_at":null,"updated_at":null},{"id":346,"name":"Araban","city_id":27,"created_at":null,"updated_at":null},{"id":347,"name":"İslahiye","city_id":27,"created_at":null,"updated_at":null},{"id":348,"name":"Karkamış","city_id":27,"created_at":null,"updated_at":null},{"id":349,"name":"Nizip","city_id":27,"created_at":null,"updated_at":null},{"id":350,"name":"Nurdağı","city_id":27,"created_at":null,"updated_at":null},{"id":351,"name":"Yavuzeli","city_id":27,"created_at":null,"updated_at":null},{"id":352,"name":"Giresun","city_id":28,"created_at":null,"updated_at":null},{"id":353,"name":"Alucra","city_id":28,"created_at":null,"updated_at":null},{"id":354,"name":"Bulancak","city_id":28,"created_at":null,"updated_at":null},{"id":355,"name":"Çamoluk","city_id":28,"created_at":null,"updated_at":null},{"id":356,"name":"Çanakçı","city_id":28,"created_at":null,"updated_at":null},{"id":357,"name":"Dereli","city_id":28,"created_at":null,"updated_at":null},{"id":358,"name":"Doğankent","city_id":28,"created_at":null,"updated_at":null},{"id":359,"name":"Espiye","city_id":28,"created_at":null,"updated_at":null},{"id":360,"name":"Eynesil","city_id":28,"created_at":null,"updated_at":null},{"id":361,"name":"Görele","city_id":28,"created_at":null,"updated_at":null},{"id":362,"name":"Güce","city_id":28,"created_at":null,"updated_at":null},{"id":363,"name":"Keşap","city_id":28,"created_at":null,"updated_at":null},{"id":364,"name":"Piraziz","city_id":28,"created_at":null,"updated_at":null},{"id":365,"name":"Şebinkarahisar","city_id":28,"created_at":null,"updated_at":null},{"id":366,"name":"Tirebolu","city_id":28,"created_at":null,"updated_at":null},{"id":367,"name":"Yağlıdere","city_id":28,"created_at":null,"updated_at":null},{"id":368,"name":"Gümüşhane","city_id":29,"created_at":null,"updated_at":null},{"id":369,"name":"Kelkit","city_id":29,"created_at":null,"updated_at":null},{"id":370,"name":"Köse","city_id":29,"created_at":null,"updated_at":null},{"id":371,"name":"Kürtün","city_id":29,"created_at":null,"updated_at":null},{"id":372,"name":"Şiran","city_id":29,"created_at":null,"updated_at":null},{"id":373,"name":"Torul","city_id":29,"created_at":null,"updated_at":null},{"id":374,"name":"Hakkari","city_id":30,"created_at":null,"updated_at":null},{"id":375,"name":"Çukurca","city_id":30,"created_at":null,"updated_at":null},{"id":376,"name":"Şemdinli","city_id":30,"created_at":null,"updated_at":null},{"id":377,"name":"Yüksekova","city_id":30,"created_at":null,"updated_at":null},{"id":378,"name":"Antakya","city_id":31,"created_at":null,"updated_at":null},{"id":379,"name":"Altınözü","city_id":31,"created_at":null,"updated_at":null},{"id":380,"name":"Belen","city_id":31,"created_at":null,"updated_at":null},{"id":381,"name":"Dörtyol","city_id":31,"created_at":null,"updated_at":null},{"id":382,"name":"Erzin","city_id":31,"created_at":null,"updated_at":null},{"id":383,"name":"Hassa","city_id":31,"created_at":null,"updated_at":null},{"id":384,"name":"İskenderun","city_id":31,"created_at":null,"updated_at":null},{"id":385,"name":"Kırıkhan","city_id":31,"created_at":null,"updated_at":null},{"id":386,"name":"Kumlu","city_id":31,"created_at":null,"updated_at":null},{"id":387,"name":"Reyhanlı","city_id":31,"created_at":null,"updated_at":null},{"id":388,"name":"Samandağ","city_id":31,"created_at":null,"updated_at":null},{"id":389,"name":"Yayladağı","city_id":31,"created_at":null,"updated_at":null},{"id":390,"name":"Isparta","city_id":32,"created_at":null,"updated_at":null},{"id":391,"name":"Aksu","city_id":32,"created_at":null,"updated_at":null},{"id":392,"name":"Atabey","city_id":32,"created_at":null,"updated_at":null},{"id":393,"name":"Eğridir(Eğirdir)","city_id":32,"created_at":null,"updated_at":null},{"id":394,"name":"Gelendost","city_id":32,"created_at":null,"updated_at":null},{"id":395,"name":"Gönen","city_id":32,"created_at":null,"updated_at":null},{"id":396,"name":"Keçiborlu","city_id":32,"created_at":null,"updated_at":null},{"id":397,"name":"Senirkent","city_id":32,"created_at":null,"updated_at":null},{"id":398,"name":"Sütçüler","city_id":32,"created_at":null,"updated_at":null},{"id":399,"name":"Şarkikaraağaç","city_id":32,"created_at":null,"updated_at":null},{"id":400,"name":"Uluborlu","city_id":32,"created_at":null,"updated_at":null},{"id":401,"name":"Yalvaç","city_id":32,"created_at":null,"updated_at":null},{"id":402,"name":"Yenişarbademli","city_id":32,"created_at":null,"updated_at":null},{"id":403,"name":"Akdeniz","city_id":33,"created_at":null,"updated_at":null},{"id":404,"name":"Yenişehir","city_id":33,"created_at":null,"updated_at":null},{"id":405,"name":"Toroslar","city_id":33,"created_at":null,"updated_at":null},{"id":406,"name":"Mezitli","city_id":33,"created_at":null,"updated_at":null},{"id":407,"name":"Anamur","city_id":33,"created_at":null,"updated_at":null},{"id":408,"name":"Aydıncık","city_id":33,"created_at":null,"updated_at":null},{"id":409,"name":"Bozyazı","city_id":33,"created_at":null,"updated_at":null},{"id":410,"name":"Çamlıyayla","city_id":33,"created_at":null,"updated_at":null},{"id":411,"name":"Erdemli","city_id":33,"created_at":null,"updated_at":null},{"id":412,"name":"Gülnar(Gülpınar)","city_id":33,"created_at":null,"updated_at":null},{"id":413,"name":"Mut","city_id":33,"created_at":null,"updated_at":null},{"id":414,"name":"Silifke","city_id":33,"created_at":null,"updated_at":null},{"id":415,"name":"Tarsus","city_id":33,"created_at":null,"updated_at":null},{"id":416,"name":"Bakırköy","city_id":34,"created_at":null,"updated_at":null},{"id":417,"name":"Bayrampaşa","city_id":34,"created_at":null,"updated_at":null},{"id":418,"name":"Beşiktaş","city_id":34,"created_at":null,"updated_at":null},{"id":419,"name":"Beyoğlu","city_id":34,"created_at":null,"updated_at":null},{"id":420,"name":"Arnavutköy","city_id":34,"created_at":null,"updated_at":null},{"id":421,"name":"Eyüp","city_id":34,"created_at":null,"updated_at":null},{"id":422,"name":"Fatih","city_id":34,"created_at":null,"updated_at":null},{"id":423,"name":"Gaziosmanpaşa","city_id":34,"created_at":null,"updated_at":null},{"id":424,"name":"Kağıthane","city_id":34,"created_at":null,"updated_at":null},{"id":425,"name":"Küçükçekmece","city_id":34,"created_at":null,"updated_at":null},{"id":426,"name":"Sarıyer","city_id":34,"created_at":null,"updated_at":null},{"id":427,"name":"Şişli","city_id":34,"created_at":null,"updated_at":null},{"id":428,"name":"Zeytinburnu","city_id":34,"created_at":null,"updated_at":null},{"id":429,"name":"Avcılar","city_id":34,"created_at":null,"updated_at":null},{"id":430,"name":"Güngören","city_id":34,"created_at":null,"updated_at":null},{"id":431,"name":"Bahçelievler","city_id":34,"created_at":null,"updated_at":null},{"id":432,"name":"Bağcılar","city_id":34,"created_at":null,"updated_at":null},{"id":433,"name":"Esenler","city_id":34,"created_at":null,"updated_at":null},{"id":434,"name":"Başakşehir","city_id":34,"created_at":null,"updated_at":null},{"id":435,"name":"Beylikdüzü","city_id":34,"created_at":null,"updated_at":null},{"id":436,"name":"Esenyurt","city_id":34,"created_at":null,"updated_at":null},{"id":437,"name":"Sultangazi","city_id":34,"created_at":null,"updated_at":null},{"id":438,"name":"Adalar","city_id":34,"created_at":null,"updated_at":null},{"id":439,"name":"Beykoz","city_id":34,"created_at":null,"updated_at":null},{"id":440,"name":"Kadıköy","city_id":34,"created_at":null,"updated_at":null},{"id":441,"name":"Kartal","city_id":34,"created_at":null,"updated_at":null},{"id":442,"name":"Pendik","city_id":34,"created_at":null,"updated_at":null},{"id":443,"name":"Ümraniye","city_id":34,"created_at":null,"updated_at":null},{"id":444,"name":"Üsküdar","city_id":34,"created_at":null,"updated_at":null},{"id":445,"name":"Tuzla","city_id":34,"created_at":null,"updated_at":null},{"id":446,"name":"Maltepe","city_id":34,"created_at":null,"updated_at":null},{"id":447,"name":"Ataşehir","city_id":34,"created_at":null,"updated_at":null},{"id":448,"name":"Çekmeköy","city_id":34,"created_at":null,"updated_at":null},{"id":449,"name":"Sancaktepe","city_id":34,"created_at":null,"updated_at":null},{"id":450,"name":"Büyükçekmece","city_id":34,"created_at":null,"updated_at":null},{"id":451,"name":"Çatalca","city_id":34,"created_at":null,"updated_at":null},{"id":452,"name":"Silivri","city_id":34,"created_at":null,"updated_at":null},{"id":453,"name":"Şile","city_id":34,"created_at":null,"updated_at":null},{"id":454,"name":"Sultanbeyli","city_id":34,"created_at":null,"updated_at":null},{"id":455,"name":"Aliağa","city_id":35,"created_at":null,"updated_at":null},{"id":456,"name":"Balçova","city_id":35,"created_at":null,"updated_at":null},{"id":457,"name":"Bayındır","city_id":35,"created_at":null,"updated_at":null},{"id":458,"name":"Bornova","city_id":35,"created_at":null,"updated_at":null},{"id":459,"name":"Buca","city_id":35,"created_at":null,"updated_at":null},{"id":460,"name":"Çiğli","city_id":35,"created_at":null,"updated_at":null},{"id":461,"name":"Foça","city_id":35,"created_at":null,"updated_at":null},{"id":462,"name":"Gaziemir","city_id":35,"created_at":null,"updated_at":null},{"id":463,"name":"Güzelbahçe","city_id":35,"created_at":null,"updated_at":null},{"id":464,"name":"Karşıyaka","city_id":35,"created_at":null,"updated_at":null},{"id":465,"name":"Kemalpaşa","city_id":35,"created_at":null,"updated_at":null},{"id":466,"name":"Konak","city_id":35,"created_at":null,"updated_at":null},{"id":467,"name":"Cumaovası(Menderes)","city_id":35,"created_at":null,"updated_at":null},{"id":468,"name":"Menemen","city_id":35,"created_at":null,"updated_at":null},{"id":469,"name":"Narlıdere","city_id":35,"created_at":null,"updated_at":null},{"id":470,"name":"Seferihisar","city_id":35,"created_at":null,"updated_at":null},{"id":471,"name":"Selçuk","city_id":35,"created_at":null,"updated_at":null},{"id":472,"name":"Torbalı","city_id":35,"created_at":null,"updated_at":null},{"id":473,"name":"Urla","city_id":35,"created_at":null,"updated_at":null},{"id":474,"name":"Bayraklı","city_id":35,"created_at":null,"updated_at":null},{"id":475,"name":"Karabağlar","city_id":35,"created_at":null,"updated_at":null},{"id":476,"name":"Bergama","city_id":35,"created_at":null,"updated_at":null},{"id":477,"name":"Beydağ","city_id":35,"created_at":null,"updated_at":null},{"id":478,"name":"Çeşme","city_id":35,"created_at":null,"updated_at":null},{"id":479,"name":"Dikili","city_id":35,"created_at":null,"updated_at":null},{"id":480,"name":"Karaburun","city_id":35,"created_at":null,"updated_at":null},{"id":481,"name":"Kınık","city_id":35,"created_at":null,"updated_at":null},{"id":482,"name":"Kiraz","city_id":35,"created_at":null,"updated_at":null},{"id":483,"name":"Ödemiş","city_id":35,"created_at":null,"updated_at":null},{"id":484,"name":"Tire","city_id":35,"created_at":null,"updated_at":null},{"id":485,"name":"Kars","city_id":36,"created_at":null,"updated_at":null},{"id":486,"name":"Akyaka","city_id":36,"created_at":null,"updated_at":null},{"id":487,"name":"Arpaçay","city_id":36,"created_at":null,"updated_at":null},{"id":488,"name":"Digor","city_id":36,"created_at":null,"updated_at":null},{"id":489,"name":"Kağızman","city_id":36,"created_at":null,"updated_at":null},{"id":490,"name":"Sarıkamış","city_id":36,"created_at":null,"updated_at":null},{"id":491,"name":"Selim","city_id":36,"created_at":null,"updated_at":null},{"id":492,"name":"Susuz","city_id":36,"created_at":null,"updated_at":null},{"id":493,"name":"Kastamonu","city_id":37,"created_at":null,"updated_at":null},{"id":494,"name":"Abana","city_id":37,"created_at":null,"updated_at":null},{"id":495,"name":"Ağlı","city_id":37,"created_at":null,"updated_at":null},{"id":496,"name":"Araç","city_id":37,"created_at":null,"updated_at":null},{"id":497,"name":"Azdavay","city_id":37,"created_at":null,"updated_at":null},{"id":498,"name":"Bozkurt","city_id":37,"created_at":null,"updated_at":null},{"id":499,"name":"Cide","city_id":37,"created_at":null,"updated_at":null},{"id":500,"name":"Çatalzeytin","city_id":37,"created_at":null,"updated_at":null},{"id":501,"name":"Daday","city_id":37,"created_at":null,"updated_at":null},{"id":502,"name":"Devrekani","city_id":37,"created_at":null,"updated_at":null},{"id":503,"name":"Doğanyurt","city_id":37,"created_at":null,"updated_at":null},{"id":504,"name":"Hanönü(Gökçeağaç)","city_id":37,"created_at":null,"updated_at":null},{"id":505,"name":"İhsangazi","city_id":37,"created_at":null,"updated_at":null},{"id":506,"name":"İnebolu","city_id":37,"created_at":null,"updated_at":null},{"id":507,"name":"Küre","city_id":37,"created_at":null,"updated_at":null},{"id":508,"name":"Pınarbaşı","city_id":37,"created_at":null,"updated_at":null},{"id":509,"name":"Seydiler","city_id":37,"created_at":null,"updated_at":null},{"id":510,"name":"Şenpazar","city_id":37,"created_at":null,"updated_at":null},{"id":511,"name":"Taşköprü","city_id":37,"created_at":null,"updated_at":null},{"id":512,"name":"Tosya","city_id":37,"created_at":null,"updated_at":null},{"id":513,"name":"Kocasinan","city_id":38,"created_at":null,"updated_at":null},{"id":514,"name":"Melikgazi","city_id":38,"created_at":null,"updated_at":null},{"id":515,"name":"Talas","city_id":38,"created_at":null,"updated_at":null},{"id":516,"name":"Akkışla","city_id":38,"created_at":null,"updated_at":null},{"id":517,"name":"Bünyan","city_id":38,"created_at":null,"updated_at":null},{"id":518,"name":"Develi","city_id":38,"created_at":null,"updated_at":null},{"id":519,"name":"Felahiye","city_id":38,"created_at":null,"updated_at":null},{"id":520,"name":"Hacılar","city_id":38,"created_at":null,"updated_at":null},{"id":521,"name":"İncesu","city_id":38,"created_at":null,"updated_at":null},{"id":522,"name":"Özvatan(Çukur)","city_id":38,"created_at":null,"updated_at":null},{"id":523,"name":"Pınarbaşı","city_id":38,"created_at":null,"updated_at":null},{"id":524,"name":"Sarıoğlan","city_id":38,"created_at":null,"updated_at":null},{"id":525,"name":"Sarız","city_id":38,"created_at":null,"updated_at":null},{"id":526,"name":"Tomarza","city_id":38,"created_at":null,"updated_at":null},{"id":527,"name":"Yahyalı","city_id":38,"created_at":null,"updated_at":null},{"id":528,"name":"Yeşilhisar","city_id":38,"created_at":null,"updated_at":null},{"id":529,"name":"Kırklareli","city_id":39,"created_at":null,"updated_at":null},{"id":530,"name":"Babaeski","city_id":39,"created_at":null,"updated_at":null},{"id":531,"name":"Demirköy","city_id":39,"created_at":null,"updated_at":null},{"id":532,"name":"Kofçaz","city_id":39,"created_at":null,"updated_at":null},{"id":533,"name":"Lüleburgaz","city_id":39,"created_at":null,"updated_at":null},{"id":534,"name":"Pehlivanköy","city_id":39,"created_at":null,"updated_at":null},{"id":535,"name":"Pınarhisar","city_id":39,"created_at":null,"updated_at":null},{"id":536,"name":"Vize","city_id":39,"created_at":null,"updated_at":null},{"id":537,"name":"Kırşehir","city_id":40,"created_at":null,"updated_at":null},{"id":538,"name":"Akçakent","city_id":40,"created_at":null,"updated_at":null},{"id":539,"name":"Akpınar","city_id":40,"created_at":null,"updated_at":null},{"id":540,"name":"Boztepe","city_id":40,"created_at":null,"updated_at":null},{"id":541,"name":"Çiçekdağı","city_id":40,"created_at":null,"updated_at":null},{"id":542,"name":"Kaman","city_id":40,"created_at":null,"updated_at":null},{"id":543,"name":"Mucur","city_id":40,"created_at":null,"updated_at":null},{"id":544,"name":"İzmit","city_id":41,"created_at":null,"updated_at":null},{"id":545,"name":"Başiskele","city_id":41,"created_at":null,"updated_at":null},{"id":546,"name":"Çayırova","city_id":41,"created_at":null,"updated_at":null},{"id":547,"name":"Darıca","city_id":41,"created_at":null,"updated_at":null},{"id":548,"name":"Dilovası","city_id":41,"created_at":null,"updated_at":null},{"id":549,"name":"Kartepe","city_id":41,"created_at":null,"updated_at":null},{"id":550,"name":"Gebze","city_id":41,"created_at":null,"updated_at":null},{"id":551,"name":"Gölcük","city_id":41,"created_at":null,"updated_at":null},{"id":552,"name":"Kandıra","city_id":41,"created_at":null,"updated_at":null},{"id":553,"name":"Karamürsel","city_id":41,"created_at":null,"updated_at":null},{"id":554,"name":"Tütünçiftlik","city_id":41,"created_at":null,"updated_at":null},{"id":555,"name":"Derince","city_id":41,"created_at":null,"updated_at":null},{"id":556,"name":"Karatay","city_id":42,"created_at":null,"updated_at":null},{"id":557,"name":"Meram","city_id":42,"created_at":null,"updated_at":null},{"id":558,"name":"Selçuklu","city_id":42,"created_at":null,"updated_at":null},{"id":559,"name":"Ahırlı","city_id":42,"created_at":null,"updated_at":null},{"id":560,"name":"Akören","city_id":42,"created_at":null,"updated_at":null},{"id":561,"name":"Akşehir","city_id":42,"created_at":null,"updated_at":null},{"id":562,"name":"Altınekin","city_id":42,"created_at":null,"updated_at":null},{"id":563,"name":"Beyşehir","city_id":42,"created_at":null,"updated_at":null},{"id":564,"name":"Bozkır","city_id":42,"created_at":null,"updated_at":null},{"id":565,"name":"Cihanbeyli","city_id":42,"created_at":null,"updated_at":null},{"id":566,"name":"Çeltik","city_id":42,"created_at":null,"updated_at":null},{"id":567,"name":"Çumra","city_id":42,"created_at":null,"updated_at":null},{"id":568,"name":"Derbent","city_id":42,"created_at":null,"updated_at":null},{"id":569,"name":"Derebucak","city_id":42,"created_at":null,"updated_at":null},{"id":570,"name":"Doğanhisar","city_id":42,"created_at":null,"updated_at":null},{"id":571,"name":"Emirgazi","city_id":42,"created_at":null,"updated_at":null},{"id":572,"name":"Ereğli","city_id":42,"created_at":null,"updated_at":null},{"id":573,"name":"Güneysınır","city_id":42,"created_at":null,"updated_at":null},{"id":574,"name":"Hadim","city_id":42,"created_at":null,"updated_at":null},{"id":575,"name":"Halkapınar","city_id":42,"created_at":null,"updated_at":null},{"id":576,"name":"Hüyük","city_id":42,"created_at":null,"updated_at":null},{"id":577,"name":"Ilgın","city_id":42,"created_at":null,"updated_at":null},{"id":578,"name":"Kadınhanı","city_id":42,"created_at":null,"updated_at":null},{"id":579,"name":"Karapınar","city_id":42,"created_at":null,"updated_at":null},{"id":580,"name":"Kulu","city_id":42,"created_at":null,"updated_at":null},{"id":581,"name":"Sarayönü","city_id":42,"created_at":null,"updated_at":null},{"id":582,"name":"Seydişehir","city_id":42,"created_at":null,"updated_at":null},{"id":583,"name":"Taşkent","city_id":42,"created_at":null,"updated_at":null},{"id":584,"name":"Tuzlukçu","city_id":42,"created_at":null,"updated_at":null},{"id":585,"name":"Yalıhüyük","city_id":42,"created_at":null,"updated_at":null},{"id":586,"name":"Yunak","city_id":42,"created_at":null,"updated_at":null},{"id":587,"name":"Kütahya","city_id":43,"created_at":null,"updated_at":null},{"id":588,"name":"Altıntaş","city_id":43,"created_at":null,"updated_at":null},{"id":589,"name":"Aslanapa","city_id":43,"created_at":null,"updated_at":null},{"id":590,"name":"Çavdarhisar","city_id":43,"created_at":null,"updated_at":null},{"id":591,"name":"Domaniç","city_id":43,"created_at":null,"updated_at":null},{"id":592,"name":"Dumlupınar","city_id":43,"created_at":null,"updated_at":null},{"id":593,"name":"Emet","city_id":43,"created_at":null,"updated_at":null},{"id":594,"name":"Gediz","city_id":43,"created_at":null,"updated_at":null},{"id":595,"name":"Hisarcık","city_id":43,"created_at":null,"updated_at":null},{"id":596,"name":"Pazarlar","city_id":43,"created_at":null,"updated_at":null},{"id":597,"name":"Simav","city_id":43,"created_at":null,"updated_at":null},{"id":598,"name":"Şaphane","city_id":43,"created_at":null,"updated_at":null},{"id":599,"name":"Tavşanlı","city_id":43,"created_at":null,"updated_at":null},{"id":600,"name":"Tunçbilek","city_id":43,"created_at":null,"updated_at":null},{"id":601,"name":"Malatya","city_id":44,"created_at":null,"updated_at":null},{"id":602,"name":"Akçadağ","city_id":44,"created_at":null,"updated_at":null},{"id":603,"name":"Arapkir","city_id":44,"created_at":null,"updated_at":null},{"id":604,"name":"Arguvan","city_id":44,"created_at":null,"updated_at":null},{"id":605,"name":"Battalgazi","city_id":44,"created_at":null,"updated_at":null},{"id":606,"name":"Darende","city_id":44,"created_at":null,"updated_at":null},{"id":607,"name":"Doğanşehir","city_id":44,"created_at":null,"updated_at":null},{"id":608,"name":"Doğanyol","city_id":44,"created_at":null,"updated_at":null},{"id":609,"name":"Hekimhan","city_id":44,"created_at":null,"updated_at":null},{"id":610,"name":"Kale","city_id":44,"created_at":null,"updated_at":null},{"id":611,"name":"Kuluncak","city_id":44,"created_at":null,"updated_at":null},{"id":612,"name":"Pötürge","city_id":44,"created_at":null,"updated_at":null},{"id":613,"name":"Yazıhan","city_id":44,"created_at":null,"updated_at":null},{"id":614,"name":"Yeşilyurt","city_id":44,"created_at":null,"updated_at":null},{"id":615,"name":"Manisa","city_id":45,"created_at":null,"updated_at":null},{"id":616,"name":"Ahmetli","city_id":45,"created_at":null,"updated_at":null},{"id":617,"name":"Akhisar","city_id":45,"created_at":null,"updated_at":null},{"id":618,"name":"Alaşehir","city_id":45,"created_at":null,"updated_at":null},{"id":619,"name":"Demirci","city_id":45,"created_at":null,"updated_at":null},{"id":620,"name":"Gölmarmara","city_id":45,"created_at":null,"updated_at":null},{"id":621,"name":"Gördes","city_id":45,"created_at":null,"updated_at":null},{"id":622,"name":"Kırkağaç","city_id":45,"created_at":null,"updated_at":null},{"id":623,"name":"Köprübaşı","city_id":45,"created_at":null,"updated_at":null},{"id":624,"name":"Kula","city_id":45,"created_at":null,"updated_at":null},{"id":625,"name":"Salihli","city_id":45,"created_at":null,"updated_at":null},{"id":626,"name":"Sarıgöl","city_id":45,"created_at":null,"updated_at":null},{"id":627,"name":"Saruhanlı","city_id":45,"created_at":null,"updated_at":null},{"id":628,"name":"Selendi","city_id":45,"created_at":null,"updated_at":null},{"id":629,"name":"Soma","city_id":45,"created_at":null,"updated_at":null},{"id":630,"name":"Turgutlu","city_id":45,"created_at":null,"updated_at":null},{"id":631,"name":"Kahramanmaraş","city_id":46,"created_at":null,"updated_at":null},{"id":632,"name":"Afşin","city_id":46,"created_at":null,"updated_at":null},{"id":633,"name":"Andırın","city_id":46,"created_at":null,"updated_at":null},{"id":634,"name":"Çağlayancerit","city_id":46,"created_at":null,"updated_at":null},{"id":635,"name":"Ekinözü","city_id":46,"created_at":null,"updated_at":null},{"id":636,"name":"Elbistan","city_id":46,"created_at":null,"updated_at":null},{"id":637,"name":"Göksun","city_id":46,"created_at":null,"updated_at":null},{"id":638,"name":"Nurhak","city_id":46,"created_at":null,"updated_at":null},{"id":639,"name":"Pazarcık","city_id":46,"created_at":null,"updated_at":null},{"id":640,"name":"Türkoğlu","city_id":46,"created_at":null,"updated_at":null},{"id":641,"name":"Mardin","city_id":47,"created_at":null,"updated_at":null},{"id":642,"name":"Dargeçit","city_id":47,"created_at":null,"updated_at":null},{"id":643,"name":"Derik","city_id":47,"created_at":null,"updated_at":null},{"id":644,"name":"Kızıltepe","city_id":47,"created_at":null,"updated_at":null},{"id":645,"name":"Mazıdağı","city_id":47,"created_at":null,"updated_at":null},{"id":646,"name":"Midyat(Estel)","city_id":47,"created_at":null,"updated_at":null},{"id":647,"name":"Nusaybin","city_id":47,"created_at":null,"updated_at":null},{"id":648,"name":"Ömerli","city_id":47,"created_at":null,"updated_at":null},{"id":649,"name":"Savur","city_id":47,"created_at":null,"updated_at":null},{"id":650,"name":"Yeşilli","city_id":47,"created_at":null,"updated_at":null},{"id":651,"name":"Muğla","city_id":48,"created_at":null,"updated_at":null},{"id":652,"name":"Bodrum","city_id":48,"created_at":null,"updated_at":null},{"id":653,"name":"Dalaman","city_id":48,"created_at":null,"updated_at":null},{"id":654,"name":"Datça","city_id":48,"created_at":null,"updated_at":null},{"id":655,"name":"Fethiye","city_id":48,"created_at":null,"updated_at":null},{"id":656,"name":"Kavaklıdere","city_id":48,"created_at":null,"updated_at":null},{"id":657,"name":"Köyceğiz","city_id":48,"created_at":null,"updated_at":null},{"id":658,"name":"Marmaris","city_id":48,"created_at":null,"updated_at":null},{"id":659,"name":"Milas","city_id":48,"created_at":null,"updated_at":null},{"id":660,"name":"Ortaca","city_id":48,"created_at":null,"updated_at":null},{"id":661,"name":"Ula","city_id":48,"created_at":null,"updated_at":null},{"id":662,"name":"Yatağan","city_id":48,"created_at":null,"updated_at":null},{"id":663,"name":"Muş","city_id":49,"created_at":null,"updated_at":null},{"id":664,"name":"Bulanık","city_id":49,"created_at":null,"updated_at":null},{"id":665,"name":"Hasköy","city_id":49,"created_at":null,"updated_at":null},{"id":666,"name":"Korkut","city_id":49,"created_at":null,"updated_at":null},{"id":667,"name":"Malazgirt","city_id":49,"created_at":null,"updated_at":null},{"id":668,"name":"Varto","city_id":49,"created_at":null,"updated_at":null},{"id":669,"name":"Nevşehir","city_id":50,"created_at":null,"updated_at":null},{"id":670,"name":"Acıgöl","city_id":50,"created_at":null,"updated_at":null},{"id":671,"name":"Avanos","city_id":50,"created_at":null,"updated_at":null},{"id":672,"name":"Derinkuyu","city_id":50,"created_at":null,"updated_at":null},{"id":673,"name":"Gülşehir","city_id":50,"created_at":null,"updated_at":null},{"id":674,"name":"Hacıbektaş","city_id":50,"created_at":null,"updated_at":null},{"id":675,"name":"Kozaklı","city_id":50,"created_at":null,"updated_at":null},{"id":676,"name":"Ürgüp","city_id":50,"created_at":null,"updated_at":null},{"id":677,"name":"Niğde","city_id":51,"created_at":null,"updated_at":null},{"id":678,"name":"Altunhisar","city_id":51,"created_at":null,"updated_at":null},{"id":679,"name":"Bor","city_id":51,"created_at":null,"updated_at":null},{"id":680,"name":"Çamardı","city_id":51,"created_at":null,"updated_at":null},{"id":681,"name":"Çiftlik(Özyurt)","city_id":51,"created_at":null,"updated_at":null},{"id":682,"name":"Ulukışla","city_id":51,"created_at":null,"updated_at":null},{"id":683,"name":"Ordu","city_id":52,"created_at":null,"updated_at":null},{"id":684,"name":"Akkuş","city_id":52,"created_at":null,"updated_at":null},{"id":685,"name":"Aybastı","city_id":52,"created_at":null,"updated_at":null},{"id":686,"name":"Çamaş","city_id":52,"created_at":null,"updated_at":null},{"id":687,"name":"Çatalpınar","city_id":52,"created_at":null,"updated_at":null},{"id":688,"name":"Çaybaşı","city_id":52,"created_at":null,"updated_at":null},{"id":689,"name":"Fatsa","city_id":52,"created_at":null,"updated_at":null},{"id":690,"name":"Gölköy","city_id":52,"created_at":null,"updated_at":null},{"id":691,"name":"Gülyalı","city_id":52,"created_at":null,"updated_at":null},{"id":692,"name":"Gürgentepe","city_id":52,"created_at":null,"updated_at":null},{"id":693,"name":"İkizce","city_id":52,"created_at":null,"updated_at":null},{"id":694,"name":"Karadüz(Kabadüz)","city_id":52,"created_at":null,"updated_at":null},{"id":695,"name":"Kabataş","city_id":52,"created_at":null,"updated_at":null},{"id":696,"name":"Korgan","city_id":52,"created_at":null,"updated_at":null},{"id":697,"name":"Kumru","city_id":52,"created_at":null,"updated_at":null},{"id":698,"name":"Mesudiye","city_id":52,"created_at":null,"updated_at":null},{"id":699,"name":"Perşembe","city_id":52,"created_at":null,"updated_at":null},{"id":700,"name":"Ulubey","city_id":52,"created_at":null,"updated_at":null},{"id":701,"name":"Ünye","city_id":52,"created_at":null,"updated_at":null},{"id":702,"name":"Rize","city_id":53,"created_at":null,"updated_at":null},{"id":703,"name":"Ardeşen","city_id":53,"created_at":null,"updated_at":null},{"id":704,"name":"Çamlıhemşin","city_id":53,"created_at":null,"updated_at":null},{"id":705,"name":"Çayeli","city_id":53,"created_at":null,"updated_at":null},{"id":706,"name":"Derepazarı","city_id":53,"created_at":null,"updated_at":null},{"id":707,"name":"Fındıklı","city_id":53,"created_at":null,"updated_at":null},{"id":708,"name":"Güneysu","city_id":53,"created_at":null,"updated_at":null},{"id":709,"name":"Hemşin","city_id":53,"created_at":null,"updated_at":null},{"id":710,"name":"İkizdere","city_id":53,"created_at":null,"updated_at":null},{"id":711,"name":"İyidere","city_id":53,"created_at":null,"updated_at":null},{"id":712,"name":"Kalkandere","city_id":53,"created_at":null,"updated_at":null},{"id":713,"name":"Pazar","city_id":53,"created_at":null,"updated_at":null},{"id":714,"name":"Adapazarı","city_id":54,"created_at":null,"updated_at":null},{"id":715,"name":"Hendek","city_id":54,"created_at":null,"updated_at":null},{"id":716,"name":"Arifiye","city_id":54,"created_at":null,"updated_at":null},{"id":717,"name":"Erenler","city_id":54,"created_at":null,"updated_at":null},{"id":718,"name":"Serdivan","city_id":54,"created_at":null,"updated_at":null},{"id":719,"name":"Akyazı","city_id":54,"created_at":null,"updated_at":null},{"id":720,"name":"Ferizli","city_id":54,"created_at":null,"updated_at":null},{"id":721,"name":"Geyve","city_id":54,"created_at":null,"updated_at":null},{"id":722,"name":"Karapürçek","city_id":54,"created_at":null,"updated_at":null},{"id":723,"name":"Karasu","city_id":54,"created_at":null,"updated_at":null},{"id":724,"name":"Kaynarca","city_id":54,"created_at":null,"updated_at":null},{"id":725,"name":"Kocaali","city_id":54,"created_at":null,"updated_at":null},{"id":726,"name":"Pamukova","city_id":54,"created_at":null,"updated_at":null},{"id":727,"name":"Sapanca","city_id":54,"created_at":null,"updated_at":null},{"id":728,"name":"Söğütlü","city_id":54,"created_at":null,"updated_at":null},{"id":729,"name":"Taraklı","city_id":54,"created_at":null,"updated_at":null},{"id":730,"name":"Atakum","city_id":55,"created_at":null,"updated_at":null},{"id":731,"name":"İlkadım","city_id":55,"created_at":null,"updated_at":null},{"id":732,"name":"Canik","city_id":55,"created_at":null,"updated_at":null},{"id":733,"name":"Tekkeköy","city_id":55,"created_at":null,"updated_at":null},{"id":734,"name":"Alaçam","city_id":55,"created_at":null,"updated_at":null},{"id":735,"name":"Asarcık","city_id":55,"created_at":null,"updated_at":null},{"id":736,"name":"Ayvacık","city_id":55,"created_at":null,"updated_at":null},{"id":737,"name":"Bafra","city_id":55,"created_at":null,"updated_at":null},{"id":738,"name":"Çarşamba","city_id":55,"created_at":null,"updated_at":null},{"id":739,"name":"Havza","city_id":55,"created_at":null,"updated_at":null},{"id":740,"name":"Kavak","city_id":55,"created_at":null,"updated_at":null},{"id":741,"name":"Ladik","city_id":55,"created_at":null,"updated_at":null},{"id":742,"name":"19Mayıs(Ballıca)","city_id":55,"created_at":null,"updated_at":null},{"id":743,"name":"Salıpazarı","city_id":55,"created_at":null,"updated_at":null},{"id":744,"name":"Terme","city_id":55,"created_at":null,"updated_at":null},{"id":745,"name":"Vezirköprü","city_id":55,"created_at":null,"updated_at":null},{"id":746,"name":"Yakakent","city_id":55,"created_at":null,"updated_at":null},{"id":747,"name":"Siirt","city_id":56,"created_at":null,"updated_at":null},{"id":748,"name":"Baykan","city_id":56,"created_at":null,"updated_at":null},{"id":749,"name":"Eruh","city_id":56,"created_at":null,"updated_at":null},{"id":750,"name":"Kurtalan","city_id":56,"created_at":null,"updated_at":null},{"id":751,"name":"Pervari","city_id":56,"created_at":null,"updated_at":null},{"id":752,"name":"Aydınlar","city_id":56,"created_at":null,"updated_at":null},{"id":753,"name":"Şirvan","city_id":56,"created_at":null,"updated_at":null},{"id":754,"name":"Sinop","city_id":57,"created_at":null,"updated_at":null},{"id":755,"name":"Ayancık","city_id":57,"created_at":null,"updated_at":null},{"id":756,"name":"Boyabat","city_id":57,"created_at":null,"updated_at":null},{"id":757,"name":"Dikmen","city_id":57,"created_at":null,"updated_at":null},{"id":758,"name":"Durağan","city_id":57,"created_at":null,"updated_at":null},{"id":759,"name":"Erfelek","city_id":57,"created_at":null,"updated_at":null},{"id":760,"name":"Gerze","city_id":57,"created_at":null,"updated_at":null},{"id":761,"name":"Saraydüzü","city_id":57,"created_at":null,"updated_at":null},{"id":762,"name":"Türkeli","city_id":57,"created_at":null,"updated_at":null},{"id":763,"name":"Sivas","city_id":58,"created_at":null,"updated_at":null},{"id":764,"name":"Akıncılar","city_id":58,"created_at":null,"updated_at":null},{"id":765,"name":"Altınyayla","city_id":58,"created_at":null,"updated_at":null},{"id":766,"name":"Divriği","city_id":58,"created_at":null,"updated_at":null},{"id":767,"name":"Doğanşar","city_id":58,"created_at":null,"updated_at":null},{"id":768,"name":"Gemerek","city_id":58,"created_at":null,"updated_at":null},{"id":769,"name":"Gölova","city_id":58,"created_at":null,"updated_at":null},{"id":770,"name":"Gürün","city_id":58,"created_at":null,"updated_at":null},{"id":771,"name":"Hafik","city_id":58,"created_at":null,"updated_at":null},{"id":772,"name":"İmranlı","city_id":58,"created_at":null,"updated_at":null},{"id":773,"name":"Kangal","city_id":58,"created_at":null,"updated_at":null},{"id":774,"name":"Koyulhisar","city_id":58,"created_at":null,"updated_at":null},{"id":775,"name":"Suşehri","city_id":58,"created_at":null,"updated_at":null},{"id":776,"name":"Şarkışla","city_id":58,"created_at":null,"updated_at":null},{"id":777,"name":"Ulaş","city_id":58,"created_at":null,"updated_at":null},{"id":778,"name":"Yıldızeli","city_id":58,"created_at":null,"updated_at":null},{"id":779,"name":"Zara","city_id":58,"created_at":null,"updated_at":null},{"id":780,"name":"Tekirdağ","city_id":59,"created_at":null,"updated_at":null},{"id":781,"name":"Çerkezköy","city_id":59,"created_at":null,"updated_at":null},{"id":782,"name":"Çorlu","city_id":59,"created_at":null,"updated_at":null},{"id":783,"name":"Hayrabolu","city_id":59,"created_at":null,"updated_at":null},{"id":784,"name":"Malkara","city_id":59,"created_at":null,"updated_at":null},{"id":785,"name":"Marmaraereğlisi","city_id":59,"created_at":null,"updated_at":null},{"id":786,"name":"Muratlı","city_id":59,"created_at":null,"updated_at":null},{"id":787,"name":"Saray","city_id":59,"created_at":null,"updated_at":null},{"id":788,"name":"Şarköy","city_id":59,"created_at":null,"updated_at":null},{"id":789,"name":"Tokat","city_id":60,"created_at":null,"updated_at":null},{"id":790,"name":"Almus","city_id":60,"created_at":null,"updated_at":null},{"id":791,"name":"Artova","city_id":60,"created_at":null,"updated_at":null},{"id":792,"name":"Başçiftlik","city_id":60,"created_at":null,"updated_at":null},{"id":793,"name":"Erbaa","city_id":60,"created_at":null,"updated_at":null},{"id":794,"name":"Niksar","city_id":60,"created_at":null,"updated_at":null},{"id":795,"name":"Pazar","city_id":60,"created_at":null,"updated_at":null},{"id":796,"name":"Reşadiye","city_id":60,"created_at":null,"updated_at":null},{"id":797,"name":"Sulusaray","city_id":60,"created_at":null,"updated_at":null},{"id":798,"name":"Turhal","city_id":60,"created_at":null,"updated_at":null},{"id":799,"name":"Yeşilyurt","city_id":60,"created_at":null,"updated_at":null},{"id":800,"name":"Zile","city_id":60,"created_at":null,"updated_at":null},{"id":801,"name":"Trabzon","city_id":61,"created_at":null,"updated_at":null},{"id":802,"name":"Akçaabat","city_id":61,"created_at":null,"updated_at":null},{"id":803,"name":"Araklı","city_id":61,"created_at":null,"updated_at":null},{"id":804,"name":"Arsin","city_id":61,"created_at":null,"updated_at":null},{"id":805,"name":"Beşikdüzü","city_id":61,"created_at":null,"updated_at":null},{"id":806,"name":"Çarşıbaşı","city_id":61,"created_at":null,"updated_at":null},{"id":807,"name":"Çaykara","city_id":61,"created_at":null,"updated_at":null},{"id":808,"name":"Dernekpazarı","city_id":61,"created_at":null,"updated_at":null},{"id":809,"name":"Düzköy","city_id":61,"created_at":null,"updated_at":null},{"id":810,"name":"Hayrat","city_id":61,"created_at":null,"updated_at":null},{"id":811,"name":"Köprübaşı","city_id":61,"created_at":null,"updated_at":null},{"id":812,"name":"Maçka","city_id":61,"created_at":null,"updated_at":null},{"id":813,"name":"Of","city_id":61,"created_at":null,"updated_at":null},{"id":814,"name":"Sürmene","city_id":61,"created_at":null,"updated_at":null},{"id":815,"name":"Şalpazarı","city_id":61,"created_at":null,"updated_at":null},{"id":816,"name":"Tonya","city_id":61,"created_at":null,"updated_at":null},{"id":817,"name":"Vakfıkebir","city_id":61,"created_at":null,"updated_at":null},{"id":818,"name":"Yomra","city_id":61,"created_at":null,"updated_at":null},{"id":819,"name":"Tunceli","city_id":62,"created_at":null,"updated_at":null},{"id":820,"name":"Çemişgezek","city_id":62,"created_at":null,"updated_at":null},{"id":821,"name":"Hozat","city_id":62,"created_at":null,"updated_at":null},{"id":822,"name":"Mazgirt","city_id":62,"created_at":null,"updated_at":null},{"id":823,"name":"Nazımiye","city_id":62,"created_at":null,"updated_at":null},{"id":824,"name":"Ovacık","city_id":62,"created_at":null,"updated_at":null},{"id":825,"name":"Pertek","city_id":62,"created_at":null,"updated_at":null},{"id":826,"name":"Pülümür","city_id":62,"created_at":null,"updated_at":null},{"id":827,"name":"Şanlıurfa","city_id":63,"created_at":null,"updated_at":null},{"id":828,"name":"Akçakale","city_id":63,"created_at":null,"updated_at":null},{"id":829,"name":"Birecik","city_id":63,"created_at":null,"updated_at":null},{"id":830,"name":"Bozova","city_id":63,"created_at":null,"updated_at":null},{"id":831,"name":"Ceylanpınar","city_id":63,"created_at":null,"updated_at":null},{"id":832,"name":"Halfeti","city_id":63,"created_at":null,"updated_at":null},{"id":833,"name":"Harran","city_id":63,"created_at":null,"updated_at":null},{"id":834,"name":"Hilvan","city_id":63,"created_at":null,"updated_at":null},{"id":835,"name":"Siverek","city_id":63,"created_at":null,"updated_at":null},{"id":836,"name":"Suruç","city_id":63,"created_at":null,"updated_at":null},{"id":837,"name":"Viranşehir","city_id":63,"created_at":null,"updated_at":null},{"id":838,"name":"Uşak","city_id":64,"created_at":null,"updated_at":null},{"id":839,"name":"Banaz","city_id":64,"created_at":null,"updated_at":null},{"id":840,"name":"Eşme","city_id":64,"created_at":null,"updated_at":null},{"id":841,"name":"Karahallı","city_id":64,"created_at":null,"updated_at":null},{"id":842,"name":"Sivaslı","city_id":64,"created_at":null,"updated_at":null},{"id":843,"name":"Ulubey","city_id":64,"created_at":null,"updated_at":null},{"id":844,"name":"Van","city_id":65,"created_at":null,"updated_at":null},{"id":845,"name":"Bahçesaray","city_id":65,"created_at":null,"updated_at":null},{"id":846,"name":"Başkale","city_id":65,"created_at":null,"updated_at":null},{"id":847,"name":"Çaldıran","city_id":65,"created_at":null,"updated_at":null},{"id":848,"name":"Çatak","city_id":65,"created_at":null,"updated_at":null},{"id":849,"name":"Edremit(Gümüşdere)","city_id":65,"created_at":null,"updated_at":null},{"id":850,"name":"Erciş","city_id":65,"created_at":null,"updated_at":null},{"id":851,"name":"Gevaş","city_id":65,"created_at":null,"updated_at":null},{"id":852,"name":"Gürpınar","city_id":65,"created_at":null,"updated_at":null},{"id":853,"name":"Muradiye","city_id":65,"created_at":null,"updated_at":null},{"id":854,"name":"Özalp","city_id":65,"created_at":null,"updated_at":null},{"id":855,"name":"Saray","city_id":65,"created_at":null,"updated_at":null},{"id":856,"name":"Yozgat","city_id":66,"created_at":null,"updated_at":null},{"id":857,"name":"Akdağmadeni","city_id":66,"created_at":null,"updated_at":null},{"id":858,"name":"Aydıncık","city_id":66,"created_at":null,"updated_at":null},{"id":859,"name":"Boğazlıyan","city_id":66,"created_at":null,"updated_at":null},{"id":860,"name":"Çandır","city_id":66,"created_at":null,"updated_at":null},{"id":861,"name":"Çayıralan","city_id":66,"created_at":null,"updated_at":null},{"id":862,"name":"Çekerek","city_id":66,"created_at":null,"updated_at":null},{"id":863,"name":"Kadışehri","city_id":66,"created_at":null,"updated_at":null},{"id":864,"name":"Saraykent","city_id":66,"created_at":null,"updated_at":null},{"id":865,"name":"Sarıkaya","city_id":66,"created_at":null,"updated_at":null},{"id":866,"name":"Sorgun","city_id":66,"created_at":null,"updated_at":null},{"id":867,"name":"Şefaatli","city_id":66,"created_at":null,"updated_at":null},{"id":868,"name":"Yenifakılı","city_id":66,"created_at":null,"updated_at":null},{"id":869,"name":"Yerköy","city_id":66,"created_at":null,"updated_at":null},{"id":870,"name":"Zonguldak","city_id":67,"created_at":null,"updated_at":null},{"id":871,"name":"Alaplı","city_id":67,"created_at":null,"updated_at":null},{"id":872,"name":"Çaycuma","city_id":67,"created_at":null,"updated_at":null},{"id":873,"name":"Devrek","city_id":67,"created_at":null,"updated_at":null},{"id":874,"name":"Karadenizereğli","city_id":67,"created_at":null,"updated_at":null},{"id":875,"name":"Gökçebey","city_id":67,"created_at":null,"updated_at":null},{"id":876,"name":"Aksaray","city_id":68,"created_at":null,"updated_at":null},{"id":877,"name":"Ağaçören","city_id":68,"created_at":null,"updated_at":null},{"id":878,"name":"Eskil","city_id":68,"created_at":null,"updated_at":null},{"id":879,"name":"Gülağaç(Ağaçlı)","city_id":68,"created_at":null,"updated_at":null},{"id":880,"name":"Güzelyurt","city_id":68,"created_at":null,"updated_at":null},{"id":881,"name":"Ortaköy","city_id":68,"created_at":null,"updated_at":null},{"id":882,"name":"Sarıyahşi","city_id":68,"created_at":null,"updated_at":null},{"id":883,"name":"Bayburt","city_id":69,"created_at":null,"updated_at":null},{"id":884,"name":"Aydıntepe","city_id":69,"created_at":null,"updated_at":null},{"id":885,"name":"Demirözü","city_id":69,"created_at":null,"updated_at":null},{"id":886,"name":"Karaman","city_id":70,"created_at":null,"updated_at":null},{"id":887,"name":"Ayrancı","city_id":70,"created_at":null,"updated_at":null},{"id":888,"name":"Başyayla","city_id":70,"created_at":null,"updated_at":null},{"id":889,"name":"Ermenek","city_id":70,"created_at":null,"updated_at":null},{"id":890,"name":"Kazımkarabekir","city_id":70,"created_at":null,"updated_at":null},{"id":891,"name":"Sarıveliler","city_id":70,"created_at":null,"updated_at":null},{"id":892,"name":"Kırıkkale","city_id":71,"created_at":null,"updated_at":null},{"id":893,"name":"Bahşili","city_id":71,"created_at":null,"updated_at":null},{"id":894,"name":"Balışeyh","city_id":71,"created_at":null,"updated_at":null},{"id":895,"name":"Çelebi","city_id":71,"created_at":null,"updated_at":null},{"id":896,"name":"Delice","city_id":71,"created_at":null,"updated_at":null},{"id":897,"name":"Karakeçili","city_id":71,"created_at":null,"updated_at":null},{"id":898,"name":"Keskin","city_id":71,"created_at":null,"updated_at":null},{"id":899,"name":"Sulakyurt","city_id":71,"created_at":null,"updated_at":null},{"id":900,"name":"Yahşihan","city_id":71,"created_at":null,"updated_at":null},{"id":901,"name":"Batman","city_id":72,"created_at":null,"updated_at":null},{"id":902,"name":"Beşiri","city_id":72,"created_at":null,"updated_at":null},{"id":903,"name":"Gercüş","city_id":72,"created_at":null,"updated_at":null},{"id":904,"name":"Hasankeyf","city_id":72,"created_at":null,"updated_at":null},{"id":905,"name":"Kozluk","city_id":72,"created_at":null,"updated_at":null},{"id":906,"name":"Sason","city_id":72,"created_at":null,"updated_at":null},{"id":907,"name":"Şırnak","city_id":73,"created_at":null,"updated_at":null},{"id":908,"name":"Beytüşşebap","city_id":73,"created_at":null,"updated_at":null},{"id":909,"name":"Cizre","city_id":73,"created_at":null,"updated_at":null},{"id":910,"name":"Güçlükonak","city_id":73,"created_at":null,"updated_at":null},{"id":911,"name":"İdil","city_id":73,"created_at":null,"updated_at":null},{"id":912,"name":"Silopi","city_id":73,"created_at":null,"updated_at":null},{"id":913,"name":"Uludere","city_id":73,"created_at":null,"updated_at":null},{"id":914,"name":"Bartın","city_id":74,"created_at":null,"updated_at":null},{"id":915,"name":"Amasra","city_id":74,"created_at":null,"updated_at":null},{"id":916,"name":"Kurucaşile","city_id":74,"created_at":null,"updated_at":null},{"id":917,"name":"Ulus","city_id":74,"created_at":null,"updated_at":null},{"id":918,"name":"Ardahan","city_id":75,"created_at":null,"updated_at":null},{"id":919,"name":"Çıldır","city_id":75,"created_at":null,"updated_at":null},{"id":920,"name":"Damal","city_id":75,"created_at":null,"updated_at":null},{"id":921,"name":"Göle","city_id":75,"created_at":null,"updated_at":null},{"id":922,"name":"Hanak","city_id":75,"created_at":null,"updated_at":null},{"id":923,"name":"Posof","city_id":75,"created_at":null,"updated_at":null},{"id":924,"name":"Iğdır","city_id":76,"created_at":null,"updated_at":null},{"id":925,"name":"Aralık","city_id":76,"created_at":null,"updated_at":null},{"id":926,"name":"Karakoyunlu","city_id":76,"created_at":null,"updated_at":null},{"id":927,"name":"Tuzluca","city_id":76,"created_at":null,"updated_at":null},{"id":928,"name":"Yalova","city_id":77,"created_at":null,"updated_at":null},{"id":929,"name":"Altınova","city_id":77,"created_at":null,"updated_at":null},{"id":930,"name":"Armutlu","city_id":77,"created_at":null,"updated_at":null},{"id":931,"name":"Çiftlikköy","city_id":77,"created_at":null,"updated_at":null},{"id":932,"name":"Çınarcık","city_id":77,"created_at":null,"updated_at":null},{"id":933,"name":"Termal","city_id":77,"created_at":null,"updated_at":null},{"id":934,"name":"Karabük","city_id":78,"created_at":null,"updated_at":null},{"id":935,"name":"Eflani","city_id":78,"created_at":null,"updated_at":null},{"id":936,"name":"Eskipazar","city_id":78,"created_at":null,"updated_at":null},{"id":937,"name":"Ovacık","city_id":78,"created_at":null,"updated_at":null},{"id":938,"name":"Safranbolu","city_id":78,"created_at":null,"updated_at":null},{"id":939,"name":"Yenice","city_id":78,"created_at":null,"updated_at":null},{"id":940,"name":"Kilis","city_id":79,"created_at":null,"updated_at":null},{"id":941,"name":"Elbeyli","city_id":79,"created_at":null,"updated_at":null},{"id":942,"name":"Musabeyli","city_id":79,"created_at":null,"updated_at":null},{"id":943,"name":"Polateli","city_id":79,"created_at":null,"updated_at":null},{"id":944,"name":"Osmaniye","city_id":80,"created_at":null,"updated_at":null},{"id":945,"name":"Bahçe","city_id":80,"created_at":null,"updated_at":null},{"id":946,"name":"Düziçi","city_id":80,"created_at":null,"updated_at":null},{"id":947,"name":"Hasanbeyli","city_id":80,"created_at":null,"updated_at":null},{"id":948,"name":"Kadirli","city_id":80,"created_at":null,"updated_at":null},{"id":949,"name":"Sumbas","city_id":80,"created_at":null,"updated_at":null},{"id":950,"name":"Toprakkale","city_id":80,"created_at":null,"updated_at":null},{"id":951,"name":"Düzce","city_id":81,"created_at":null,"updated_at":null},{"id":952,"name":"Akçakoca","city_id":81,"created_at":null,"updated_at":null},{"id":953,"name":"Cumayeri","city_id":81,"created_at":null,"updated_at":null},{"id":954,"name":"Çilimli","city_id":81,"created_at":null,"updated_at":null},{"id":955,"name":"Gölyaka","city_id":81,"created_at":null,"updated_at":null},{"id":956,"name":"Gümüşova","city_id":81,"created_at":null,"updated_at":null},{"id":957,"name":"Kaynaşlı","city_id":81,"created_at":null,"updated_at":null},{"id":958,"name":"Yığılca","city_id":81,"created_at":null,"updated_at":null}]'
|
10
|
-
districts =
|
9
|
+
|
10
|
+
districts = YAML.load_file(l12n::Engine.root + '/config/l12n/districts.yml')
|
11
11
|
districts.each do |district|
|
12
|
-
|
13
|
-
new_district.name = district['name']
|
14
|
-
new_district.city_id = district['city_id']
|
15
|
-
new_district.save!
|
12
|
+
District.create(name: district['name'], city_id: district['city_id'])
|
16
13
|
end
|
17
14
|
end
|
18
15
|
end
|
data/lib/l12n.rb
CHANGED
data/lib/l12n/engine.rb
CHANGED
data/lib/l12n/version.rb
CHANGED
data/spec/spec_helper.rb
ADDED
@@ -0,0 +1,16 @@
|
|
1
|
+
ENV['RAILS_ENV'] ||= 'test'
|
2
|
+
require File.expand_path('../../config/environment', __FILE__)
|
3
|
+
require 'rspec/rails'
|
4
|
+
require 'rspec/autorun'
|
5
|
+
require 'factory_girl_rails'
|
6
|
+
|
7
|
+
Dir[Rails.root.join('spec/support/**/*.rb')].each { |f| require f }
|
8
|
+
ActiveRecord::Migration.check_pending! if defined?(ActiveRecord::Migration)
|
9
|
+
|
10
|
+
RSpec.configure do |config|
|
11
|
+
config.mock_with :rspec
|
12
|
+
config.fixture_path = "#{::Rails.root}/spec/fixtures"
|
13
|
+
config.use_transactional_fixtures = true
|
14
|
+
config.infer_base_class_for_anonymous_controllers = false
|
15
|
+
config.order = 'random'
|
16
|
+
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: l12n
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1
|
4
|
+
version: 1.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- lab2023
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2014-02-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -38,6 +38,34 @@ dependencies:
|
|
38
38
|
- - '>='
|
39
39
|
- !ruby/object:Gem::Version
|
40
40
|
version: '0'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: rspec-rails
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - '>='
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '0'
|
48
|
+
type: :development
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - '>='
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '0'
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: factory_girl_rails
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - '>='
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '0'
|
62
|
+
type: :development
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - '>='
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '0'
|
41
69
|
description: Locations data
|
42
70
|
email:
|
43
71
|
- info@lab2023.com
|
@@ -45,6 +73,10 @@ executables: []
|
|
45
73
|
extensions: []
|
46
74
|
extra_rdoc_files: []
|
47
75
|
files:
|
76
|
+
- CHANGELOG.md
|
77
|
+
- MIT-LICENSE
|
78
|
+
- README.md
|
79
|
+
- Rakefile
|
48
80
|
- app/assets/javascripts/l12n/application.js
|
49
81
|
- app/assets/javascripts/l12n/cities.js
|
50
82
|
- app/assets/javascripts/l12n/districts.js
|
@@ -62,16 +94,17 @@ files:
|
|
62
94
|
- app/views/l12n/cities/index.html.erb
|
63
95
|
- app/views/l12n/districts/index.html.erb
|
64
96
|
- app/views/layouts/l12n/application.html.erb
|
97
|
+
- config/I12n/cities.yml
|
98
|
+
- config/I12n/countries.yml
|
99
|
+
- config/I12n/districts.yml
|
65
100
|
- config/routes.rb
|
66
101
|
- db/migrate/20131016074302_create_cities.rb
|
67
102
|
- db/migrate/20131016074403_create_districts.rb
|
103
|
+
- lib/l12n.rb
|
68
104
|
- lib/l12n/engine.rb
|
69
105
|
- lib/l12n/version.rb
|
70
|
-
- lib/l12n.rb
|
71
106
|
- lib/tasks/l12n_tasks.rake
|
72
|
-
-
|
73
|
-
- Rakefile
|
74
|
-
- README.md
|
107
|
+
- spec/spec_helper.rb
|
75
108
|
homepage: https://github.com/kebab-project/l12n
|
76
109
|
licenses: []
|
77
110
|
metadata: {}
|
@@ -91,8 +124,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
91
124
|
version: '0'
|
92
125
|
requirements: []
|
93
126
|
rubyforge_project:
|
94
|
-
rubygems_version: 2.0
|
127
|
+
rubygems_version: 2.2.0
|
95
128
|
signing_key:
|
96
129
|
specification_version: 4
|
97
130
|
summary: Locations data
|
98
|
-
test_files:
|
131
|
+
test_files:
|
132
|
+
- spec/spec_helper.rb
|