ozdemirburak / full-name-generator

Generate random names using data from popular names and surnames of various countries.
https://fullnamegenerator.com
MIT License
26 stars 17 forks source link

Add Portuguese Names and Surnames #14

Closed ozdemirburak closed 1 year ago

ozdemirburak commented 1 year ago

The repository is missing Portuguese names and surnames. Follow the guide below to add them.

🚀 How to Contribute:

  1. Fork the repository.
  2. Add names and surnames for your country following the format provided below.
  3. Submit a Pull Request with your changes.
  4. Please include a reliable source for the names and surnames you're adding, preferably a public database or a reputable website.

📄 Format:

For names (src/names/pt.ts):

const portugueseNames = {
    0: [ // Male names - Add the URL of the names source here
        'Name1', 'Name2', 'Name3', ...
    ],
    1: [ // Female names - Add the URL of the names source here
        'Name1', 'Name2', 'Name3', ...
    ]
}

export default portugueseNames;

For surnames (src/surnames/pt.ts):

const portugueseSurnames = [ // Add the URL of the surnames source here
    'Surname1', 'Surname2', 'Surname3', ...
];

export default portugueseSurnames;

📌 Important Notes:

aryankshl commented 1 year ago

hey @ozdemirburak can you assign this to me?

Ryan-Biondo commented 1 year ago

I'm adding common, non-offensive Portuguese names/surnames sourced from FamilyEducation, Behind the Name, Surnam.es, Forebears, INE, and RNPN for cross-referencing.

ozdemirburak commented 1 year ago

Thanks, @Ryan-Biondo.