faker icon indicating copy to clipboard operation
faker copied to clipboard

`nationality` method under `faker.providers.address` for locale `en_US`

Open Kemystra opened this issue 10 months ago • 1 comments

First of all, thank you for this amazing tool!

I'm looking for a way to generate fake nationalities in the English language but it seems like it is not available under the en_US locale (and quite a lot of other locales actually). The only locale that provided such method is the pt_PT locale.

My questions would be:

  1. Are there any specific reasons why it isn't there?
  2. If there's no reason to not add them, may I try to make a pull request to add them?

Kemystra avatar Jun 06 '25 10:06 Kemystra

There does not seem to be a specific reason for this - #984 just introduced it for this specific locale without having a default implementation in the default locale.

stefan6419846 avatar Jun 06 '25 14:06 stefan6419846

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

github-actions[bot] avatar Sep 05 '25 02:09 github-actions[bot]

This issue was closed because it has been inactive for 14 days since being marked as stale.

github-actions[bot] avatar Sep 19 '25 02:09 github-actions[bot]