Jump to content

Module:Sandbox/Liangent/LanguageName

From Wikipedia, the free encyclopedia
This is the current revision of this page, as edited by Liangent (talk | contribs) at 12:54, 29 May 2013. The present address (URL) is a permanent link to this version.
(diff) ← Previous revision | Latest revision (diff) | Newer revision → (diff)
local z = {}

function z.languageName( frame )
    return mw.language.fetchLanguageName( frame.args[1], mw.language.getContentLanguage():getCode() )
end

return z