local export = {}

local function iterate(list)
	for code, data in pairs(list) do
		export[data.canonicalName] = code
	end
end

iterate(mw.loadData("Module:languages/data2"))

for letter in mw.ustring.gmatch("abcdefghijklmnopqrstuvwxyz", "(.)") do
	iterate(mw.loadData("Module:languages/data3/" .. letter))
end

iterate(mw.loadData("Module:languages/datax"))

return export
"https://si.wikibooks.org/w/index.php?title=Module:Languages/canonical_names&oldid=12081" වෙතින් සම්ප්‍රවේශනය කෙරිණි