Module:languages/templates: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
No edit summary
 
Line 129: Line 129:
end
end
local lang = require("Module:languages").getByCode(langCode)
return lang:getCanonicalName() or not args.return_if_invalid and "" or langCode
return lang:getCanonicalName() or not args.return_if_invalid and "" or langCode

Navigation menu