JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 29305
  • Score
    100M100P100Q141858F
  • License MIT

Windows Language Code Identifier (LCID) for JavaScript

Package Exports

  • windows-locale
  • windows-locale/index.json

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (windows-locale) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

Windows Locale

Node Version Downloads Travis

Windows Language Code Identifier (LCID) for JavaScript

Installation

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

Example

const locale = require('windows-locale')

console.log(locale['pt-br'])
/*
{
    language: 'Portuguese',
    location: 'Brazil',
    id: 1046,
    tag: 'pt-BR',
    version: 'ReleaseA'
}
*/

Documentation

locale

List of Languages

locale[language]

Get Windows Language Code Identifier (LCID) information

  • language (String)
  • location (String || Null)
  • id (Number)
  • tag (String)
  • version (String)

Source

NOTE: Source is winprotocoldoc.blob.core.windows.net/productionwindowsarchives/MS-LCID/%5bMS-LCID%5d.pdf

Dependencies

None

Dev Dependencies

  • pdf2json: A PDF file parser that converts PDF binaries to text based JSON, powered by porting a fork of PDF.JS to Node.js

Contributors

Pull requests and stars are always welcome. For bugs and feature requests, please create an issue. List of all contributors.

License

MIT © Tiago Danin