Live data from Hacker News

Ask HN: How to handle Asian-style “Family name first” when designing interfaces?

news.ycombinator.com

21–30 of 527 posts

Re: Ask HN: How to handle Asian-style “Family name first” when designing interfaces?

#21
post #20
post #2

Could you just have a single field for name and allow anything in that field? The only downside is you can't do something like "Hi ${FIRST_NAME}" in your emails, but the upside is that it basically handles any name or name order, e.g. Indonesian single names, Spanish names with the mother's surname included, etc.

[deleted]

[deleted]

Re: Ask HN: How to handle Asian-style “Family name first” when designing interfaces?

#22
post #14

Definitely read https://www.kalzumeus.com/2010/06/17/falsehoods-programmers-... if you haven't yet. Then think about what are the requirements your system needs when it comes to names. Does the app need to know what a user's name is at all or is a username enough? Does it need to distinguish the family part of their name for anything? A thing I think is the most general is to just have a Full Name field (min length 1…

Thank you for reminding me of this article!

More people designing applications need to read it.

Re: Ask HN: How to handle Asian-style “Family name first” when designing interfaces?

#23
post #19

Seems more of a stackoverflow question? But: https://github.com/kamranahmedse/design-patterns-for-humans#... https://www.postgresql.org/docs/current/datatype-enum.html I'd have multiple classes handling each one a use-case, and a enum on user's record in order to specify which class to use for each, so that you can compute it from the nationality, but you could also potentially give each user the chance to set it for…

Is it really worth using enum in postgres over a plain string, and optionally a check constraint if you're super concerned about strictness?

[deleted]

Re: Ask HN: How to handle Asian-style “Family name first” when designing interfaces?

#25
post #14

Definitely read https://www.kalzumeus.com/2010/06/17/falsehoods-programmers-... if you haven't yet. Then think about what are the requirements your system needs when it comes to names. Does the app need to know what a user's name is at all or is a username enough? Does it need to distinguish the family part of their name for anything? A thing I think is the most general is to just have a Full Name field (min length 1…

Thank you for reminding me of this article! More people designing applications need to read it.

And read this, you can learn a lot about names from it:

https://studyinthestates.dhs.gov/sevis-help-hub/sevis-basics...

Re: Ask HN: How to handle Asian-style “Family name first” when designing interfaces?

#26

Personal opinion. As an Asian person, don’t overthink this. Just have fields for family name and given name to distinguish between the two. Sure, when there’s a text field saying hello “first name last name” it might be flipped but this shouldn’t be a deal breaker or offensive in any capacity. Worst case is you can have a toggle they can click but from a developer standpoint, that might be over engineering for someth…

Well, if the app is designed for the asia pacific region then last name first name should be default to fit the majority of user's expectation, no?

Re: Ask HN: How to handle Asian-style “Family name first” when designing interfaces?

#27
post #17
post #6

Use a single text field for the full name.

I would not do this. For reasons of respect, you may need to address a person by either their first or last name (with a title). Addressing a person by their full name can come across as rude (I personally find it rude too, e.g. "Hey John R. Brown, this is your order"), so it's useful to split up "given name" and "family name" into 2 fields so that you don't have to depend on name ordering which varies by culture. If…

> I would not do this. For reasons of respect, you may need to address a person by either their first or last name (with a title).

Just add a field for the desired form of address, or a nickname.

> Addressing a person by their full name can come across as rude

Stuffy, Maybe, but rude? Calling people by their first name is rude. Calling people by forms of address which don’t exist is rude.

Re: Ask HN: How to handle Asian-style “Family name first” when designing interfaces?

#28
Not necessary Asian btw. As a Russian I can tell that Russians also may use "family name - given name - father name", usually in official documents.

Though it it also may be just "given - family", as well as any other variation informally. So you wouldn't make a mistake with UI

Re: Ask HN: How to handle Asian-style “Family name first” when designing interfaces?

#29
post #4

One interesting approach would be to use a regex to detect if the name is written in Hanzi, Kanji or the Korean or Vietnamese alphabets and write the name in whatever format is appropriate for the locality. The Asian people I know would be be unsurprised to see their name rendered western style when written using whatever romanization format their native language uses.

You can't do this: what language do you think a name like 金正恩 belongs to, and how do you rule out the others? Given this, what parts do you expect to extract from it?
Post reply on HN