wikimedia/language-data

Language data and utilities.

1.1.8 2024-07-12 12:39 UTC

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.