Module:Language info

-- We only invoke this module once per page, therefore we do not need to use mw.loadData, require is faster. local info = require("Module:Language info/data-onwiki") info['zh'] = require("Module:Language info/data-zh")

return { interwiki_links = function(frame) local key = frame.args['en'] local lang = frame.args['lang'] local str = '' for k,v in pairs(info) do			if k ~= lang then if v[key] then str = str ..  .. k .. ':'.. v[key] ..  end end end return str end, }