Advertisement:

Module:IPA/data

From Roovet Articles
Jump to navigation Jump to search

This data module stores labels, language codes, and their associated IPA keys used by Module:IPA and Module:IPA/category documentation.

Schema for languages

(code)
ISO 639 code.
name
Name of the language. Filled in by Module:Lang if missing.
text
Replaces the language name in canned labels without affecting the link.
link
Name of the article about the language. Filled in by name + " language" (or just name if it ends in " languages") if missing, or by Module:Lang if name is also missing.
key
Page name of the key.
dialects
(code)
IETF subtag. Must be in all caps unless it is a private tag starting with x-.
name, text, link, key
Override the above.
isVariant
true if the subtag is an IANA variant. This makes the subtag lowercase.
aliasOf
Key for another entry in the same table of dialects.

Script error: No such module "IPA/overview".


return {
	defaultLabel = "%s pronunciation:",
	labels = {
		["lang"] = "%s:",
		["pron"] = "pronounced",
		["also"] = "also",
		["alsolang"] = "also %s:",
		["langalso"] = "%s also",
		["local"] = "locally",
		["localpron"] = "local pronunciation:",
		["ipa"] = "IPA:",
	},
	defaultKey = "Help:IPA",
	langs = {
		["und"] = {
			text = "",
			defaultLabelCode = "ipa",
		},
		["mis"] = {
			text = "",
			defaultLabelCode = "ipa",
		},
		["en"] = {
			key = "Help:IPA/English",
			format = "/%s/",
			defaultLabelCode = "",
			dialects = {
				["GB"] = {
					text = "UK",
					defaultLabelCode = "lang",
				},
				["UK"] = { aliasOf = "GB" },
				["US"] = {
					text = "UK",
					defaultLabelCode = "lang",
				},
			},
		},
		["acw"] = {
			name = "Hejazi Arabic",
			key = "Help:IPA/Hejazi Arabic",
		},
		["ady"] = {
			key = "Help:IPA/Adyghe",
		},
		["aeb"] = {
			key = "Help:IPA/Tunisian Arabic",
		},
		["aer"] = {
			key = "Help:IPA/Australian languages",
		},
		["af"] = {
			key = "Help:IPA/Afrikaans",
		},
		["aln"] = {
			key = "Help:IPA/Albanian",
		},
		["als"] = {
			key = "Help:IPA/Albanian",
		},
		["am"] = {
			key = "Help:IPA/Amharic",
		},
		["ang"] = {
			key = "Help:IPA/Old English",
		},
		["apc"] = {
			dialects = {
				["LB"] = {
					name = "Lebanese Arabic",
					key = "Help:IPA/Lebanese Arabic",
				},
			},
		},
		["ar"] = {
			key = "Help:IPA/Arabic",
		},
		["arb"] = {
			key = "Help:IPA/Arabic",
		},
		["arz"] = {
			key = "Help:IPA/Egyptian Arabic",
		},
		["as"] = {
			key = "Help:IPA/Assamese",
		},
		["ast"] = {
			key = "Help:IPA/Astur-Leonese",
			dialects = {
				["ES-LE"] = {
					name = "Leonese",
				},
			},
		},
		["aus"] = {
			text = "Aboriginal",
			key = "Help:IPA/Australian languages",
		},
		["az"] = {
			key = "Help:IPA/Azerbaijani",
		},
		["be"] = {
			key = "Help:IPA/Belarusian",
		},
		["ber"] = {
			key = "Help:IPA/Berber",
		},
		["bg"] = {
			key = "Help:IPA/Bulgarian",
		},
		["bn"] = {
			key = "Help:IPA/Bengali",
		},
		["bo"] = {
			text = "Tibetan",
			key = "Help:IPA/Tibetan",
		},
		["br"] = {
			key = "Help:IPA/Breton",
		},
		["bs"] = {
			key = "Help:IPA/Serbo-Croatian",
		},
		["ca"] = {
			key = "Help:IPA/Catalan",
			dialects = {
				["ES-IB"] = {
					name = "Balearic Catalan",
					key = "Help:IPA/Insular Catalan",
				},
				["IT"] = {
					name = "Algherese",
					key = "Help:IPA/Insular Catalan",
				},
				["VALENCIA"] = {
					isVariant = true, -- makes it lowercase
				},
			},
		},
		["ckb"] = {
			name = "Central Kurdish",
			key = "Help:IPA/Kurdish",
		},
		["cjy"] = {
			name = "Jin Chinese",
			key = "Help:IPA/Jin Chinese",
		},
		["cmn"] = {
			name = "Mandarin",
			link = "Standard Chinese",
			key = "Help:IPA/Mandarin",
		},
		["cnr"] = {
			key = "Help:IPA/Serbo-Croatian",
		},
		["co"] = {
			key = "Help:IPA/Corsican",
		},
		["crh"] = {
			key = "Help:IPA/Tatar",
		},
		["cs"] = {
			key = "Help:IPA/Czech",
		},
		["cy"] = {
			key = "Help:IPA/Welsh",
		},
		["da"] = {
			key = "Help:IPA/Danish",
		},
		["de"] = {
			key = "Help:IPA/Standard German",
			dialects = {
				["AT"] = {},
				["CH"] = {},
			},
		},
		["dsb"] = {
			key = "Help:IPA/Sorbian",
		},
		["egl"] = {
			key = "Help:IPA/Emilian-Romagnol",
		},
		["el"] = {
			key = "Help:IPA/Greek",
		},
		["eo"] = {
			key = "Help:IPA/Esperanto",
		},
		["es"] = {
			key = "Help:IPA/Spanish",
			dialects = {
				["419"] = {
					name = "Latin American Spanish",
				},
			},
		},
		["et"] = {
			key = "Help:IPA/Estonian",
		},
		["eu"] = {
			key = "Help:IPA/Basque",
		},
		["ext"] = {
			key = "Help:IPA/Astur-Leonese",
		},
		["fa"] = {
			key = "Help:IPA/Persian",
		},
		["fi"] = {
			key = "Help:IPA/Finnish",
		},
		["fil"] = {
			key = "Help:IPA/Tagalog",
		},
		["fj"] = {
			key = "Help:IPA/Fijian",
		},
		["fr"] = {
			key = "Help:IPA/French",
		},
		["frp"] = {
			name = "Franco-Provençal",
			key = "Help:IPA/Franco-Provençal",
		},
		["fy"] = {
			key = "Help:IPA/West Frisian",
		},
		["ga"] = {
			key = "Help:IPA/Irish",
			dialects = {
				["GB"] = { aliasOf = "x-ulster" },
				["IE-C"] = {
					name = "Connacht Irish",
				},
				["IE-M"] = {
					name = "Munster Irish",
				},
				["IE-U"] = { aliasOf = "x-ulster" },
				["x-ulster"] = {
					name = "Ulster Irish",
				},
			}
		},
		["gct"] = {
			key = "Help:IPA/Alemannic German",
		},
		["gd"] = {
			key = "Help:IPA/Scottish Gaelic",
		},
		["gl"] = {
			key = "Help:IPA/Galician",
		},
		["grc"] = {
			key = "Help:IPA/Greek",
			dialects = {
				["x-attic"] = {},
				["x-classic"] = {},
			},
		},
		["gsw"] = {
			key = "Help:IPA/Alemannic German",
		},
		["gu"] = {
			key = "Help:IPA/Gujarati",
		},
		["gv"] = {
			key = "Help:IPA/Manx",
		},
		["haw"] = {
			key = "Help:IPA/Hawaiian",
		},
		["hbo"] = {
			key = "Help:IPA/Hebrew",
		},
		["he"] = {
			key = "Help:IPA/Hebrew",
		},
		["hi"] = {
			key = "Help:IPA/Hindi and Urdu",
		},
		["hmn"] = {
			key = "Help:IPA/Hmong",
		},
		["hns"] = {
			name = "Hindustani",
			key = "Help:IPA/Hindi and Urdu",
		},
		["hr"] = {
			key = "Help:IPA/Serbo-Croatian",
		},
		["hsb"] = {
			key = "Help:IPA/Sorbian",
		},
		["hsn"] = {
			key = "Help:IPA/Xiang Chinese",
		},
		["ht"] = {
			key = "Help:IPA/Haitian Creole",
		},
		["hu"] = {
			key = "Help:IPA/Hungarian",
		},
		["hy"] = {
			key = "Help:IPA/Armenian",
		},
		["id"] = {
			key = "Help:IPA/Malay",
		},
		["ig"] = {
			key = "Help:IPA/Igbo",
		},
		["ik"] = {
			key = "Help:IPA/Inupiaq",
		},
		["is"] = {
			key = "Help:IPA/Icelandic",
		},
		["it"] = {
			key = "Help:IPA/Italian",
			dialects = {
				["IT-52"] = {
					name = "Tuscan",
					key = "Help:IPA/Central Italian",
				},
				["IT-55"] = {
					name = "Central Italian",
					key = "Help:IPA/Central Italian",
				},
				["IT-57"] = {
					name = "Central Italian",
					key = "Help:IPA/Central Italian",
				},
				["IT-RM"] = {
					name = "Romanesco",
					key = "Help:IPA/Central Italian",
				},
			},
		},
		["iu"] = {
			key = "Help:IPA/Inuktitut",
		},
		["ja"] = {
			key = "Help:IPA/Japanese",
		},
		["ka"] = {
			key = "Help:IPA/Georgian",
		},
		["khb"] = {
			name = "Tai Lue",
			key = "Help:IPA/Shan and Tai Lue",
		},
		["kjb"] = {
			key = "Help:IPA/Mayan"
		},
		["kk"] = {
			key = "Help:IPA/Kazakh",
		},
		["kl"] = {
			key = "Help:IPA/Greenlandic",
		},
		["km"] = {
			key = "Help:IPA/Khmer",
		},
		["kmr"] = {
			name = "Northern Kurdish",
			key = "Help:IPA/Kurdish",
		},
		["ko"] = {
			key = "Help:IPA/Korean",
		},
		["ksh"] = {
			name = "Colognian",
			key = "Help:IPA/Colognian",
		},
		["ku"] = {
			key = "Help:IPA/Kurdish",
		},
		["ky"] = {
			key = "Help:IPA/Kyrgyz",
		},
		["la"] = {
			key = "Help:IPA/Latin",
			dialects = {
				["x-church"] = {
					name = "Ecclesiastical Latin",
				},
				["x-classic"] = {
					name = "Classical Latin",
				},
			},
		},
		["lac"] = {
			key = "Help:IPA/Mayan"
		},
		["lb"] = {
			key = "Help:IPA/Luxembourgish",
		},
		["lij"] = {
			key = "Help:IPA/Ligurian",
		},
		["lkt"] = {
			key = "Help:IPA/Lakota",
		},
		["lmo"] = {
			key = "Help:IPA/Lombard",
		},
		["lo"] = {
			key = "Help:IPA/Lao",
		},
		["lt"] = {
			key = "Help:IPA/Lithuanian",
		},
		["lv"] = {
			key = "Help:IPA/Latvian",
		},
		["mfe"] = {
			name = "Mauritian Creole",
			key = "Help:IPA/Mauritian Creole",
		},
		["mg"] = {
			key = "Help:IPA/Malagasy",
		},
		["mh"] = {
			key = "Help:IPA/Marshallese",
		},
		["mi"] = {
			key = "Help:IPA/Māori",
		},
		["mk"] = {
			key = "Help:IPA/Macedonian",
		},
		["ml"] = {
			key = "Help:IPA/Malayalam",
		},
		["mn"] = {
			key = "Help:IPA/Mongolian",
		},
		["mr"] = {
			key = "Help:IPA/Marathi",
		},
		["ms"] = {
			key = "Help:IPA/Malay",
		},
		["mt"] = {
			key = "Help:IPA/Maltese",
		},
		["mwl"] = {
			key = "Help:IPA/Astur-Leonese",
		},
		["my"] = {
			key = "Help:IPA/Burmese",
		},
		["myn"] = {
			key = "Help:IPA/Mayan",
		},
		["nah"] = {
			key = "Help:IPA/Nahuatl",
		},
		["nan"] = {
			dialects = {
				["TW"] = {
					key = "Help:IPA/Taiwanese Hokkien",
				},
			},
		},
		["nap"] = {
			key = "Help:IPA/Neapolitan",
		},
		["nci"] = {
			key = "Help:IPA/Nahuatl",
		},
		["ne"] = {
			key = "Help:IPA/Nepali",
		},
		["nhe"] = {
			name = "Huasteca Nahuatl",
			key = "Help:IPA/Nahuatl",
		},
		["nl"] = {
			key = "Help:IPA/Dutch",
			dialects = {
				["BE"] = {},
			},
		},
		["nlv"] = {
			key = "Help:IPA/Nahuatl",
		},
		["no"] = {
			key = "Help:IPA/Norwegian",
			dialects = {
				["NO-03"] = {
					name = "Urban East Norwegian",
				},
			}
		},
		["nod"] = {
			key = "Help:IPA/Northern Thai",
		},
		["nv"] = {
			key = "Help:IPA/Navajo",
		},
		["oc"] = {
			key = "Help:IPA/Occitan",
		},
		["or"] = {
			key = "Help:IPA/Odia",
		},
		["pa"] = {
			key = "Help:IPA/Punjabi",
		},
		["pht"] = {
			key = "Help:IPA/Lao",
		},
		["pi"] = {
			key = "Help:IPA/Sanskrit",
		},
		["pjt"] = {
			key = "Help:IPA/Australian languages",
		},
		["pl"] = {
			key = "Help:IPA/Polish",
		},
		["pms"] = {
			key = "Help:IPA/Piedmontese",
		},
		["prs"] = {
			key = "Help:IPA/Persian",
		},
		["ps"] = {
			key = "Help:IPA/Pashto",
		},
		["pt"] = {
			key = "Help:IPA/Portuguese",
			dialects = {
				["BR"] = {
					name = "Brazilian Portuguese",
				},
				["PT"] = {
					name = "European Portuguese",
				},
			}
		},
		["qu"] = {
			key = "Help:IPA/Quechua",
		},
		["quc"] = {
			key ="Help:IPA/Mayan"
		},
		["rgn"] = {
			key = "Help:IPA/Emilian-Romagnol",
		},
		["rm"] = {
			key = "Help:IPA/Romansh",
		},
		["ro"] = {
			key = "Help:IPA/Romanian",
		},
		["ru"] = {
			key = "Help:IPA/Russian",
		},
		["sa"] = {
			key = "Help:IPA/Sanskrit",
		},
		["sc"] = {
			key = "Help:IPA/Sardinian",
		},
		["scn"] = {
			key = "Help:IPA/Sicilian",
			dialects = {
				["IT-75"] = {
					name = "Salentino",
				},
				["IT-78"] = {
					name = "Calabrian",
					link = "Central-Southern Calabrian",
				},
			},
		},
		["sdh"] = {
			key = "Help:IPA/Kurdish",
		},
		["sh"] = {
			key = "Help:IPA/Serbo-Croatian",
		},
		["shn"] = {
			key = "Help:IPA/Shan and Tai Lue",
		},
		["sk"] = {
			key = "Help:IPA/Slovak",
		},
		["sl"] = {
			key = "Help:IPA/Slovene",
		},
		["sou"] = {
			key = "Help:IPA/Thai",
		},
		["sq"] = {
			key = "Help:IPA/Albanian",
		},
		["sr"] = {
			key = "Help:IPA/Serbo-Croatian",
		},
		["ss"] = {
			key = "Help:IPA/Nguni",
		},
		["sv"] = {
			key = "Help:IPA/Swedish",
			dialects = {
				["FI"] = {
					name = "Finland Swedish",
				},
			},
		},
		["sw"] = {
			key = "Help:IPA/Swahili",
		},
		["swg"] = {
			key = "Help:IPA/Alemannic German",
		},
		["syl"] = {
			key = "Help:IPA/Sylheti",
		},
		["ta"] = {
			key = "Help:IPA/Tamil",
		},
		["te"] = {
			key = "Help:IPA/Telugu",
		},
		["tg"] = {
			key = "Help:IPA/Persian",
		},
		["th"] = {
			key = "Help:IPA/Thai",
		},
		["ti"] = {
			key = "Help:IPA/Tigrinya",
		},
		["tk"] = {
			key = "Help:IPA/Turkmen",
		},
		["tl"] = {
			key = "Help:IPA/Tagalog",
		},
		["tr"] = {
			key = "Help:IPA/Turkish",
		},
		["tt"] = {
			key = "Help:IPA/Tatar",
		},
		["tts"] = {
			name = "Isan",
			key = "Help:IPA/Lao",
		},
		["uk"] = {
			key = "Help:IPA/Ukrainian",
		},
		["ur"] = {
			key = "Help:IPA/Hindi and Urdu",
		},
		["uz"] = {
			key = "Help:IPA/Uzbek",
		},
		["vec"] = {
			key = "Help:IPA/Venetian",
		},
		["vi"] = {
			key = "Help:IPA/Vietnamese",
		},
		["wa"] = {
			key = "Help:IPA/Walloon",
		},
		["wae"] = {
			key = "Help:IPA/Alemannic German",
		},
		["wbp"] = {
			key = "Help:IPA/Australian languages",
		},
		["wen"] = {
			key = "Help:IPA/Sorbian",
		},
		["wuu"] = {
			key = "Help:IPA/Wu Chinese",
		},
		["xh"] = {
			key = "Help:IPA/Nguni",
		},
		["yi"] = {
			key = "Help:IPA/Yiddish",
		},
		["yo"] = {
			key = "Help:IPA/Yoruba",
		},
		["yue"] = {
			name = "Cantonese",
			key = "Help:IPA/Cantonese",
		},
		["za"] = {
			key = "Help:IPA/Zhuang",
		},
		["zsm"] = {
			name = "Malaysian",
			key = "Help:IPA/Malay",
		},
		["zu"] = {
			key = "Help:IPA/Nguni",
		},
	},
}