Module:languages/templates: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 130: Line 130:
return require("Module:languages").getCanonicalName(lang) or not args.return_if_invalid and "" or langCode
return lang:getCanonicalName() or not args.return_if_invalid and "" or langCode
end
end


return export
return export