DOCUMENTATION · HOW IT WAS BUILT

Language families

The goal#

The galaxy view places every language in Lanfrica's catalogue on one circle, grouped by family, so that related languages sit side by side. For each of the 2,382 languages it needs:

  • its family and subfamily, shown in the language panel and the hover card as "family › subfamily";
  • its kind: language, sign language, creole or pidgin, isolate, register or constructed, or unclassified;
  • the arm of the galaxy it sits in;
  • a fixed place on the circle, its spoke order, which does not move when languages are added.

They are in tables/language_families.csv, written by scripts/families.py (Code, tables and releases).

Glottolog#

Families come from Glottolog 5.4 (Hammarström et al. 2026). The catalogue already takes its families from Glottolog, and 2,380 of the 2,382 languages have a glottocode that is in 5.4. Glottolog is open (CC BY 4.0), versioned, and gives the whole tree from a family down to each language, which the order on the circle needs.

Glottolog joins languages into a family only where their relationship has been demonstrated. It has no Niger-Congo, Nilo-Saharan or Khoisan: Atlantic-Congo, Mande, Kru, Dogon and Ijoid are separate families, and so are Nilotic, Central Sudanic, Saharan and the others. Atlantic-Congo alone holds 1,444 of the languages, 61%.

We chose Glottolog over these traditional phyla. The catalogue uses it, it covers every language, and no open source gives the traditional phyla for every language: we would have had to assign Glottolog's families to them by hand.

Two languages needed a fix. Ga has no glottocode in the catalogue, so we use gaaa1244. Kongo's glottocode, core1256, is not in Glottolog 5.4, so we use its Kikongo Language Cluster, kiko1235.

Glottolog was read once, from its release of 10 November 2026. data/glottolog_languoids.csv keeps only what the table needs: the 3,927 languoids on the paths from a family down to our languages.

Family and subfamily#

The family is Glottolog's top level. The subfamily is the next level down, and it becomes the band just inside the arm.

One exception: where one branch holds 90% or more of a family's languages, the subfamily is taken from the level below that branch, because a band that covers almost the whole arm shows nothing. Volta-Congo holds 95% of Atlantic-Congo's languages, so Yoruba's subfamily is Benue-Congo, not Volta-Congo, and Atlantic-Congo divides into Benue-Congo (1,023 languages), North Volta-Congo (257), Kwa (84), North-Central Atlantic (47) and smaller groups. The same rule applies in Khoe-Kwadi, Surmic, Ijoid, Maban, Austronesian and the sign languages. A branch that near-whole is never a subfamily, so a language right under it has none: 30 of the 50 sign languages sit right under Glottolog's "L1 Sign Language".

Benue-Congo still holds 71% of Atlantic-Congo. Narrow Bantu is three levels below it.

146 languages have no subfamily. They sit in their family's arm.

The levels below the subfamily are not drawn. They are in path, which orders the languages so that close relatives sit next to each other.

Creoles and pidgins#

Glottolog files a creole under the family of the language most of its words come from: Krio and Nigerian Pidgin are under Indo-European, through English. It keeps pidgins apart, in a group of their own.

The galaxy gives creoles and pidgins one arm, Creoles and pidgins, of 32 languages: Glottolog's 18 pidgins and the 14 creoles it files under Indo-European. Their family is "Creole or pidgin" and their subfamily is the language they are based on: English-based (7), French-based (6), Portuguese-based (6), Swahili-based (3), Arabic-based and Hausa-based (2 each), and others. For the creoles, Glottolog's own placement stays in path. Indo-European keeps Afrikaans, Oorlams and Nouchi, and goes to Other.

Sango, Kituba and Lingala, sometimes called creoles, stay where Glottolog has them, in Atlantic-Congo.

Sign languages#

The 50 sign languages have an arm of their own, Sign languages, with the family "Sign language". Their subfamilies are Glottolog's: LSFic (14 languages, related to French Sign Language), BSLic (3, related to British Sign Language) and Arab Sign (2).

Languages without a family#

  • Isolates (15), such as Hadza, Sandawe, Bangime, Laal and Shabo, have the family "Isolate".
  • Glottolog's placeholder groups. Its "Bookkeeping" group holds 29 of our languages: entries Glottolog has retired as duplicates or spurious, which the catalogue still lists, such as Rufiji and Ngombe. "Unattested" holds 13, known only by name, and "Unclassifiable" 16. The 8 unattested languages that Glottolog files as "Atlantic-Congo (Unattested)" join Atlantic-Congo. The other 50 have the kind and family "unclassified".
  • Speech registers and constructed languages (7) have the kind "register or constructed". The speech registers are Camtho and Flaaitaal, urban registers, and Medefidrin, Agbirigba and La'bi, secret or ritual languages; their family is "Speech register". The constructed languages are Afrihili, and N'Ko, which Glottolog files as artificial although it is the written standard of Manding; their family is "Constructed".

