Module:Languages/canonical names
Appearance
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