Module:languages
local export = {}
local languages = {
bal = {name = "Balavic", code = "bal"},
kil = {name = "Kilitic", code = "kil"},
rad = {name = "Radestrian", code = "rad"},
lfv = {name = "Lafevian", code = "lfv"},
}
function export.getByCode(frame)
local code = frame.args[1]
local want = frame.args[2]
return languages[code][want]
end
return export