Skip to content

Should the name-order docs say a list can mix orders, and show two_given_names for Chinese names? (Lim Guan Eng under FAMILY_FIRST gives given Guan, middle Eng) #1183

Closed

Description

@derek73

docs/customize.rst's "Family-first name order" section, since #1162, says name_order describes the data's source and not the bearer's language. Two things about Chinese names written in Latin script that it doesn't cover yet.

1. A source can mix both orders

The section assumes a source has one order. Singapore's Parliament list of current MPs doesn't (parliament.gov.sg, 107 names, 77 with a Chinese surname; measured 2026-11-08 on master ccaf6ad):

Shape Names default order FAMILY_FIRST, two_given_names=True
given first: Lawrence Wong, Desmond Lee 27 27 right 0 right
family first: Lee Hsien Loong, Chan Chun Sing 33 0 right 32 right
an English name, then the Chinese name family first: Alex Yam Ziming 13 0 right 0 right (#1181)
the English name last: Chua Kheng Wee Louis 3 0 right 3 right (the English name lands in middle)

No one setting reads the list. The order belongs to each name, and nothing in the spelling tells it (Sim Ann is family first, Alvin Tan given first). A caller with a list like this needs the order from somewhere else: a separate field, or capitals where the source writes them (#659; Hong Kong's LegCo marks every family name that way).

2. Spaced two-syllable given names need two_given_names

Singapore and Malaysia write the two syllables of a Chinese given name as two words. Under FAMILY_FIRST alone the second one is a middle name:

Input policy given middle family
Lim Guan Eng FAMILY_FIRST Guan Eng Lim
Lim Guan Eng FAMILY_FIRST, two_given_names=True Guan Eng '' Lim

The "Names with a compound given name" section shows two_given_names only with Spanish names (Juan Carlos Pérez), so a reader with Chinese names has no way to find it.

Proposal

  • In "Family-first name order", a paragraph after the one Say that name_order describes the data's source, not its language #1162 added: a source can also mix orders, name by name, with the Singapore figures above as the example. The order then has to come from outside the name.
  • A doctest of Lim Guan Eng under FAMILY_FIRST with two_given_names=True, in whichever of the two sections fits, cross-referenced from the other.

Activity

  1. self-assigned this
    on Nov 8, 2026
  2. added
    docs
    name-order
    on Nov 8, 2026
  3. added this to the 3.2 milestone on Nov 19, 2026
  4. derek73 commented on Nov 19, 2026

    @derek73
    OwnerAuthor

    Taken for 3.2 (decided 2026-11-19), docs only. Both gaps still stand on master 12b568f8: "Names with a compound given name" (now in docs/policy.rst) shows two_given_names with Spanish names alone, and nothing says a list can mix orders name by name.

    What the change holds

    1. A paragraph on mixed lists, with the Singapore figures above. The order then has to come from outside the name, and Parser.suggest rightly suggests nothing for such a list.
    2. A Chinese example of two_given_names under a family-first order, as a doctest, cross-referenced from the name-order section. With an invented name: Tan Wei Ming under FAMILY_FIRST reads given Wei, middle Ming; with the switch on, given Wei Ming.
    3. A pointer to Parser.suggest for a list written in one order: it decides the order and does not suggest this switch. Tried on eight invented names written family first: it suggests FAMILY_FIRST, in mixed case and in capitals; on a list mixing both orders it suggests nothing.
    4. Malaysia as a second example of "the order describes the source": Chinese candidates in Malaysia's election lists are written family first in 347 of 348 names (counted 2026-11-19, my-candidates).

    Whether suggest should propose two_given_names for such a list is a candidate on #1452 and stays there.

  5. derek73 commented on Nov 19, 2026

    @derek73
    OwnerAuthor

    The same docs change carries #1402's outcome (decided 2026-11-19, closed as left as it is): rules/O9's Accepted list and the capitals_as_family section of the user docs say a bare title in capitals is read as the family where nothing else in the name is in capitals (DR Anna Berg), such a name not being in the switch's format, and decisions/O9's Open: line is closed with a dated entry pointing at #1402's counts.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

docsname-order

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions