GitShow/sindresorhus/lcid
sindresorhus

lcid

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

by sindresorhus
Star on GitHubForknpm

JavaScript

39 stars11 forks8 contributorsQuiet · 2y agoSince 2015v5.0.0MIT

Meet the team

See all 8 on GitHub →
sindresorhus
sindresorhus18 contributions
CTCSU
CTCSU1 contribution
coreyfarrell
coreyfarrell1 contribution
BendingBender
BendingBender1 contribution
mwanago
mwanago1 contribution
nikensss
nikensss1 contribution
Richienb
Richienb1 contribution
Taaqif
Taaqif1 contribution

Languages

View on GitHub →
JavaScript100%

Commit activity

Last 12 weeks · 0 commits

Full graph →

Community health

4 of 6 standards met

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

Recent PRs & issues

Quiet · 1 discussion · Last activity 2y ago
See all on GitHub →
Radiergummi
Incomplete dataOpenIssue

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 · 1y ago

Recent fixes

View closed PRs →
nikensss
fix: return types should include undefinedMergedPR

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
nikensss
Return type of `from` and `to` do not include `undefined`.ClosedIssue

Those two methods can return since any or any can be passed in. !Screenshot 2023-01-16 at 13 20 13 I opened a PR with a proposed solution here.

nikensss · 3y ago
CTCSU
Missing some of the up-to-date LCIDsClosedIssue

Hi, I compared the Microsoft LCID standards and found some of the LCID don't exist in this project. For example en-sg, which is Singapore English with the LCID 18441. Microsoft LCID List

CTCSU · 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.0.0 (2y ago). Open PRs: 0, open issues: 1. Last activity: 2y ago. Community health: 85%. Top contributors: sindresorhus, CTCSU, coreyfarrell, BendingBender, mwanago, nikensss, Richienb, Taaqif.

·@ofershap

Replace github.com with gitshow.dev