Files
shaka-player/third_party/language-mapping-list
Joey Parrish 13f3cc3922 fix: Force inclusion of third-party license headers
This forces the inclusion of the following license headers from
third-party code:
 - language-mapping-list (Copyright 2013 Ali Al Dallal)
 - goog-uri (Copyright 2006 & 2008 The Closure Library Authors)

The Closure headers have been shortened, since they use the same
Apache-2.0 license as Shaka Player.  The other license has been left
in its full form.

Issue #2638

Change-Id: Idea7c0f2cb9eb8039eeb3f64fe5cc27e7cb78006
2020-06-09 16:14:38 -07:00
..
2018-11-16 14:40:37 -08:00
2018-11-16 14:40:37 -08:00

language-mapping-list

List of all the known languages in their English and Native name with locales.

There are over 200 languages available in the list.

$ npm install langmap

Usage:

var langmap = require("langmap");

"Native" => English (US)
var native = langmap["en-US"]["nativeName"];
"Native" => ภาษาไทย
var native = langmap["th"]["nativeName"];
"English" => Thai
var native = langmap["th"]["englishName"];