securesocial icon indicating copy to clipboard operation
securesocial copied to clipboard

Proposal: optional single name field

Open fernandoacorreia opened this issue 11 years ago • 2 comments

A lot of the codebase is hardwired for the common English name structure of "first name" and "last name". See example 1, example 2.

This anglocentrism is not a good cultural fit for localized applications. For reference, see Falsehoods Programmers Believe About Names.

That could be worked around with a custom handleSignUp() controller method, but that method's logic is somewhat complex and it would be hard to keep the custom method updated as the framework evolves.

I propose including an option to use only a "name" field, which would be the name the person wants to be called. This is different from the user name. For instance, a woman with full name "Maria Aparecida da Conceição da Silva e Souza" could choose "Cida Conceição" or "Maria Aparecida Silva e Souza".

This "single name" option would be used in applications where it's irrelevant to try to split names in "first" and "last" parts.

When the option is disabled (the default), everything would be as it is now, preserving compatibility and familiarity with the English culture.

fernandoacorreia avatar Nov 22 '13 18:11 fernandoacorreia

+1

mikesname avatar Dec 15 '13 11:12 mikesname

+1

pichsenmeister avatar Jan 09 '14 11:01 pichsenmeister