For example for spanish we currently have:
firstname : juan
lastname : gonzalez
middlename : eugenio iglesias
However, the main last name is iglesias (the first last name)
Proposal: use https://nationalize.io to predict which country/language a name is from and implement specific rules for those.
Caveat: For spanish names, sometimes people give just the first lastname and sometimes both. So it is not obvious how to handle it automatically
For example for spanish we currently have:
However, the main last name is
iglesias(the first last name)Proposal: use https://nationalize.io to predict which country/language a name is from and implement specific rules for those.
Caveat: For spanish names, sometimes people give just the first lastname and sometimes both. So it is not obvious how to handle it automatically