Module:languages/names/generate
< Module:languages | names
Generates up-to-date output that can be used to set the value of Module:languages/names.
Result
Riyan
local export = {}
function export.show()
-- local ret = "return {"
-- local languages = require("Module:languages/data")
-- ret = ret .. '\n\t["num"] = ' .. #languages .. ","
-- for k, v in ipairs(languages) do
-- ret = ret .. '\n\t["' .. v.name .. '"] = "' .. v.code .. '",'
-- end
-- ret = ret .. "\n}"
-- return ret
return require("Module:languages/data")["ryn"].name
end
return export