Documentation for this module may be created at Модуль:languages/cache/doc

local getByCode = require("Module:languages").getByCode

local langs = {}

-- Auto-create language objects: langs.en -> language object for English.
setmetatable(langs, {
	__index = function(self, key)
		local lang = getByCode(key, nil, true, true) or false
		self[key] = lang
		return lang
	end
})

return langs