Module:zh/data/lect codes

Hello, you have come here looking for the meaning of the word Module:zh/data/lect codes. In DICTIOUS you will not only get to know all the dictionary meanings for the word Module:zh/data/lect codes, but we will also tell you about its etymology, its characteristics and you will know how to say Module:zh/data/lect codes in singular and plural. Everything you need to know about the word Module:zh/data/lect codes you have here. The definition of the word Module:zh/data/lect codes will help you to be more precise and correct when speaking or writing your texts. Knowing the definition ofModule:zh/data/lect codes, as well as those of other words, enriches your vocabulary and provides you with more and better linguistic resources.


local data = {}

local langcode_to_abbr = {
	cdo = "md",				-- Eastern Min
	cjy = "j",				-- Jin
	cmn = "m",				-- Mandarin
--	cnp 					-- Northern Pinghua
--	cpx 					-- Puxian Min
	csp = "sp",				-- Southern Pinghua
--	czh 					-- Huizhou
--	czo 					-- Central Min
	dng = "dg",				-- Dungan
	gan = "g",				-- Gan
	hak = "h",				-- Hakka
	hsn = "x",				-- Xiang
	ltc = "mc",				-- Middle Chinese
	lzh = "m",				-- Literary (Classical) Chinese
	mnp = "mb",				-- Northern Min
	 = "mn",		-- Hokkien
--					-- Haklau Min
--					-- Hainanese
	 = "mn-l",	-- Leizhou Min
	 = "mn-t",	-- Teochew
	och = "oc",				-- Old Chinese
	wuu = "w",				-- Wu
--	wxa 					-- Waxiang
	yue = "c",				-- Cantonese
	zh = "m",				-- Chinese (general)
--					-- Shaozhou Tuhua
	 = "m-s",	-- Sichuanese
	 = "c-t",	-- Taishanese
}

local abbr_to_langcode = {}
for k, v in pairs(langcode_to_abbr) do
	if k ~= "zh" and k ~= "lzh" then
		abbr_to_langcode = k
	end
end

return {
	langcode_to_abbr = langcode_to_abbr,
	abbr_to_langcode = abbr_to_langcode
}