Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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 · 1 comment · May be fixed by #2143
Labels

Comments

@Tafara-N
Copy link

  • Faker version: 28.4.1
  • OS: all

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

  1. fake = Faker('zu_ZA')
  2. Try to generate data for fake.city_name()
  3. 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.

Screenshot from 2024-09-21 11-45-09

Copy link

This issue is stale because it has been open for 30 days with no activity.

@github-actions github-actions bot added the stale label Dec 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant