Skip to content

Commit

Permalink
Add script codes, not yet used
Browse files Browse the repository at this point in the history
  • Loading branch information
snomos committed Oct 25, 2023
1 parent a87ed31 commit fc7d568
Showing 1 changed file with 230 additions and 0 deletions.
230 changes: 230 additions & 0 deletions assets/js/langtable.js
Original file line number Diff line number Diff line change
Expand Up @@ -7973,6 +7973,236 @@ const code2langname = {
"core": "Giella Core",
}

// source: https://unicode.org/iso15924/iso15924.txt
// command to fetch and format for directly pasting in below:
// curl https://unicode.org/iso15924/iso15924.txt | grep -v '^#' | \
// grep -v '^$' | cut -d';' -f1,3 | sed -e 's/;/": "/g' -e 's/^/ "/g' -e 's/$/",/g'
const code2scriptname = {
"Adlm": "Adlam",
"Afak": "Afaka",
"Aghb": "Caucasian Albanian",
"Ahom": "Ahom, Tai Ahom",
"Arab": "Arabic",
"Aran": "Arabic (Nastaliq variant)",
"Armi": "Imperial Aramaic",
"Armn": "Armenian",
"Avst": "Avestan",
"Bali": "Balinese",
"Bamu": "Bamum",
"Bass": "Bassa Vah",
"Batk": "Batak",
"Beng": "Bengali (Bangla)",
"Bhks": "Bhaiksuki",
"Blis": "Blissymbols",
"Bopo": "Bopomofo",
"Brah": "Brahmi",
"Brai": "Braille",
"Bugi": "Buginese",
"Buhd": "Buhid",
"Cakm": "Chakma",
"Cans": "Unified Canadian Aboriginal Syllabics",
"Cari": "Carian",
"Cham": "Cham",
"Cher": "Cherokee",
"Chis": "Chisoi",
"Chrs": "Chorasmian",
"Cirt": "Cirth",
"Copt": "Coptic",
"Cpmn": "Cypro-Minoan",
"Cprt": "Cypriot syllabary",
"Cyrl": "Cyrillic",
"Cyrs": "Cyrillic (Old Church Slavonic variant)",
"Deva": "Devanagari (Nagari)",
"Diak": "Dives Akuru",
"Dogr": "Dogra",
"Dsrt": "Deseret (Mormon)",
"Dupl": "Duployan shorthand, Duployan stenography",
"Egyd": "Egyptian demotic",
"Egyh": "Egyptian hieratic",
"Egyp": "Egyptian hieroglyphs",
"Elba": "Elbasan",
"Elym": "Elymaic",
"Ethi": "Ethiopic (Geʻez)",
"Gara": "Garay",
"Geok": "Khutsuri (Asomtavruli and Nuskhuri)",
"Geor": "Georgian (Mkhedruli and Mtavruli)",
"Glag": "Glagolitic",
"Gong": "Gunjala Gondi",
"Gonm": "Masaram Gondi",
"Goth": "Gothic",
"Gran": "Grantha",
"Grek": "Greek",
"Gujr": "Gujarati",
"Gukh": "Gurung Khema",
"Guru": "Gurmukhi",
"Hanb": "Han with Bopomofo (alias for Han + Bopomofo)",
"Hang": "Hangul (Hangŭl, Hangeul)",
"Hani": "Han (Hanzi, Kanji, Hanja)",
"Hano": "Hanunoo (Hanunóo)",
"Hans": "Han (Simplified variant)",
"Hant": "Han (Traditional variant)",
"Hatr": "Hatran",
"Hebr": "Hebrew",
"Hira": "Hiragana",
"Hluw": "Anatolian Hieroglyphs (Luwian Hieroglyphs, Hittite Hieroglyphs)",
"Hmng": "Pahawh Hmong",
"Hmnp": "Nyiakeng Puachue Hmong",
"Hrkt": "Japanese syllabaries (alias for Hiragana + Katakana)",
"Hung": "Old Hungarian (Hungarian Runic)",
"Inds": "Indus (Harappan)",
"Ital": "Old Italic (Etruscan, Oscan, etc.)",
"Jamo": "Jamo (alias for Jamo subset of Hangul)",
"Java": "Javanese",
"Jpan": "Japanese (alias for Han + Hiragana + Katakana)",
"Jurc": "Jurchen",
"Kali": "Kayah Li",
"Kana": "Katakana",
"Kawi": "Kawi",
"Khar": "Kharoshthi",
"Khmr": "Khmer",
"Khoj": "Khojki",
"Kitl": "Khitan large script",
"Kits": "Khitan small script",
"Knda": "Kannada",
"Kore": "Korean (alias for Hangul + Han)",
"Kpel": "Kpelle",
"Krai": "Kirat Rai",
"Kthi": "Kaithi",
"Lana": "Tai Tham (Lanna)",
"Laoo": "Lao",
"Latf": "Latin (Fraktur variant)",
"Latg": "Latin (Gaelic variant)",
"Latn": "Latin",
"Leke": "Leke",
"Lepc": "Lepcha (Róng)",
"Limb": "Limbu",
"Lina": "Linear A",
"Linb": "Linear B",
"Lisu": "Lisu (Fraser)",
"Loma": "Loma",
"Lyci": "Lycian",
"Lydi": "Lydian",
"Mahj": "Mahajani",
"Maka": "Makasar",
"Mand": "Mandaic, Mandaean",
"Mani": "Manichaean",
"Marc": "Marchen",
"Maya": "Mayan hieroglyphs",
"Medf": "Medefaidrin (Oberi Okaime, Oberi Ɔkaimɛ)",
"Mend": "Mende Kikakui",
"Merc": "Meroitic Cursive",
"Mero": "Meroitic Hieroglyphs",
"Mlym": "Malayalam",
"Modi": "Modi, Moḍī",
"Mong": "Mongolian",
"Moon": "Moon (Moon code, Moon script, Moon type)",
"Mroo": "Mro, Mru",
"Mtei": "Meitei Mayek (Meithei, Meetei)",
"Mult": "Multani",
"Mymr": "Myanmar (Burmese)",
"Nagm": "Nag Mundari",
"Nand": "Nandinagari",
"Narb": "Old North Arabian (Ancient North Arabian)",
"Nbat": "Nabataean",
"Newa": "Newa, Newar, Newari, Nepāla lipi",
"Nkdb": "Naxi Dongba (na²¹ɕi³³ to³³ba²¹, Nakhi Tomba)",
"Nkgb": "Naxi Geba (na²¹ɕi³³ gʌ²¹ba²¹, 'Na-'Khi ²Ggŏ-¹baw, Nakhi Geba)",
"Nkoo": "N’Ko",
"Nshu": "Nüshu",
"Ogam": "Ogham",
"Olck": "Ol Chiki (Ol Cemet’, Ol, Santali)",
"Onao": "Ol Onal",
"Orkh": "Old Turkic, Orkhon Runic",
"Orya": "Oriya (Odia)",
"Osge": "Osage",
"Osma": "Osmanya",
"Ougr": "Old Uyghur",
"Palm": "Palmyrene",
"Pauc": "Pau Cin Hau",
"Pcun": "Proto-Cuneiform",
"Pelm": "Proto-Elamite",
"Perm": "Old Permic",
"Phag": "Phags-pa",
"Phli": "Inscriptional Pahlavi",
"Phlp": "Psalter Pahlavi",
"Phlv": "Book Pahlavi",
"Phnx": "Phoenician",
"Plrd": "Miao (Pollard)",
"Piqd": "Klingon (KLI pIqaD)",
"Prti": "Inscriptional Parthian",
"Psin": "Proto-Sinaitic",
"Qaaa": "Reserved for private use (start)",
"Qabx": "Reserved for private use (end)",
"Ranj": "Ranjana",
"Rjng": "Rejang (Redjang, Kaganga)",
"Rohg": "Hanifi Rohingya",
"Roro": "Rongorongo",
"Runr": "Runic",
"Samr": "Samaritan",
"Sara": "Sarati",
"Sarb": "Old South Arabian",
"Saur": "Saurashtra",
"Sgnw": "SignWriting",
"Shaw": "Shavian (Shaw)",
"Shrd": "Sharada, Śāradā",
"Shui": "Shuishu",
"Sidd": "Siddham, Siddhaṃ, Siddhamātṛkā",
"Sidt": "Sidetic",
"Sind": "Khudawadi, Sindhi",
"Sinh": "Sinhala",
"Sogd": "Sogdian",
"Sogo": "Old Sogdian",
"Sora": "Sora Sompeng",
"Soyo": "Soyombo",
"Sund": "Sundanese",
"Sunu": "Sunuwar",
"Sylo": "Syloti Nagri",
"Syrc": "Syriac",
"Syre": "Syriac (Estrangelo variant)",
"Syrj": "Syriac (Western variant)",
"Syrn": "Syriac (Eastern variant)",
"Tagb": "Tagbanwa",
"Takr": "Takri, Ṭākrī, Ṭāṅkrī",
"Tale": "Tai Le",
"Talu": "New Tai Lue",
"Taml": "Tamil",
"Tang": "Tangut",
"Tavt": "Tai Viet",
"Tayo": "Tai Yo",
"Telu": "Telugu",
"Teng": "Tengwar",
"Tfng": "Tifinagh (Berber)",
"Tglg": "Tagalog (Baybayin, Alibata)",
"Thaa": "Thaana",
"Thai": "Thai",
"Tibt": "Tibetan",
"Tirh": "Tirhuta",
"Tnsa": "Tangsa",
"Todr": "Todhri",
"Tols": "Tolong Siki",
"Toto": "Toto",
"Tutg": "Tulu-Tigalari",
"Ugar": "Ugaritic",
"Vaii": "Vai",
"Visp": "Visible Speech",
"Vith": "Vithkuqi",
"Wara": "Warang Citi (Varang Kshiti)",
"Wcho": "Wancho",
"Wole": "Woleai",
"Xpeo": "Old Persian",
"Xsux": "Cuneiform, Sumero-Akkadian",
"Yezi": "Yezidi",
"Yiii": "Yi",
"Zanb": "Zanabazar Square (Zanabazarin Dörböljin Useg, Xewtee Dörböljin Bicig, Horizontal Square Script)",
"Zinh": "Code for inherited script",
"Zmth": "Mathematical notation",
"Zsye": "Symbols (Emoji variant)",
"Zsym": "Symbols",
"Zxxx": "Code for unwritten documents",
"Zyyy": "Code for undetermined script",
"Zzzz": "Code for uncoded script",
}

function addr(name, href) {
const a = document.createElement('a')
a.appendChild(document.createTextNode(name))
Expand Down

0 comments on commit fc7d568

Please sign in to comment.