Amir E. Aharoni 655657fbc5 Updates for the unique autonyms test (#383)
* Move the unique autonyms test to the "autonyms" section

It was in the "redirects" section, and it makes
much more sense for it to be in the "autonyms" section.

* Case-insensitive test for unique autonyms

Autonyms for some languages are very similar or even identical,
but they should be unique in this system so that users
would be able to find the correct language unambiguously.

It's conceivable that someone (including myself) would add
an autonym that will be different only in its usage of
capital letters. This change modifies the test for
unique autonyms so that such cases would be prevented.

---------

Co-authored-by: SrishAkaTux <ssethi@wikimedia.org>
2024-09-17 17:23:07 -07:00
2024-09-17 17:09:33 -07:00
2021-09-23 14:11:35 +03:00
2022-01-18 13:12:47 +02:00
2020-05-25 09:25:51 +03:00
2020-05-18 15:45:15 +03:00
2024-07-11 10:19:21 -04:00
2023-04-18 14:33:46 +03:00

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.

Description
Languages
PHP 58%
JavaScript 42%