Jump to content

Module:languages/by name

ꯋꯤꯛꯁꯟꯅꯔꯤ ꯗꯒꯤ

Documentation for this module may be created at Module:languages/by name/doc

local export = {}

for code, data in pairs(require("Module:languages/alldata")) do
	export[data[1]] = code
	
	if data.otherNames then
		for i, otherName in pairs(data.otherNames) do
			if not export[otherName] then
				export[otherName] = code
			end
		end
	end
end

return export