မဝ်ဂျူ:languages/byEntryNameModule
မံက်ပြာကတ်
return function(entryNameModule)
local langs = {}
for code, data in pairs(require("Module:languages/data/all")) do
if data.entry_name == entryNameModule then
langs[code] = data
elseif type(data.entry_name) == "table" then
for script, entry_name_data in pairs(data.entry_name) do
if entry_name_data == entryNameModule then
langs[code] = data
end
end
end
end
local result = {}
local i = 0
for code, data in pairs(langs) do
i = i + 1
result[i] = require("Module:languages").makeObject(code, data)
end
return result
end