Repository navigation
Description
Under two_family_names the family reads the same with or without a family comma, and the surname views do not (measured on master c878443, Parser(policy=Policy(two_family_names=True))):
Juan García Márquez → family 'García Márquez', surname1 'García', surname2 'Márquez'
García Márquez, Juan → family 'García Márquez', surname1 'García Márquez', surname2 ''
rules/R10 (the second-surname view) accepts this: "A family comma marks nothing, even where the part before it holds two family names, since nothing in it tells them from one compound name." rules/O6 (two family names) stands down at a family comma, which "decides by itself".
The case for filling them. The compound-name doubt is the same without the comma, and there the switch already decides it: Andrew Lloyd Webber reads surname1 'Lloyd', surname2 'Webber' under the switch, where Lloyd Webber, Andrew reads surname1 'Lloyd Webber'. The caller has declared that a family holds two names. The comma adds certainty about where the family ends, which is the half the switch otherwise takes on trust.
How often (2026-11-18, orcid-researchers, the free-text credit name, holders in 20 Spanish-speaking countries, read under locales.ES): 2,005 credit names are written with one comma; 811 have two words before it; in 607 those two words are the holder's own family box. All 607 read surname2 ''. ORCID's credit names lean towards bibliographic bylines, where the comma form is common.
Proposed. Under two_family_names, where the part before a family comma holds exactly two name units, the first makes surname1 and the second surname2, as the comma-less name reads them. No field moves: family is already both.
Questions.
- Which heads count as two units?
García Márquezdoes.de la Vega Ruizreads as one unit without the comma too (Juan de la Vega Ruiz→ surname2 ''), so it would stay one. A head of three words (García Márquez López, Juan) has no comma-less reading to follow. - Does the given-name veto apply? Without a comma it keeps
José Luis Pérezfrom readingLuisas a surname. Before a comma both words are family by the writer's own mark, so a listed given name there (Martín López, Ana) should arguably still split. - Is this the view rule reading the comma's family by itself, or O6 marking the units? The view reads O6's mark today, and O6 does not run at a family comma. Where the change lands was not checked in the code.
- The same Accepted clause leaves a connective and a hyphen empty (
Ortega y Gasset,García-López), which decisions/R10 holds as an open question with no issue. Those are marked by the writer even with the switch off. Decide them here, or apart? - With the switch off, nothing changes:
Lloyd Webber, Andrewstays one unit.
Because: a caller who asks for the first surname should get the same answer for one person written two ways.
Activity
derek73 commentedon Nov 19, 2026
Decided 2026-11-19.
The principle: the two writings of one name return the same units wherever they yield the same family. The division is a function of the family's words alone, and the comma path and the comma-less path both call it.
The five questions in order:
García Márquez, JuanandRuiz de la Vega, Juandivide.de la Vega Ruiz, Juandivides oncesurname1andsurname2leave a two-surname family whole where it opens with a particle or followsMaría del Carmen(Juan de la Vega Ruizgives surname2 '') #1479 divides the comma-less form. A head of three words (García Márquez López, Juan) is left whole: comma-less,Garcíareads as a middle name and the family isMárquez López, so the two writings share no family to divide alike.Martín López, Anadivides, thoughAna Martín Lópezunderlocales.ESkeepsMartína middle name. The families differ there, so the principle does not bind.Ortega y Gasset,García-López) are decided apart. They are marked by the writer with the switch off too.With #1479, one change. Built apart, the comma form would copy the comma-less form's gaps. The test holds the two writings to the same division for every head whose family is the same.
locales.ESturns the switch on, so the views move for callers of the Spanish packs, and of the Portuguese ones once #1453 lands; the release note says so.derek73 commentedon Nov 19, 2026
Decided 2026-11-19, on PR #1485's questions.
Ana GARCÍA LÓPEZundercapitals_as_familyandtwo_family_names). It follows from the principle, the division being a function of the family's words. Where rules/O9 has taken the wrong words as the family the views follow that reading and add no error of their own.locales.ES): each was a wrong division before, a lone particle or connective counted as a surname among them.Juan García de) stays the second unit, as it read before. Nobody writes it.Record the four questions the PR raised as decided (#1456, #1479)
State the decided trailing particle in rules/O6 and its Standing line (…
Divide a family of two surnames by its own words, behind a comma too (#…