mirror of
https://github.com/shaka-project/shaka-player.git
synced 2026-06-15 16:06:41 +03:00
13f3cc3922
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
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"];