Skip to content

Read two unhyphenated family names under locales.HR and locales.SL, as CS and SK do (Ana Puž Kukuljan gives middle Puž under locales.HR) #1190

Closed

Description

@derek73

Croatian and Slovenian married women often write two surnames without a hyphen, as Czech and Slovak women do. locales.CS and locales.SK read them whole, since they turn on two_family_names (rules/O6); locales.HR and locales.SL read the first as a middle name (measured on master ccaf6ad):

Input pack given middle family
Jana Bittó Cigániková SK Jana '' Bittó Cigániková
Ana Puž Kukuljan HR Ana Puž Kukuljan
Elena Zavadlav Ušaj SL Elena Zavadlav Ušaj

decisions/vocabulary-model's 2026-10-30 phase 3f amended entry, which turned the switch on for CS and SK, left these two for want of data: "SL and HR read one family name, no population of theirs measured."

Measured (2026-11-08), each pack against itself with two_family_names on:

Population one family name with two_family_names fixed / broken
Croatian Sabor (OpenSanctions hr_sabor, 149), family right 140 148 9 / 1
Slovenian National Assembly (si_dz_rs, 90), family right 84 89 6 / 1
ORCID HR (15,547), all boxes agreeing 88.42% 98.46% 1,760 / 200
ORCID SI (7,801), all boxes agreeing 90.42% 97.64% 724 / 161
PatentsView HR (879), all boxes agreeing 92.04% 91.58%
PatentsView SI (1,752), all boxes agreeing 88.24% 87.39%

The ORCID rows are config_diff.py score plain:HR 'plain:HR@two_family_names=1' plain:SL 'plain:SL@two_family_names=1' --group HR --group SI (capped at 20,000 records a group). HR and SL score the same on both countries' records, so the switch is what moves them.

The cost is CS and SK's: a name with two given names reads the second as a family name. In each parliament it is the one break (Sanda Livia Maduna, Janez Jože Olovec give family Livia Maduna, Jože Olovec), and it is what PatentsView's small dip holds. A family comma keeps both readings, rules/O6 standing down there.

Proposal

hr.toml and sl.toml each gain a [rules] table, two_family_names = true, compiled into the pack's policy patch as cs.toml's and sk.toml's are (PACK_RULES gaining hr and sl), and each pack declares its DEVIATES through _locale.deviates_by_two_family_names. The default does not move.

Questions

  • Does the CS/SK entry's open given-name list (rules/O6's veto) apply here too, and is there a Croatian or Slovenian source for one?
  • Is ORCID's gain enough on its own, or should a local corpus of these countries be measured first, as cz-candidates was for Czech?

Activity

  1. self-assigned this
    on Nov 8, 2026
  2. added
    name-order
    locale-packs
    and removed on Nov 8, 2026
  3. modified the milestone: 3.1 on Nov 11, 2026
  4. changed the title [-]Should `locales.HR` and `locales.SL` read two family names, as CS and SK do? (`Ana Puž Kukuljan` gives middle `Puž` under `locales.HR`)[/-] [+]Read two unhyphenated family names under `locales.HR` and `locales.SL`, as CS and SK do (`Ana Puž Kukuljan` gives middle `Puž` under `locales.HR`)[/+] on Nov 21, 2026
  5. added this to the 3.2 milestone on Nov 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

enhancementlocale-packsname-order

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions