@wikimedia/language-data

1.1.7 • Public • Published

Language data and utilities

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.

Dependencies (0)

    Dev Dependencies (3)

    Package Sidebar

    Install

    npm i @wikimedia/language-data

    Weekly Downloads

    136

    Version

    1.1.7

    License

    GPL-2.0-or-later

    Unpacked Size

    438 kB

    Total Files

    30

    Last publish

    Collaborators

    • mvolz
    • lwatz16
    • tchin25
    • egardner
    • ottomata
    • annetee
    • jgiannelos-wmf
    • joakin
    • krinkle
    • jdforrester
    • edg2s
    • volker_e
    • catrope
    • santhosh.thottingal
    • cscott
    • subbu_ss
    • arlolra
    • jdlrobson
    • mateusbs17
    • brightbyte
    • phuedx
    • nrayio
    • jandre3000
    • sbassett29
    • nikerabbit
    • abijeet