The arms#

An arm narrower than about 4° has no room for its label. Families with fewer than 10 languages therefore share one arm, Other, with the isolates, the unclassified languages and the registers and constructed languages. 19 families and groups have arms of their own. Other holds 157 languages: 85 from 21 small families, 50 unclassified, 15 isolates and 7 registers and constructed languages.

Clockwise from the top, the arms are ordered so that groups the older phyla joined sit next to each other, though the phyla are not shown:

  1. Atlantic-Congo, Mande, Kru, Dogon, Ijoid and Heibanic (Kordofanian), once Niger-Congo;
  2. Nilotic, Surmic, Central Sudanic, Nubian, Saharan, Songhay and Maban, once Nilo-Saharan;
  3. Afro-Asiatic, then Ta-Ne-Omotic;
  4. Khoe-Kwadi, once Khoisan;
  5. Austronesian, Creoles and pidgins, Sign languages, and Other last.

Inside Other, the small families are grouped the same way:

  • the Kordofanian families, once Niger-Congo (Katla-Tima, Narrow Talodi, Rashad, Tegem);
  • those once Nilo-Saharan, from Dajuic to Temeinic;
  • the Omotic families, once Afro-Asiatic (Blue Nile Mao, Dizoid, South Omotic);
  • those once Khoisan (Kxa, Tuu);
  • then Indo-European.

Kadugli-Krongo, which Greenberg put with Kordofanian and most later work with Nilo-Saharan, goes with Nilo-Saharan. After the small families come the isolates, the constructed languages, the speech registers and the unclassified languages, each kept together.

A language's arm is given once and kept. If it were worked out each month, a family that grew past 10 languages would jump to its own arm, and every arm after it would move. A new language whose family has no arm goes to Other.

The spoke order#

spoke_order is the language's place on the circle as an angle: a whole number from 0 to 35,999, in hundredths of a degree clockwise from the top. It is an angle, not a rank. With a rank from 1 to 2,382, adding one language would change every arm's width and move every language. On a fixed scale of angles, a new language takes an unused number between its neighbours, and nothing else moves.

The first numbering lays out the circle:

  • a 7° gap at the top, and 0.9° between arms;
  • each arm's width in proportion to its number of languages, with at least 4°. Atlantic-Congo spans 188°, Afro-Asiatic 42°, Other 20° and Mande 10°;
  • inside an arm, the languages evenly spaced: languages with no subfamily first, then by path. Every arm, and every subfamily inside it, is one unbroken run of numbers, so the galaxy can draw each as one arc;
  • at least 13 numbers between two neighbours, so there are spare numbers for languages added later inside every arm and every subfamily.

The numbering is kept in data/language_spokes.csv. Later runs only add to it: a new language takes the number halfway between its two neighbours in the same order. A language that leaves the catalogue keeps its number in the file, so no number is used twice. The first numbering was made on 21 November 2026 and becomes fixed with the first release that shows the galaxy.

Decisions#

Date Decision By
21 November 2026 Families come from Glottolog, not the traditional phyla Chris
21 November 2026 The subfamily skips a branch that holds 90% or more of its family Chris
21 November 2026 A branch that near-whole is never a subfamily: a language right under it has none in building it, from the rule above
21 November 2026 Creoles and pidgins share one arm, by the language they are based on Chris
21 November 2026 Unattested languages that Glottolog files under a family join it; the other placeholders are unclassified Chris
21 November 2026 Speech registers and constructed languages have their own kind, "register or constructed", in Other Chris
21 November 2026 The arms are ordered so that groups the older phyla joined sit side by side Chris
21 November 2026 Heibanic, a Kordofanian family, sits with the groups once in Niger-Congo Chris
21 November 2026 Inside Other, the small families are grouped by old phylum too Chris
21 November 2026 Kadugli-Krongo goes with Nilo-Saharan, and the isolates stay together as isolates in building it
21 November 2026 Ga takes gaaa1244; Kongo takes the Kikongo Language Cluster, kiko1235 in building it