|
пре 3 недеља | |
---|---|---|
.. | ||
index.d.ts | пре 3 недеља | |
index.js | пре 3 недеља | |
lcid.json | пре 3 недеља | |
lcid.json.d.ts | пре 3 недеља | |
license | пре 3 недеља | |
package.json | пре 3 недеља | |
readme.md | пре 3 недеља |
Mapping between standard locale identifiers and Windows locale identifiers (LCID)
Based on the mapping used in the Python standard library.
The mapping itself is just a JSON file and can be used anywhere.
$ npm install lcid
const lcid = require('lcid');
lcid.from(1044);
//=> 'nb_NO'
lcid.to('nb_NO');
//=> 1044
lcid.all;
//=> {'af_ZA': 1078, …}