wikimedia/language-data

Language data and utilities.

1.1.13 2026-04-15 15:55 UTC

Requires

  • php: >=8.1

Suggests

None

Provides

None

Conflicts

None

Replaces

None

GPL-2.0-or-later 197ccd3da733b7d7ba4657a5014342815daeaa18

  • Amir E. Aharoni <amir.aharoni.woop@mail.huji.ac.il>
  • Kartik Mistry
  • Niklas LaxstrΓΆm <niklas.laxstrom.woop@gmail.com>
  • Santhosh Thottingal <santhosh.thottingal.woop@gmail.com>
  • Abijeet Patro <abijeetpatro.woop@gmail.com>

l10nlocalizationinternationalizationcldrcldr-data


README

πŸ‘ npm
πŸ‘ node-build
πŸ‘ php-build

This library contains language related data, and utility libraries written in PHP and Node.js to interact with that data.

The language related data comprises of the following,

  1. The script in which a language is written
  2. The script code
  3. The language code
  4. The regions in which the language is spoken
  5. The autonym - language name written in its own script
  6. The directionality of the text

This data is populated from the current version of CLDR supplemental data and various other sources.

Documentation

  1. Full documentation
  2. Using the PHP library
  3. Using the Node.js library
  4. Adding Languages

Release schedule

Similar to MLEB, this library will have a quarterly release schedule, and will be released along with MLEB. Intermediate releases will be made for important bug fixes.

Changelog

The full changelog is available in CHANGELOG.md.