mirror of
https://github.com/shaka-project/shaka-player.git
synced 2026-06-14 15:56:38 +03:00
7331e01064
This PR helps reducing bundle size. All changes were part of https://github.com/shaka-project/shaka-player/pull/8520
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"];