Windows Language Code Identifier (LCID) for JavaScript by Tiago Danin.
Windows Language Code Identifier (LCID) for JavaScript
Module available through the npm registry. It can be installed using the npm
or yarn
command line tools.
# NPM
npm install windows-locale --save
# Or Using Yarn
yarn add windows-locale
const locale = require('windows-locale')
console.log(locale['pt-br'])
/*
{
language: 'Portuguese',
location: 'Brazil',
id: 1046,
tag: 'pt-BR',
version: 'ReleaseA'
}
*/
locale
List of Languages
locale[language]
Get Windows Language Code Identifier (LCID) information
NOTE: Source is winprotocoldoc.blob.core.windows.net/productionwindowsarchives/MS-LCID/%5bMS-LCID%5d.pdf
None
Pull requests and stars are always welcome. For bugs and feature requests, please create an issue. List of all contributors.
JavaScript
2