sindresorhus/lcid

Incomplete data

Open

#15 建立於 2025年5月29日

在 GitHub 查看
 (1 留言) (0 反應) (0 負責人)JavaScript (39 star) (11 fork)user submission
enhancementhelp wanted

描述

The dataset used seems to be both incomplete and unnecessarily limited: I just extracted the current list of locales from the Microsoft LCID 16.0 reference document, which contains 862 individual locales—see this gist for the full JSON output.

It contains separate fields for the language name ("English"), the location ("United States"), the LCID ID ("1033"), and the locale tag ("en-US"). Short locales ("en") have the location set to null; locales without an assigned LCID have the ID set to null.
Using this info, you can get a lot more information that might be useful to applications, at the cost of a larger JSON file.

Would you be open to incorporating that data set into this package? Might even be sensible to just have several conditional exports with different levels of included details.

貢獻者指南