Modul:etymology languages/by name

local export = {}

for code, data in pairs(require("Module:etymology languages/data")) do
	export[data[1]] = export[data[1]] or data.main_code or code
end

return export