sindresorhus

lcid

Mapping between standard locale identifiers and Windows locale identifiers (LCID)

by sindresorhus

JavaScript

JavaScript100%

Commit activity

Last 12 weeks · 3 commits

Full graph →

Community health

4 of 6 standards met

Community profile →
85
✓README✓License✓Contributing✓Code of Conduct○Issue Template○PR Template
Radiergummi
Incomplete dataClosedIssue

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.

Radiergummi · 4w ago
nikensss

When calling or , the methods can return but the types were not indicating that. All tests pass. This is the first time I am contributing to an open source package. I probably forgot a few things. Just let me know and I will happily comply. :) Fixes #14

nikensss · 3y ago
Structured data for AI agents

Repository: sindresorhus/lcid. Description: Mapping between standard locale identifiers and Windows locale identifiers (LCID) Stars: 39, Forks: 11. Primary language: JavaScript. Languages: JavaScript (100%). License: MIT. Latest release: v5.1.0 (4w ago). Open PRs: 0, open issues: 0. Last activity: 4w ago. Community health: 85%. Top contributors: sindresorhus, CTCSU, coreyfarrell, BendingBender, mwanago, nikensss, Richienb, Taaqif.