Skip to content

Commit

Permalink
Add new en-KE locale
Browse files Browse the repository at this point in the history
  • Loading branch information
serpro69 committed Feb 12, 2024
1 parent 7af676f commit 358cd0b
Show file tree
Hide file tree
Showing 2 changed files with 238 additions and 0 deletions.
26 changes: 26 additions & 0 deletions CHANGELOG.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,40 @@
[discrete]
=== Breaking Change

* https://github.com/serpro69/kotlin-faker/pull/214[#214] [core] Update `Faker#internet#domain` function which affects returned values
* https://github.com/serpro69/kotlin-faker/pull/213[#213] [core] Add support for unique data generation to `Faker#random`

[discrete]
=== Added

* https://github.com/serpro69/kotlin-faker/pull/214[#214] [core] Update dictionary files, including:
** Data and functions in existing data providers
** `Faker().internet.domain()` now takes optional argument and produces a "safe-domain" (ending with `.example` or `.test`)
** Updates to existing localized dictionaries + one new locale
* https://github.com/serpro69/kotlin-faker/issues/208[#208] [core] Allow `StringProvider#regexify` to take Regex as input
* https://github.com/serpro69/kotlin-faker/pull/202[#202] [core] Allow `randomClassInstance` to directly use predefined generators

++++
<details><summary><h3>New Data Providers</h3></summary>
<p>
++++
* `smashing_pumpkins`
* `the_room`
++++
</p>
</details>
++++

++++
<details><summary><h3>New Locales</h3></summary>
<p>
++++
* `en-KE`
++++
</p>
</details>
++++

[discrete]
=== Changed

Expand Down
212 changes: 212 additions & 0 deletions core/src/main/resources/locales/en-KE.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,212 @@
en-KE:
faker:
internet:
domain_suffix:
- ke
- co.ke
- org.ke
- or.ke
- go.ke
- ac.ke
- info.ke
address:
default_country:
- Republic of Kenya
default_country_code:
- KE
counties:
- Kiambu
- Siaya
- Bungoma
- Kericho
- Kilifi
- Kisumu
- Machakos
- Nakuru
- Kisii
- Busia
- Homa Bay
- Kajiado
- Kakamega
- Laikipia
- Migori
- Taita-Taveta
- Embu
- Kitui
- Meru
- Murang'a
- Nyamira
- Turkana
- Trans-Nzoia
- Uasin Gishu
- Vihiga
- Baringo
- Bomet
- Elgeyo-Marakwet
- Garissa
- Isiolo
- Kirinyaga
- Kwale
- Mandera
- Marsabit
- Mombasa
- Nairobi
- Nandi
- Narok
- Nyandarua
- Nyeri
- Samburu
- Tharaka-Nithi
- Wajir
- West Pokot
county:
- "#{counties}"
cities:
- Bungoma
- Busia
- El Wak
- Eldoret
- Emali
- Embu
- Gilgil
- Homa Bay
- Isiolo
- Juja
- Kakamega
- Karuri
- Kenol
- Kericho
- Kiambu
- Kikuyu
- Kilifi
- Kimilili
- Kiserian
- Kisii
- Kisumu
- Kitengela
- Limuru
- Lodwar
- Machakos
- Malindi
- Mandera
- Mavoko
- Meru
- Migori
- Mombasa
- Moyale
- Mtwapa
- Muranga
- Nairobi
- Naivasha
- Nakuru
- Nanyuki
- Narok
- Ngong
- Nyeri
- Ruiru
- Thika
- Ukunda
- Voi
- Wajir
- Wanguru
- Webuye
city:
- "#{cities}"
company:
company_names:
- ABSA Kenya
- ARM Cement
- Africa Development Bank (AfDB)
- B.O.C Kenya
- Bamburi Cement
- Britam Holdings
- British American Tobacco Kenya
- CIC Insurance Group
- Car & General (K)
- Carbacid Investments
- Centum Investment
- Crown Paints Kenya
- Deacons (East Africa)
- Diamond Trust Bank Kenya
- E.A Cables
- E.A Portland Cement
- Eaagads
- East African Breweries
- Equity Group Holdings
- Eveready East Africa
- Express Kenya
- Flame Tree Group Holdings
- HF Group
- Home Afrika
- Homeboyz Entertainment
- I & M Holdings
- ILAM Fahari I-REIT
- Jubilee Holdings
- KCB Group
- Kakuzi
- Kapchorua Tea Kenya
- KenGen
- Kenya Airways
- Kenya Orchards
- Kenya Power & Lighting
- Kenya Re-Insurance Corporation
- Kurwitu Ventures
- Liberty Kenya Holdings
- Limuru Tea
- Longhorn Publishers
- Mumias Sugar
- NCBA Group
- Nairobi Business Ventures
- Nairobi Securities Exchange
- Nation Media Group
- Olympia Capital Holdings
- Safaricom
- Sameer Africa
- Sanlam Kenya
- Sasini
- Stanbic Holdings
- Standard Chartered Bank Kenya
- Standard Group
- TPS Eastern Africa (Serena)
- The Co-operative Bank of Kenya
- Total Kenya
- Trans-Century
- Uchumi Supermarket
- Umeme
- Unga Group
- WPP Scangroup
- Williamson Tea Kenya
suffix:
- Co.
- Ltd
- Plc
- Trust
name:
- "#{company_names}"
phone_number:
country_code:
- "254"
area_code:
# area codes for Nairobi, Mombasa, Eldoret & Kisumu cities
- "20"
- "41"
- "51"
- "57"
formats:
- "### #######"
- "##########"
- "###-#######"
cell_phone:
formats:
# safaricom
- "0711 ######"
- "0722 ######"
# Airtel
- "010# ######"
- "0730 ######"
# Telkom
- "0770 ######"
- "0771 ######"
# Equitel
- "0763 ######"
- "0764 ######"

0 comments on commit 358cd0b

Please sign in to comment.