---
id: "glottocode"
kind: "datatype"
status: "draft"
is_pii: false
categories: ["common", "science"]
langs: ["common"]
quality: 90
url: "https://registry.apicrafter.io/datatype/glottocode"
---

# Glottocode (Glottolog language identifier) (`glottocode`)

> **Draft.** Draft records have not been reviewed yet and may be incomplete or wrong; do not treat them as authoritative for legal or compliance decisions.

Identifier of a language, dialect or language family in the Glottolog catalogue. It has four lowercase letters or digits, usually taken from the name, and four digits. Unlike ISO 639-3 (iso639_3) it also covers families and dialects.

- Personal data (PII): no
- Categories: Common (common), Scientific (science)
- Countries: global
- Languages: Common to most languages (common)
- Classification: identifier

## Detection

Regular expression (Python `re`):

```
^[a-z0-9]{4}\d{4}$
```

## Examples

- `stan1293` — English
- `russ1263` — Russian
- `sign1238` — Pseudo-family of sign languages
- `stan129` (invalid example) — Three digits

## Mappings

- wikidata: `P1394`

## Translations

- ru: Код языка Glottolog (глоттокод)

## Sources

- doc: <https://glottolog.org/glottolog/glottologinformation>
- wikidata: <https://www.wikidata.org/wiki/Property:P1394>

## Quality

Score 90/100. Missing: detector coverage.

JSON: <https://registry.apicrafter.io/api/v1/datatypes/glottocode.json> · Edit: <https://github.com/apicrafter/metacrafter-registry/edit/main/data/datatypes/any/common/glottocode.yaml>
