Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
lists
test
.gitignore
.travis.yml
LICENSE
README.md
index.js
package.json

README.md

localelist

Build status

Support for mapping between locale and the status. Easily extend by adding a locale file you want to use

Install

Install with npm:

npm install locale-list

API - Queries

var ll = require('locale-list');

ll.shorten('ja_JP');         // => 'ja'
ll.toArray('ja_JP');         // => ['ja', 'ja_JP']
ll.data('ja_JP', 'ja');      // => '日本語 日本'
ll.list()                    // => ['ja_JP', 'en_US', ...]

extend locales

add or change file in "lists" directory 
Something went wrong with that request. Please try again.