diff options
| author | Marak <[email protected]> | 2021-03-11 10:20:20 -0500 |
|---|---|---|
| committer | GitHub <[email protected]> | 2021-03-11 10:20:20 -0500 |
| commit | f694a2e9e717ae040678eb81bdd7b80e0c95f826 (patch) | |
| tree | eee4bf876e0ccc4f85000d917832d20fdbe9e3f7 | |
| parent | 006dc31f6e66c43022abf7034fe5aee806f0d1f5 (diff) | |
| parent | 10e305dd0f0d2c976852dadb9ddf139df70e5bf9 (diff) | |
| download | faker-f694a2e9e717ae040678eb81bdd7b80e0c95f826.tar.xz faker-f694a2e9e717ae040678eb81bdd7b80e0c95f826.zip | |
Merge pull request #1130 from prinx/master
Add support for en_GH locale
27 files changed, 912 insertions, 1 deletions
diff --git a/lib/locales/en_GH/address/building_number.js b/lib/locales/en_GH/address/building_number.js new file mode 100644 index 00000000..8f67cb33 --- /dev/null +++ b/lib/locales/en_GH/address/building_number.js @@ -0,0 +1,5 @@ +module["exports"] = [ + "###", + "##", + "#" +]; diff --git a/lib/locales/en_GH/address/city.js b/lib/locales/en_GH/address/city.js new file mode 100644 index 00000000..d62eafb1 --- /dev/null +++ b/lib/locales/en_GH/address/city.js @@ -0,0 +1,3 @@ +module["exports"] = [ + "#{city_name}" +]; diff --git a/lib/locales/en_GH/address/city_name.js b/lib/locales/en_GH/address/city_name.js new file mode 100644 index 00000000..d88c783b --- /dev/null +++ b/lib/locales/en_GH/address/city_name.js @@ -0,0 +1,355 @@ +module["exports"] = [ + "Goaso", + "Hwidiem", + "Kenyasi", + "Kukuom", + "Abrepo Junction", + "Abuakwa", + "Adum", + "Afrancho", + "Agogo", + "Agona", + "Ahodwo", + "Airport", + "Akumadan", + "Amakom", + "Aputuogya", + "Asafo", + "Ash-Town", + "Asokore Mampong", + "Asokwa", + "Asuofia", + "Atonsu", + "Ayeduasi", + "Ayigya", + "Bantama", + "Barekese", + "Bekwai", + "Boadi", + "Bomso", + "Breman", + "Brewery", + "Buoho", + "Buokrom Estate", + "Daban", + "Dakwadwom", + "Deduako", + "Denyame", + "Effiduase", + "Ejisu", + "Ejura", + "Emina", + "Esreso", + "Fawode", + "Gyinyasi", + "Jachie Pramso", + "Kaasi", + "KNUST", + "Kodie", + "Komfo Anokye", + "Konongo", + "Kotei", + "Krofrom", + "Kumasi", + "Maakro", + "Mampong", + "Mankranso", + "Manso Nkwanta", + "Nkawie", + "North Suntreso", + "Nyinahin", + "Obuasi", + "Oforikrom", + "Pankrono", + "Santasi", + "Sokoban", + "South Suntreso", + "Suame", + "Tafo", + "Takwa-Maakro", + "Tanoso", + "Tepa", + "TUC", + "Banda Ahenkro", + "Brekum", + "Dormaa Ahenkro", + "New Drobo", + "Nsawkaw", + "Sampa", + "Sunyani", + "Atebubu", + "Buipe", + "Jema", + "Kintampo", + "Kwame Danso", + "Nkoranza", + "Prang", + "Techiman", + "Wenchi", + "Yeji", + "Agona Swedru", + "Amanfrom", + "Anomabu", + "Apam", + "Bawjiase", + "Breman Asikuma", + "Budumburam", + "Cape Coast", + "Domeabra", + "Elmina", + "Foso", + "Kasoa Ofaakor", + "Kasoa Zongo", + "Liberia Camp", + "Mankessim", + "Millennium City", + "Mumford", + "Nyakrom", + "Nyananor", + "Nyanyano", + "Oduponkpehe", + "Opeikuma", + "Pentecost Seminary", + "Saltpond", + "Winneba", + "Abetifi", + "Abompe", + "Aburi", + "Adeiso", + "Adjeiikrom", + "Adukrom", + "Ahwerease", + "Akim Oda", + "Akim Swedru", + "Akosombo", + "Akropong", + "Akwatia", + "Akyem Hemang", + "Amanokrom", + "Apirede", + "Asamankese", + "Asesewa", + "Atimpoku", + "Ayiensu", + "Begoro", + "Bepoase", + "Bisibom", + "Bososo", + "Brekusu", + "Coaltar", + "Dawu", + "Dedesoworako", + "Donkorkrom", + "Dwenase", + "Gyankama", + "Juaso", + "Kade", + "Kibi", + "Kitase", + "Koforidua", + "Kwabeng", + "Mamfe", + "Mampong", + "Mpraeso", + "New Abirem", + "Nkawkaw", + "Nsawam", + "Nsutam", + "Obooho", + "Obosomase", + "Odumase Krobo", + "Ofoase", + "Osino", + "Peduase", + "Saaman", + "Somanya", + "Summer", + "Suhum", + "Tease", + "Tutu", + "Abelemkpe", + "Ablekuma", + "Abokobi", + "Abossey Okai", + "Accra Newtown", + "Achimota", + "Adabraka", + "Adenta", + "Afienya", + "Agbogba", + "Airport", + "Amasaman", + "Ashiaman", + "Ashongman", + "Aslyum Down", + "Baatsona - Spintex", + "Bortianor", + "Cantonment", + "Dansoman", + "Darkuman", + "Dawhenya", + "Dodowa", + "Dome", + "Dzorwulu", + "East Legon", + "Gbawe", + "Haatso", + "James Town", + "Kanda", + "Kaneshie", + "Kasoa", + "Kissieman", + "Kokrobite", + "Korle Bu", + "Kpone", + "Kwabenya", + "Kwashieman", + "Labadi", + "Labone", + "Lapaz", + "Lartebiokorshie", + "Lashibi", + "Legon", + "Madina", + "Makola", + "Mallam", + "McCarthy Hill", + "Michel Camp", + "Nima", + "Nungua", + "Oblogo Mallam", + "Odoponkpehe", + "Odorkor", + "Osu", + "Oyarifa", + "Patang", + "Prampram", + "Ridge", + "Roman Ridge", + "Sakumono", + "Santa Maria", + "Sowutuom", + "Taifa", + "Tema", + "Tema New Town", + "Tesano", + "Teshie", + "Tetegu", + "Tieman", + "Tudu", + "Weija", + "Westhills", + "Chinderi", + "Jasikan", + "Kadjebi", + "Kete Krachi", + "Kpassa", + "Nkonya", + "Bole", + "Buipe", + "Damango", + "Salaga", + "Sawla", + "Tolon", + "Bawku", + "Bolgatanga", + "Bongo", + "Navrongo", + "Paga", + "Tongo", + "Funsi", + "Gwollu", + "Issa", + "Jirapa", + "Kaleo", + "Lambussie", + "Lawra", + "Nadowli", + "Nandom", + "Tumu", + "Wa", + "Wechiau", + "Adaklu Waya", + "Adidome", + "Aflao", + "Akatsi", + "Ave Dakpa", + "Ho.", + "Hohoe", + "Keta", + "Kpando", + "Kpetoe", + "Kpeve", + "Sogakope", + "Abase", + "Aboso", + "Adiawoso", + "Adiembra", + "Adwowa", + "Agona Nkwanta", + "Agufo", + "Ahonozo", + "Akatachi", + "Alabokazo", + "Anaji", + "Apowa", + "Apremodo", + "Asankragua", + "Awukyere", + "Axim", + "Beahu", + "Bogoso", + "Busua", + "Daboase", + "Dadwen", + "Diabene", + "Dixcove", + "East Tanokrom", + "Effiakuma", + "Eikwe", + "Elubo", + "Essiama", + "Essikado", + "Essipong", + "Ewusiejo", + "Fijai", + "Funko", + "Half Assini", + "Hotopo", + "Inchaban", + "kansaworado", + "Kejabil", + "Kojokrom", + "Kwawkrom", + "Kweikuma", + "kwesimintsim", + "Manso", + "Miemia", + "Mpintsin", + "New Akwidaa", + "New Amanfu", + "New Takoradi", + "Ngyiresia", + "Nkroful", + "Nsein", + "Ntankoful", + "Nzulezo", + "Old Akwidaa", + "Prestea", + "Princess Town", + "Samreboi", + "Sekondi", + "Shama", + "Takoradi", + "Tarkwa", + "Tikobo No.1", + "Tikobo No.2", + "West Tanokrom", + "Windy Ridge", + "Akontombra", + "Bibiani", + "Dadieso", + "Enchi", + "Juaboso", + "Sewhi Anhwiaso" +]; diff --git a/lib/locales/en_GH/address/default_country.js b/lib/locales/en_GH/address/default_country.js new file mode 100644 index 00000000..e1f837a6 --- /dev/null +++ b/lib/locales/en_GH/address/default_country.js @@ -0,0 +1,3 @@ +module["exports"] = [ + "Ghana", +]; diff --git a/lib/locales/en_GH/address/index.js b/lib/locales/en_GH/address/index.js new file mode 100644 index 00000000..cca99872 --- /dev/null +++ b/lib/locales/en_GH/address/index.js @@ -0,0 +1,12 @@ +var address = {}; +module['exports'] = address; +address.city = require("./city"); +address.city_name = require("./city_name"); +address.default_country = require("./default_country"); +address.postcode = require("./postcode"); +address.state = require("./state"); +address.building_number = require("./building_number"); +address.street_address = require("./street_address"); +address.street_name = require("./street_name"); +address.street_prefix = require("./street_prefix"); +address.street_suffix = require("./street_suffix");
\ No newline at end of file diff --git a/lib/locales/en_GH/address/postcode.js b/lib/locales/en_GH/address/postcode.js new file mode 100644 index 00000000..5755b00d --- /dev/null +++ b/lib/locales/en_GH/address/postcode.js @@ -0,0 +1,4 @@ +module["exports"] = [ + "??-###-####", + "??-####-####", +]; diff --git a/lib/locales/en_GH/address/state.js b/lib/locales/en_GH/address/state.js new file mode 100644 index 00000000..ca6db4ac --- /dev/null +++ b/lib/locales/en_GH/address/state.js @@ -0,0 +1,18 @@ +module["exports"] = [ + 'Ashanti', + 'Brong Ahafo', + 'Bono East', + 'Ahafo', + 'Central', + 'Eastern', + 'Greater Accra', + 'Northern', + 'Savannah', + 'North East', + 'Upper East', + 'Upper West', + 'Volta', + 'Oti', + 'Western', + 'Western North' +]; diff --git a/lib/locales/en_GH/address/street_address.js b/lib/locales/en_GH/address/street_address.js new file mode 100644 index 00000000..289216e7 --- /dev/null +++ b/lib/locales/en_GH/address/street_address.js @@ -0,0 +1,3 @@ +module["exports"] = [ + "#{building_number} #{street_name}" +]; diff --git a/lib/locales/en_GH/address/street_name.js b/lib/locales/en_GH/address/street_name.js new file mode 100644 index 00000000..d1f83dee --- /dev/null +++ b/lib/locales/en_GH/address/street_name.js @@ -0,0 +1,4 @@ +module["exports"] = [ + "#{Name.last_name} #{street_suffix}", + "#{street_prefix} #{street_suffix}", +]; diff --git a/lib/locales/en_GH/address/street_prefix.js b/lib/locales/en_GH/address/street_prefix.js new file mode 100644 index 00000000..2a15f328 --- /dev/null +++ b/lib/locales/en_GH/address/street_prefix.js @@ -0,0 +1,3 @@ +module["exports"] = [ + "Boame", +]; diff --git a/lib/locales/en_GH/address/street_suffix.js b/lib/locales/en_GH/address/street_suffix.js new file mode 100644 index 00000000..a370fd62 --- /dev/null +++ b/lib/locales/en_GH/address/street_suffix.js @@ -0,0 +1,10 @@ +module["exports"] = [ + 'Link', + 'Lane', + 'Road', + 'Street', + 'Lk', + 'Ln', + 'Rd', + 'St' +]; diff --git a/lib/locales/en_GH/company/index.js b/lib/locales/en_GH/company/index.js new file mode 100644 index 00000000..2abcbf5c --- /dev/null +++ b/lib/locales/en_GH/company/index.js @@ -0,0 +1,4 @@ +var company = {}; +module['exports'] = company; +company.suffix = require("./suffix"); +company.name = require("./name"); diff --git a/lib/locales/en_GH/company/name.js b/lib/locales/en_GH/company/name.js new file mode 100644 index 00000000..cc1e6165 --- /dev/null +++ b/lib/locales/en_GH/company/name.js @@ -0,0 +1,4 @@ +module["exports"] = [ + "#{Name.last_name} #{suffix}", + "#{Name.last_name} and #{Name.last_name}" +]; diff --git a/lib/locales/en_GH/company/suffix.js b/lib/locales/en_GH/company/suffix.js new file mode 100644 index 00000000..ad14114e --- /dev/null +++ b/lib/locales/en_GH/company/suffix.js @@ -0,0 +1,4 @@ +module["exports"] = [ + "Venture", + "Ltd", +]; diff --git a/lib/locales/en_GH/index.js b/lib/locales/en_GH/index.js new file mode 100644 index 00000000..95897eed --- /dev/null +++ b/lib/locales/en_GH/index.js @@ -0,0 +1,8 @@ +var en_GH = {}; +module['exports'] = en_GH; +en_GH.title = "English (Ghana)"; +en_GH.name = require("./name"); +en_GH.address = require("./address"); +en_GH.internet = require("./internet"); +en_GH.company = require("./company"); +en_GH.phone_number = require("./phone_number");
\ No newline at end of file diff --git a/lib/locales/en_GH/internet/domain_suffix.js b/lib/locales/en_GH/internet/domain_suffix.js new file mode 100644 index 00000000..d19b118f --- /dev/null +++ b/lib/locales/en_GH/internet/domain_suffix.js @@ -0,0 +1,11 @@ +module["exports"] = [ + 'com.gh', + 'edu.gh', + 'gov.gh', + 'org.gh', + 'com', + 'net', + 'org', + 'biz', + 'co' +];
\ No newline at end of file diff --git a/lib/locales/en_GH/internet/index.js b/lib/locales/en_GH/internet/index.js new file mode 100644 index 00000000..abfa2480 --- /dev/null +++ b/lib/locales/en_GH/internet/index.js @@ -0,0 +1,3 @@ +var internet = {}; +module['exports'] = internet; +internet.domain_suffix = require("./domain_suffix"); diff --git a/lib/locales/en_GH/name/female_first_name.js b/lib/locales/en_GH/name/female_first_name.js new file mode 100644 index 00000000..261a0535 --- /dev/null +++ b/lib/locales/en_GH/name/female_first_name.js @@ -0,0 +1,146 @@ +module["exports"] = [ + 'Aba', + 'Abena', + 'Abigail', + 'Adwoa', + 'Afia', + 'Afua', + 'Akos', + 'Akofa', + 'Akorfa', + 'Akosua', + 'Akua', + 'Akumaa', + 'Alice', + 'Ama', + 'Amanda', + 'Amber', + 'Amelia', + 'Angela', + 'Ann', + 'Annette', + 'Awesi', + 'Baaba', + 'Barbara', + 'Beatrice', + 'COmfort', + 'Caroline', + 'Catherine', + 'Charlotte', + 'Christina', + 'Comfort', + 'Constance', + 'Danielle', + 'Deborah', + 'Debra', + 'Denise', + 'Dora', + 'Dorcas', + 'Dorothy', + 'Eliabeth', + 'Elizabeth', + 'Emily', + 'Emma', + 'Ernestina', + 'Esi', + 'Eunice', + 'Eyram', + 'Felicia', + 'Francesca', + 'Gemma', + 'Georgia', + 'Georgina', + 'Gifty', + 'Grace', + 'Grace', + 'Hannabel', + 'Hannah', + 'Harriet', + 'Helen', + 'Irene', + 'Janet', + 'Janet', + 'Janice', + 'Jasmine', + 'Jennifer', + 'Jessica', + 'Jill', + 'Joanna', + 'Josephine', + 'Joyce', + 'Joyce', + 'Judith', + 'Julia', + 'Juliana', + 'Julie', + 'Karen', + 'Kate', + 'Katherine', + 'Katy', + 'Lawrencia', + 'Linda', + 'Lisa', + 'Lorraine', + 'Lucy', + 'Lucy', + 'Lydia', + 'Lydia', + 'Mandy', + 'Margaret', + 'Margaret', + 'Maria', + 'Marian', + 'Marilyn', + 'Mary', + 'Mary', + 'Maureen', + 'Mawuena', + 'Mawusi', + 'Michelle', + 'Millicent', + 'Nana Ama', + 'Naomi', + 'Natalie', + 'Natasha', + 'Nicola', + 'Nimakoah', + 'Olivia', + 'Pamela', + 'Patricia', + 'Paula', + 'Priscilla', + 'Rachael', + 'Rachel', + 'Rebecca', + 'Rebecca', + 'Regina', + 'Rita', + 'Roselyn', + 'Rosemary', + 'Rosemary', + 'Ruth', + 'Salomey', + 'Samantha', + 'Sandra', + 'Sarah', + 'Sarah', + 'Sarah', + 'Sena', + 'Sharon', + 'Sheila', + 'Shirley', + 'Stephanie', + 'Susan', + 'Susan', + 'Sylvia', + 'Teresa', + 'Tina', + 'Tracy', + 'Vanessa', + 'Veronica', + 'Victoria', + 'Vida', + 'Wendy', + 'Yaa', + 'Yvonne', +];
\ No newline at end of file diff --git a/lib/locales/en_GH/name/first_name.js b/lib/locales/en_GH/name/first_name.js new file mode 100644 index 00000000..4dc74a39 --- /dev/null +++ b/lib/locales/en_GH/name/first_name.js @@ -0,0 +1,4 @@ +module["exports"] = [ + '#{female_first_name}', + '#{male_first_name}', +];
\ No newline at end of file diff --git a/lib/locales/en_GH/name/index.js b/lib/locales/en_GH/name/index.js new file mode 100644 index 00000000..f71eef88 --- /dev/null +++ b/lib/locales/en_GH/name/index.js @@ -0,0 +1,7 @@ +var name = {}; +module['exports'] = name; +name.name = require("./name"); +name.male_first_name = require("./male_first_name"); +name.female_first_name = require("./female_first_name"); +name.first_name = require("./first_name"); +name.last_name = require("./last_name");
\ No newline at end of file diff --git a/lib/locales/en_GH/name/last_name.js b/lib/locales/en_GH/name/last_name.js new file mode 100644 index 00000000..bd62c1d1 --- /dev/null +++ b/lib/locales/en_GH/name/last_name.js @@ -0,0 +1,124 @@ +module["exports"] = [ + 'Acheampong', + 'Adadevoh', + 'Adomah', + 'Adomako', + 'Adongo', + 'Adu', + 'Adusei', + 'Adutwum', + 'Afirifa', + 'Afoakwa', + 'Agyapong', + 'Agyapong', + 'Agyare', + 'Agyei', + 'Agyemang', + 'Ahortor', + 'Akoto', + 'Akowua', + 'Akyeamfuɔ', + 'Akyeampong', + 'Akyena', + 'Akyerεko', + 'Amo', + 'Amoa', + 'Amoako', + 'Amoasi', + 'Ampadu', + 'Ampofo', + 'Amponsah', + 'Andorful', + 'Ankra', + 'Anokye', + 'Ansa', + 'Antwi', + 'Antwi', + 'Appia', + 'Appiah', + 'Asamoa', + 'Asamoah', + 'Asante', + 'Asare', + 'Asenso', + 'Asiama', + 'Asiedu', + 'Ata', + 'Awuah', + 'Baa', + 'Baafi', + 'Baah', + 'Baawia', + 'Badu', + 'Boadi', + 'Boadu', + 'Boahen', + 'Boakye', + 'Boaten', + 'Boateng', + 'Bona', + 'Bonsra', + 'Bonsu', + 'Daako', + 'Danso', + 'Darko', + 'Darteh', + 'Dartey', + 'Djokoto', + 'Donkor', + 'Duah', + 'Dwamena', + 'Dzokoto', + 'Fofie', + 'Fosu', + 'Gyamfi', + 'Gyasi', + 'Karikari', + 'Koomson', + 'Kumi', + 'Kusi', + 'Kwaakye', + 'Kwarteng', + 'Kyei', + 'Mensa', + 'Mensah', + 'Nkansa', + 'Nkansah', + 'Nkrumah', + 'Nsia', + 'Nti', + 'Ntiamoa', + 'Ntim', + 'Nyaako', + 'Nyame', + 'Nyantakyi', + 'Obeng', + 'Ofori', + 'Ofosu', + 'Okyere', + 'Okpattah', + 'Omani', + 'Opoku', + 'Oppong', + 'Opuku', + 'Osei', + 'Oti', + 'Otiwa', + 'Otuo', + 'Owusu', + 'Prempeh', + 'Quartey', + 'Safo', + 'Sarpong', + 'Takyi', + 'Tawia', + 'Tutu', + 'Tweneboa', + 'Twumasi', + 'Wiafe', + 'Yaamoa', + 'Yawson', + 'Yeboa', + 'Yeboah', + 'Yirenkyi', +];
\ No newline at end of file diff --git a/lib/locales/en_GH/name/male_first_name.js b/lib/locales/en_GH/name/male_first_name.js new file mode 100644 index 00000000..f30c2fc6 --- /dev/null +++ b/lib/locales/en_GH/name/male_first_name.js @@ -0,0 +1,134 @@ +module["exports"] = [ + 'Aaron', + 'Abeiku', + 'Adam', + 'Adrian', + 'Akwesi', + 'Albert', + 'Alex', + 'Alexander', + 'Andrew', + 'Anthony', + 'Antony', + 'Arthur', + 'Ben', + 'Benjamin', + 'Bernard', + 'Bless', + 'Blessing', + 'Bruce', + 'Carl', + 'Charles', + 'Christian', + 'Clifford', + 'Colins', + 'Daniel', + 'Danny', + 'David', + 'Denis', + 'Dennis', + 'Derrick', + 'Dominic', + 'Donald', + 'Douglas', + 'Duncan', + 'Edward', + 'Ekow', + 'Elliot', + 'Elliott', + 'Eyram', + 'Eric', + 'Fiifi', + 'Francis', + 'Frank', + 'Frederick', + 'George', + 'Gerald', + 'Gordon', + 'Graham', + 'Gregory', + 'Harry', + 'Henry', + 'Howard', + 'Isaac', + 'Akwasi', + 'Jack', + 'Jacob', + 'Jake', + 'James', + 'Jason', + 'Jeffrey', + 'Jeremy', + 'Joe', + 'Joel', + 'John', + 'Jonathan', + 'Joojo', + 'Joseph', + 'Josh', + 'Joshua', + 'Josiah', + 'Julian', + 'Justin', + 'Karl', + 'Kenneth', + 'Kevin', + 'Kofi', + 'Kojo', + 'Kujoe', + 'Kwabena', + 'Kwadwo', + 'Kwaku', + 'Kwame', + 'Kwamena', + 'Kwasi', + 'Kweku', + 'Kwesi', + 'Kyle', + 'Lawrence', + 'Leslie', + 'Louis', + 'Luke', + 'Malcolm', + 'Marcus', + 'Mark', + 'Martin', + 'Mathew', + 'Matthew', + 'Max', + 'Michael', + 'Nathan', + 'Nicholas', + 'Nigel', + 'Oliver', + 'Patrick', + 'Paul', + 'Peter', + 'Philip', + 'Phillip', + 'Promise', + 'Raymond', + 'Richard', + 'Robert', + 'Roger', + 'Ronald', + 'Russell', + 'Sam', + 'Samuel', + 'Shaun', + 'Simon', + 'Stanley', + 'Stephen', + 'Steven', + 'Terence', + 'Thomas', + 'Timothy', + 'Thank God', + 'Thy Will Be Done', + 'Tom', + 'Tony', + 'Victor', + 'Vincent', + 'William', + 'Yaw', +];
\ No newline at end of file diff --git a/lib/locales/en_GH/name/name.js b/lib/locales/en_GH/name/name.js new file mode 100644 index 00000000..920d65fa --- /dev/null +++ b/lib/locales/en_GH/name/name.js @@ -0,0 +1,6 @@ +module["exports"] = [ + "#{female_first_name} #{last_name}", + "#{female_first_name} #{last_name}-#{last_name}", + "#{male_first_name} #{last_name}", + "#{male_first_name} #{last_name}-#{last_name}", +]; diff --git a/lib/locales/en_GH/phone_number/formats.js b/lib/locales/en_GH/phone_number/formats.js new file mode 100644 index 00000000..09323553 --- /dev/null +++ b/lib/locales/en_GH/phone_number/formats.js @@ -0,0 +1,28 @@ +module["exports"] = [ + '020#######', + '023#######', + '024#######', + '026#######', + '027#######', + '028#######', + '050#######', + '053#######', + '054#######', + '055#######', + '056#######', + '057#######', + '058#######', + '+23320#######', + '+23323#######', + '+23324#######', + '+23326#######', + '+23327#######', + '+23328#######', + '+23350#######', + '+23353#######', + '+23354#######', + '+23355#######', + '+23356#######', + '+23357#######', + '+23358#######', +];
\ No newline at end of file diff --git a/lib/locales/en_GH/phone_number/index.js b/lib/locales/en_GH/phone_number/index.js new file mode 100644 index 00000000..8d35e011 --- /dev/null +++ b/lib/locales/en_GH/phone_number/index.js @@ -0,0 +1,3 @@ +var phone_number = {}; +module['exports'] = phone_number; +phone_number.formats = require("./formats"); diff --git a/locale/ReadMe.md b/locale/ReadMe.md index 1b56bc8f..258e97ad 100644 --- a/locale/ReadMe.md +++ b/locale/ReadMe.md @@ -2,7 +2,7 @@ The files in this directory have been auto-generated from the `gulpfile`. -These file exist in order to allow users to require the `faker` library using a specific locale ( instead of the default behavior or loading all all locales ). +These file exist in order to allow users to require the `faker` library using a specific locale ( instead of the default behavior or loading all locales ). Example: diff --git a/locale/en_GH.js b/locale/en_GH.js new file mode 100644 index 00000000..91c23df3 --- /dev/null +++ b/locale/en_GH.js @@ -0,0 +1,5 @@ +var Faker = require('../lib');
+var faker = new Faker({ locale: 'en_GH', localeFallback: 'en' });
+faker.locales['en_GH'] = require('../lib/locales/en_GH');
+faker.locales['en'] = require('../lib/locales/en');
+module['exports'] = faker;
|
