مۆدیوول:Age: جیاوازیی نێوان پێداچوونەوەکان

ناوەڕۆکی سڕاو ناوەڕۆکی زیادکراو
کوردیکردن (ڕەنگە کەمێکی بچووکی مابێت)
ب تاقیکردنەوە
ھێڵی ٤٦:
local translate, from_en, to_en, isZero
 
translate = {
digits = {
from_en = {
['0'] = '٠',
['1'] = '١',
['2'] = '٢',
['3'] = '٣',
['4'] = '٤',
['5'] = '٥',
['6'] = '٦',
['7'] = '٧',
['8'] = '٨',
['9'] = '٩',
},
to_en = {
['٠'] = '0',
['١'] = '1',
['٢'] = '2',
['٣'] = '3',
['٤'] = '4',
['٥'] = '5',
['٦'] = '6',
['٧'] = '7',
['٨'] = '8',
['٩'] = '9',
},
},
words = {
from_en = {
January = 'کانوونی دووەم',
February = 'شوبات',
March = 'ئادار',
April = 'نیسان',
May = 'ئایار',
June = 'حوزەیران',
July = 'تەممووز',
August = 'ئاب',
September = 'ئەیلوول',
October = 'تشرینی یەکەم',
November = 'تشرینی دووەم',
December = 'کانوونی یەکەم',
Jan = 'کانوونی دووەم',
Feb = 'شوبات',
Sep = 'ئەیلوول',
Oct = 'تشرینی یەکەم',
Nov = 'تشرینی دووەم',
Dec = 'کانوونی یەکەم',
},
to_en = {
['کانوونی دووەم'] = 'January',
['شوبات'] = 'February',
['ئادار'] = 'March',
['ئازار'] = 'March',
['نیسان'] = 'April',
['ئایار'] = 'May',
['حوزەیران'] = 'June',
['تەممووز'] = 'July',
['ئاب'] = 'August',
['ئەیلوول'] = 'September',
['تشرینی یەکەم'] = 'October',
['تشرینی دووەم'] = 'November',
['کانوونی یەکەم'] = 'December',
['ئەیلول'] = 'Sep',
},
},
}
 
if translate then
-- Functions to translate from en to local language and reverse go here.