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 French Names and Surnames #6

Closed ozdemirburak closed 1 year ago

ozdemirburak commented 1 year ago

The repository is missing French 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/fr.ts):

const frenchNames = {
    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 frenchNames;

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

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

export default frenchSurnames;

πŸ“Œ Important Notes:

belkhoujaons commented 1 year ago

Can i add names from my own DB ? which means no URL provided ? if yes, please assign this to me

ozdemirburak commented 1 year ago

Hello @belkhoujaons. You can actually use the sources below:

belkhoujaons commented 1 year ago

I submitted a PR please link it with this issue and review it !