News for hackers. Stuff that matters.
Re:My name causes an issue with any booking by kd5bjo on Sunday November 10, 2019 @10:34AM (#21498342)
This is not sufficient if you’re going to localize to languages other than English. In some languages, proper names get declined like other nouns and thus change spelling in different contexts.
Re:My name causes an issue with any booking by detaro on Sunday November 10, 2019 @12:47PM (#21499115)
Are there examples where splitting it in First/Last name (or any other split) would help with that? It seems like that would always either be a problem or something to design around while localizing.
Re:My name causes an issue with any booking by kd5bjo on Monday November 11, 2019 @01:26AM (#21502657)
It’s fundamentally language specific, so any comprehensive solution is going to need to interface with the localization system. Really, names should be keyed by (user, language, tag) triples, where the localization defines the acceptable tags based on language requirements. For example, a single person may need their name stored as:

  en:disp     Eric
  is:disp:nf  Eiríkur
  is:disp:þf  Eirík
  is:disp:þgf Eiríki
  is:disp:ef  Eiríks
Designing a UI to collect this information is left as an exercise for the reader.
Re:My name causes an issue with any booking by dkersten on Monday November 11, 2019 @09:00AM (#21504846)
Since asking a user to enter every possible variant is unwieldy and without doing so, the problem is unsolvable, I’ll stick with my original suggestion of using a single field. Yes, some names will break, but far fewer than if first and last names are required.