You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The zu_ZA locale currently only has Zulu names as a provider. I'd like to add more providers related to South Africa, such as Streets, Cities, Towns, and Stadiums.
#2105
Open
Tafara-N opened this issue
Sep 21, 2024
· 0 comments
· May be fixed by #2143
The zu_ZA locale currently only has a person provider which in turn results in only Zulu names. I'd like to add more providers related to South Africa, such as Streets, Cities, Towns, Banks, Stadiums, Schools, Universities and more names as there's different races, tribes.
Steps to reproduce
fake = Faker('zu_ZA')
Try to generate data for fake.city_name()
There is no city_name provider for the zu_ZA locale.
Expected behavior
X should be ...
fake.city_name() should generate South African city names such as Johannesburg, Durban, and Cape Town.
Actual behavior
X is ...
There is no city_name() provider for the zu_ZA locale, so it throws an AttributeError.
The text was updated successfully, but these errors were encountered:
The
zu_ZA
locale currently only has a person provider which in turn results in only Zulu names. I'd like to add more providers related to South Africa, such as Streets, Cities, Towns, Banks, Stadiums, Schools, Universities and more names as there's different races, tribes.Steps to reproduce
fake.city_name()
Expected behavior
X should be ...
fake.city_name()
should generate South African city names such as Johannesburg, Durban, and Cape Town.Actual behavior
X is ...
There is no
city_name()
provider for thezu_ZA
locale, so it throws an AttributeError.The text was updated successfully, but these errors were encountered: