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

How to use CrossLinked with latin names? #20

Closed
iec989 opened this issue Dec 7, 2022 · 3 comments
Closed

How to use CrossLinked with latin names? #20

iec989 opened this issue Dec 7, 2022 · 3 comments

Comments

@iec989
Copy link

iec989 commented Dec 7, 2022

In Spain and Latin America people have 2 surnames, their father's and mother.

For instance, Jose Perez Rodriguez, José would be the name, and then Perez the first surname, and Rodriguez the second surname.

For the email addresses, we generally use name.surname1@company.com (jose.perez@company.com). Right now, with the current logic, it is taking name.surname2@company.com (jose.rodriguez@company.com). I assume that CrossLInked considers the surname1 as the second part of the firstname.

Is there any command option to take the first 2 strings as the firstname+surname, ignoring the 3th string?

@iec989
Copy link
Author

iec989 commented Dec 7, 2022

Pull requests created from iec989/CrossLinked

@m8sec
Copy link
Owner

m8sec commented Jun 15, 2023

Hi @iec989,

Appreciate your patience on this. I am just QA'ing a fix for this issue and should be pushed shortly.

You will now have the option to choose the position of the first and last names in the naming format:

>>> python3 crosslinked.py -f '{0:first}.{-2:last}@example.com' Example

Jose Perez Rodriguez  =  jose.perez@example.com

m8sec added a commit that referenced this issue Jun 15, 2023
@m8sec
Copy link
Owner

m8sec commented Jun 15, 2023

I think we can close this now, but let me know if theres any issues.

And thank you for submitting a PR 🙏

@m8sec m8sec closed this as completed Jun 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants