Module:Sandbox/Liangent/LanguageName: Difference between revisions

From Empire of Dragons
Jump to navigation Jump to search
No edit summary
 
m (1 revision imported)
 
(No difference)

Latest revision as of 16:37, 26 March 2024

Documentation for this module may be created at Module:Sandbox/Liangent/LanguageName/doc

local z = {}

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

return z