وحدة:ملعب/Mr. Ibrahem/month
< وحدة:ملعب | Mr. Ibrahem
![](http://upload.wikimedia.org/wikipedia/commons/thumb/4/43/Test_Template_Info-Icon_-_Version_%282%29.svg/50px-Test_Template_Info-Icon_-_Version_%282%29.svg.png)
local p = {}
function p.nav(frame)
local months = {
["يناير"] = "January"
,["فبراير"] = "February"
,["مارس"] = "March"
,["أبريل"] = "April"
,["مايو"] = "May"
,["يونيو"] = "June"
,["يوليو"] = "July"
,["أغسطس"] = "August"
,["سبتمبر"] = "September"
,["أكتوبر"] = "October"
,["نوفمبر"] = "November"
,["ديسمبر"] = "December"
}
local category = frame.args[1]
if category and category ~= ''
then
for k, month in pairs(months) do
if string.find(category, k) then
category = mw.ustring.gsub( category , k , month )
end
end
end
return category
end
return p