মডিউল:ভাষা

উইকিঅভিধান, মুক্ত অভিধান থেকে
পরিভ্রমণে চলুন অনুসন্ধানে চলুন

এই মডিউলের জন্য মডিউল:ভাষা/নথি-এ নথিপত্র তৈরি করা হয়ে থাকতে পারে

local conversionTable = {
   ['np'] = 'np',
   ['aa'] = 'আফার',
   ['ab'] = 'আবখাজীয়',
   ['abs'] = 'Ambonese Malay',
   ['ace'] = 'অ্যাচাইনিজ',
   ['ach'] = 'আকোলি',
   ['ada'] = 'অদাগ্মে',
   ['ady'] = 'আদেগে',
   ['af'] = 'আফ্রিকান',
   ['afh'] = 'আফ্রিহিলি',
   ['agf'] = 'agf',
   ['aie'] = 'aie',
   ['ain'] = 'আইনু',
   ['aka'] = 'aka',
   ['akg'] = 'akg',
   ['akk'] = 'আক্কাদীয়',
   ['akz'] = 'আলাবামা',
   ['ale'] = 'আলেউত',
   ['alp'] = 'alp',
   ['als'] = 'Alemannisch',
   ['alt'] = 'দক্ষিন আলতাই',
   ['am'] = 'আমহারিক',
   ['amb'] = 'amb',
   ['an'] = 'আর্গোনিজ',
   ['ang'] = 'প্রাচীন ইংরেজী',
   ['apa'] = 'apa',
   ['apm'] = 'apm',
   ['aqc'] = 'aqc',
   ['ar'] = 'আরবী',
   ['arz'] = 'মিশরীয় আরবি',
   ['arc'] = 'আরামাইক',
   ['arn'] = 'মাপুচি',
   ['arp'] = 'আরাপাহো',
   ['ars'] = 'Najdi Arabic',
   ['art'] = 'art',
   ['arw'] = 'আরাওয়াক',
   ['as'] = 'অসমীয়া',
   ['ast'] = 'আস্তুরিয়',
   ['aua'] = 'aua',
   ['ava'] = 'ava',
   ['ave'] = 'ave',
   ['awa'] = 'আওয়াধি',
   ['ay'] = 'আয়মারা',
   ['az'] = 'আজারবাইজানী',
   ['ba'] = 'বাশকির',
   ['baa'] = 'baa',
   ['bad'] = 'bad',
   ['bal'] = 'বেলুচী',
   ['bam'] = 'bam',
   ['ban'] = 'বালিনীয়',
   ['bar'] = 'বাভারীয়',
   ['bas'] = 'বাসা',
   ['bbc'] = 'Batak Toba',
   ['bcl'] = 'Central Bikol',
   ['bcm'] = 'bcm',
   ['bdg'] = 'bdg',
   ['be'] = 'বেলারুশিয়',
   ['bej'] = 'বেজা',
   ['bem'] = 'বেম্বা',
   ['ber'] = 'ber',
   ['bg'] = 'বুলগেরিয়',
   ['bh'] = 'বিহারি',
   ['bho'] = 'ভোজপুরি',
   ['bhp'] = 'bhp',
   ['bhw'] = 'bhw',
   ['bi'] = 'বিসলামা',
   ['bin'] = 'বিনি',
   ['bjn'] = 'Banjar',
   ['bla'] = 'সিকসিকা',
   ['blg'] = 'blg',
   ['bm'] = 'বামবারা',
   ['bn'] = 'বাংলা',
   ['bnq'] = 'bnq',
   ['bo'] = 'তিব্বতি',
   ['bpy'] = 'বিষ্ণুপ্রিয়া',
   ['br'] = 'ব্রেটন',
   ['bra'] = 'ব্রাজ',
   ['bs'] = 'বসনীয়ান',
   ['bty'] = 'bty',
   ['bug'] = 'বুগিনি',
   ['bvk'] = 'bvk',
   ['bwd'] = 'bwd',
   ['bzg'] = 'bzg',
   ['bzq'] = 'bzq',
   ['ca'] = 'কাতালান',
   ['cad'] = 'ক্যাডো',
   ['cal'] = 'cal',
   ['car'] = 'ক্যারিব',
   ['ce'] = 'চেচেন',
   ['ceb'] = 'চেবুয়ানো',
   ['ch'] = 'চামোরো',
   ['chb'] = 'চিবচা',
   ['che'] = 'che',
   ['chg'] = 'চাগাতাই',
   ['chk'] = 'চুকি',
   ['chm'] = 'মারি',
   ['chn'] = 'চিনুক জার্গন',
   ['cho'] = 'চকটোও',
   ['chr'] = 'চেরোকী',
   ['chv'] = 'chv',
   ['chy'] = 'শাইয়েন',
   ['cic'] = 'cic',
   ['ckb'] = 'মধ্য কুর্দিশ',
   ['co'] = 'কর্সিকান',
   ['cop'] = 'কপটিক',
   ['cr'] = 'ক্রি',
   ['cre'] = 'cre',
   ['crh'] = 'ক্রিমিয়ান তুর্কি',
   ['cro'] = 'cro',
   ['cs'] = 'চেক',
   ['csb'] = 'কাশুবীয়',
   ['ctg'] = 'ctg',
   ['cu'] = 'চার্চ স্লাভিক',
   ['cv'] = 'চুবাস',
   ['cy'] = 'ওয়েলশ',
   ['da'] = 'ডেনিশ',
   ['dak'] = 'ডাকোটা',
   ['de'] = 'জার্মান',
   ['del'] = 'ডেলাওয়ের',
   ['de-at'] = 'অস্ট্রীয় জার্মান',
   ['dhv'] = 'dhv',
   ['din'] = 'ডিংকা',
   ['diq'] = 'Zazaki',
   ['dob'] = 'dob',
   ['doi'] = 'ডোগরি',
   ['dsb'] = 'নিম্নতর সোর্বিয়',
   ['dua'] = 'দুয়ালা',
   ['dv'] = 'দিবেহি',
   ['dyu'] = 'ডিউলা',
   ['dz'] = 'জোঙ্গা',
   ['ee'] = 'ইউয়ি',
   ['efi'] = 'এফিক',
   ['egy'] = 'প্রাচীন মিশরীয়',
   ['el'] = 'গ্রিক',
   ['el-it'] = 'el-IT',
   ['elx'] = 'এলামাইট',
   ['emb'] = 'emb',
   ['eml'] = 'Emiliano-Romagnolo',
   ['en'] = 'ইংরেজি',
   ['en-uk'] = 'ব্রিটিশ ইংরেজি',
   ['en-us'] = 'মার্কিন ইংরেজি',
   ['eo'] = 'এস্পেরান্তো',
   ['es'] = 'স্প্যানিশ',
   ['es-ar'] = 'es-AR',
   ['eso'] = 'eso',
   ['et'] = 'এস্তোনীয়',
   ['ett'] = 'Etruscian',
   ['eu'] = 'বাস্ক',
   ['evn'] = 'evn',
   ['ewe'] = 'ewe',
   ['ewo'] = 'ইওন্ডো',
   ['fa'] = 'ফার্সি',
   ['fan'] = 'ফ্যাঙ্গ',
   ['fat'] = 'ফান্তি',
   ['fi'] = 'ফিনিশ',
   ['fil'] = 'ফিলিপিনো',
   ['fiu'] = 'fiu',
   ['fj'] = 'ফিজিআন',
   ['fo'] = 'ফারোস',
   ['fr'] = 'ফরাসি',
   ['frm'] = 'মধ্য ফরাসি',
   ['fro'] = 'প্রাচীন ফরাসি',
   ['fur'] = 'ফ্রিউলিয়',
   ['fy'] = 'পশ্চিম ফ্রিসিয়ান',
   ['ga'] = 'আইরিশ',
   ['gay'] = 'গায়ো',
   ['gd'] = 'স্কটস-গ্যেলিক',
   ['gdd'] = 'gdd',
   ['gei'] = 'gei',
   ['ges'] = 'ges',
   ['gil'] = 'গিলবার্টিজ',
   ['gl'] = 'গ্যালিশিয়',
   ['gmh'] = 'মধ্য-উচ্চ জার্মানি',
   ['gn'] = 'গুয়ারানি',
   ['goh'] = 'প্রাচীন উচ্চ জার্মানি',
   ['gon'] = 'গোন্ডি',
   ['gor'] = 'গোরোন্তালো',
   ['got'] = 'গথিক',
   ['grb'] = 'গ্রেবো',
   ['grc'] = 'প্রাচীন গ্রীক',
   ['gri'] = 'gri',
   ['gsw'] = 'সুইস জার্মান',
   ['gu'] = 'গুজরাটি',
   ['gv'] = 'ম্যাঙ্কস',
   ['gzn'] = 'gzn',
   ['ha'] = 'হাউসা',
   ['hai'] = 'হাইডা',
   ['haw'] = 'হাওয়াইয়ান',
   ['he'] = 'হিব্রু',
   ['her'] = 'her',
   ['hi'] = 'হিন্দি',
   ['hil'] = 'হিলিগ্যায়নোন',
   ['him'] = 'him',
   ['hmo'] = 'hmo',
   ['hnn'] = 'hnn',
   ['hoa'] = 'hoa',
   ['hop'] = 'hop',
   ['hr'] = 'ক্রোয়েশীয়',
   ['hsb'] = 'উচ্চ সোর্বিয়',
   ['ht'] = 'হাইতিয়ান ক্রেওল',
   ['htu'] = 'htu',
   ['hu'] = 'হাঙ্গেরীয়',
   ['hup'] = 'হুপা',
   ['hy'] = 'আর্মেনিয়',
   ['ia'] = 'ইন্টারলিঙ্গুয়া',
   ['iba'] = 'ইবান',
   ['ibg'] = 'ibg',
   ['ibo'] = 'ibo',
   ['id'] = 'ইন্দোনেশীয়',
   ['ie'] = 'ইন্টারলিঙ্গ',
   ['ijo'] = 'ijo',
   ['ilo'] = 'ইলোকো',
   ['ilu'] = 'ilu',
   ['imr'] = 'imr',
   ['ins'] = 'ins',
   ['int'] = 'int',
   ['io'] = 'ইডো',
   ['irh'] = 'irh',
   ['is'] = 'আইসল্যান্ডীয়',
   ['it'] = 'ইতালীয়',
   ['iu'] = 'ইনুক্টিটুট',
   ['ja'] = 'জাপানি',
   ['ja-ka'] = 'ja-KA',
   ['ja-ro'] = 'ja-RO',
   ['jbo'] = 'লোজবান',
   ['jpr'] = 'জুদেও ফার্সি',
   ['jrb'] = 'জুদেও আরবি',
   ['jv'] = 'জাভানিজ',
   ['ka'] = 'জর্জীয়',
   ['kaa'] = 'কারা-কাল্পাক',
   ['kac'] = 'কাচিন',
   ['kam'] = 'কাম্বা',
   ['kar'] = 'kar',
   ['kau'] = 'kau',
   ['kaw'] = 'কাউই',
   ['kha'] = 'খাশি',
   ['kho'] = 'খোটানিজ',
   ['kik'] = 'kik',
   ['kk'] = 'কাজাখ',
   ['kk-lat'] = 'kk-lat',
   ['kl'] = 'ক্যালাল্লিসুট',
   ['km'] = 'খমের',
   ['kn'] = 'কন্নড়',
   ['ko'] = 'কোরীয়',
   ['kok'] = 'কোঙ্কানি',
   ['kon'] = 'kon',
   ['kpe'] = 'ক্‌পেল্লে',
   ['kpg'] = 'kpg',
   ['krl'] = 'কারেলীয়',
   ['kro'] = 'kro',
   ['kru'] = 'কুরুখ',
   ['ks'] = 'কাশ্মীরি',
   ['ksh'] = 'কলোনীয়',
   ['ku'] = 'কুর্দিশ',
   ['kua'] = 'kua',
   ['kud'] = 'kud',
   ['kus'] = 'kus',
   ['kut'] = 'কুটেনাই',
   ['kw'] = 'কর্ণিশ',
   ['ky'] = 'কির্গিজ',
   ['kv'] = 'কোমি',
   ['la'] = 'লাতিন',
   ['lad'] = 'লাডিনো',
   ['lah'] = 'লান্ডা',
   ['lam'] = 'লাম্বা',
   ['lb'] = 'লুক্সেমবার্গীয়',
   ['lez'] = 'লেজঘীয়',
   ['li'] = 'লিম্বুর্গিশ',
   ['lij'] = 'Ligurian',
   ['liv'] = 'Livonian',
   ['lld'] = 'Ladin',
   ['lmo'] = 'Lombard',
   ['ln'] = 'লিঙ্গালা',
   ['lo'] = 'লাও',
   ['lt'] = 'লিথুয়েনীয়',
   ['lv'] = 'লাত্‌ভীয়',
   ['mdf'] = 'মোকশা',
   ['mg'] = 'মালাগাসি',
   ['mh'] = 'মার্শালিজ',
   ['mi'] = 'মাওরি',
   ['min'] = 'মিনাংকাবাউ',
   ['mk'] = 'ম্যাসিডোনীয়',
   ['ml'] = 'মালায়ালাম',
   ['mn'] = 'মঙ্গোলীয়',
   ['mnc'] = 'মাঞ্চু',
   ['mo'] = 'Moldovan',
   ['mov'] = 'mov',
   ['mr'] = 'মারাঠি',
   ['ms'] = 'মালয়',
   ['mt'] = 'মল্টিয়',
   ['mus'] = 'ক্রিক',
   ['mwl'] = 'মিরান্ডিজ',
   ['my'] = 'বর্মী',
   ['myn'] = 'myn',
   ['myu'] = 'myu',
   ['na'] = 'নাউরু',
   ['nah'] = 'Nāhuatl',
   ['nan'] = 'nan',
   ['nap'] = 'নেয়াপোলিটান',
   ['nav'] = 'nav',
   ['nb'] = 'নরওয়েজীয় বোকমাল',
   ['nci'] = 'nci',
   ['nd'] = 'উত্তর এন্দেবিলি',
   ['nds'] = 'নিম্ন জার্মানি',
   ['nds-sass'] = 'nds-Sass',
   ['nds-muen'] = 'nds-Muen',
   ['ne'] = 'নেপালী',
   ['nhn'] = 'nhn',
   ['nl'] = 'ওলন্দাজ',
   ['nl-vla'] = 'nl-vla',
   ['nn'] = 'নরওয়েজীয় নিনর্স্ক',
   ['no'] = 'নরওয়েজীয়',
   ['nov'] = 'Novial',
   ['nv'] = 'নাভাজো',
   ['ny'] = 'নায়াঞ্জা',
   ['oc'] = 'অক্সিটান',
   ['oci'] = 'oci',
   ['oj'] = 'ওজিবওয়া',
   ['om'] = 'অরোমো',
   ['or'] = 'ওড়িয়া',
   ['os'] = 'ওসেটিক',
   ['pap'] = 'পাপিয়ামেন্টো',
   ['pan'] = 'pan',
   ['pau'] = 'পালায়ুয়ান',
   ['pdc'] = 'Pennsylvania German',
   ['pi'] = 'পালি',
   ['pih'] = 'Norfuk / Pitkern',
   ['pl'] = 'পোলিশ',
   ['pml'] = 'pml',
   ['pmm'] = 'pmm',
   ['pms'] = 'Piedmontese',
   ['pra'] = 'pra',
   ['prg'] = 'প্রুশীয়',
   ['pro'] = 'প্রাচীন প্রোভেনসাল',
   ['ps'] = 'পুশতু',
   ['pt'] = 'পর্তুগীজ',
   ['pt-br'] = 'ব্রাজিলীয় পর্তুগীজ',
   ['pt-pt'] = 'ইউরোপীয় পর্তুগীজ',
   ['qu'] = 'কেচুয়া',
   ['ra'] = 'ra',
   ['rap'] = 'রাপানুই',
   ['rar'] = 'রারোটোংগান',
   ['rm'] = 'রোমান্স',
   ['rn'] = 'রুন্দি',
   ['ro'] = 'রোমানীয়',
   ['roa'] = 'roa',
   ['rom'] = 'রোমানি',
   ['ru'] = 'রুশ',
   ['rw'] = 'কিনয়ারোয়ান্ডা',
   ['sa'] = 'সংস্কৃত',
   ['sc'] = 'সার্ডিনীয়',
   ['scn'] = 'সিসিলীয়',
   ['sco'] = 'স্কটস',
   ['sd'] = 'সিন্ধি',
   ['sdc'] = 'Sassarese Sardinian',
   ['sdn'] = 'sdn',
   ['se'] = 'উত্তরাঞ্চলীয় সামি',
   ['sh'] = 'সার্বো-ক্রোয়েশিয়',
   ['sjd'] = 'Kildin Sami',
   ['si'] = 'সিংহলী',
   ['simple'] = 'সহজ ইংরেজি',
   ['sk'] = 'স্লোভাক',
   ['sl'] = 'স্লোভেনীয়',
   ['sm'] = 'সামোয়ান',
   ['smn'] = 'ইনারি সামি',
   ['so'] = 'সোমালি',
   ['sov'] = 'sov',
   ['sq'] = 'আলবেনীয়',
   ['sr'] = 'সার্বীয়',
   ['src'] = 'src',
   ['srd'] = 'srd',
   ['srn'] = 'স্রানান টোঙ্গো',
   ['sro'] = 'sro',
   ['ss'] = 'সোয়াতি',
   ['st'] = 'দক্ষিণ সোথো',
   ['su'] = 'সুদানী',
   ['sun'] = 'sun',
   ['sux'] = 'সুমেরীয়',
   ['sv'] = 'সুইডিশ',
   ['sw'] = 'সোয়াহিলি',
   ['syl'] = 'সিলেটি',
   ['ta'] = 'তামিল',
   ['te'] = 'তেলুগু',
   ['tet'] = 'তেতুম',
   ['tg'] = 'তাজিক',
   ['th'] = 'থাই',
   ['th-ts'] = 'th-TS',
   ['tk'] = 'তুর্কমেনী',
   ['tl'] = 'তাগালগ',
   ['tlh'] = 'ক্লিঙ্গন',
   ['tox'] = 'tox',
   ['tpi'] = 'টোক পিসিন',
   ['tpn'] = 'tpn',
   ['tr'] = 'তুর্কী',
   ['trv'] = 'তারোকো',
   ['ts'] = 'সঙ্গা',
   ['tsn'] = 'tsn',
   ['tt'] = 'তাতার',
   ['tvl'] = 'টুভালু',
   ['tw'] = 'টোয়াই',
   ['ug'] = 'উইঘুর',
   ['uk'] = 'ইউক্রেনীয়',
   ['ur'] = 'উর্দু',
   ['uz'] = 'উজবেকীয়',
   ['ve'] = 'ভেন্ডা',
   ['vec'] = 'ভেনেতীয়',
   ['vep'] = 'Veps',
   ['vi'] = 'ভিয়েতনামী',
   ['vls'] = 'West Flemish',
   ['vmf'] = 'Main-Franconian',
   ['vo'] = 'ভোলাপুক',
   ['vot'] = 'ভোটিক',
   ['vro'] = 'Võro',
   ['wa'] = 'ওয়ালুন',
   ['wo'] = 'উওলোফ',
   ['xal'] = 'কাল্মইক',
   ['xh'] = 'জোসা',
   ['xpc'] = 'xpc',
   ['yi'] = 'ইয়েদ্দিশ',
   ['yo'] = 'ইওরুবা',
   ['yua'] = 'yua',
   ['za'] = 'ঝু্য়াঙ',
   ['zh'] = 'চীনা',
   ['zh-yue'] = 'ক্যানটোনীজ',
   ['zh-min-nan'] = 'মিন-নান',
   ['zh-classical'] = 'শাস্ত্রীয় চীনা',
   ['zh-sc'] = 'zh-SC',
   ['zh-tc'] = 'zh-TC',
   ['zu'] = 'জুলু',
}

local p = {}

function p.main(frame)
    local s = frame.args[1]
    for bn, en in pairs(conversionTable) do
        s = mw.ustring.gsub(s, bn, en)
    end
    return s
end

return p