您好我一直在使用孟加拉語在一個多語種的網站,我是最高,當語言設置爲英文什麼,我需要證明的jQuery日期選擇器壓延在英語,孟加拉語,我需要在孟加拉展示它。孟加拉語日曆JQuery的日期選擇器本地化
我已經使用jquery datepicker本地化。
我已經通過一些教程了,並通過這個過程中我完成它的一部分。這是我可以顯示一月,二月等週六,太陽等在英語和孟加拉語。但是,當我在孟加拉語時,這個數字仍然是英文。
所以,我的問題是,有沒有任何出路的,我還可以改變數字0到9的數字孟加拉語?
jQuery(function($){
$.datepicker.regional['bn-BD'] = {"Name":"bn-BD","closeText":"Close","prevText":"Prev","nextText":"Next","currentText":"Today","monthNames":["জানুয়ারী","ফেব্রুয়ারী","মার্চ","এপ্রিল","মে","জুন","জুলাই","আগস্ট","সেপ্টেম্বর","অক্টোবর","নভেম্বর","ডিসেম্বর",""],"monthNamesShort":["জানু.","ফেব্রু.","মার্চ","এপ্রিল","মে","জুন","জুলাই","আগ.","সেপ্টে.","অক্টো.","নভে.","ডিসে.",""],"dayNames":["রবিবার","সোমবার","মঙ্গলবার","বুধবার","বৃহস্পতিবার","শুক্রবার","শনিবার"],"dayNamesShort":["রবি.","সোম.","মঙ্গল.","বুধ.","বৃহস্পতি.","শুক্র.","শনি."],"dayNamesMin":["র","স","ম","ব","ব","শ","শ"],"dateFormat":"dd-mm-yy","firstDay":1,"isRTL":false};
});
我用這個時候我發現孟加拉語作爲默認語言,並設置爲空時,我發現默認的是英文。
遺憾它沒有工作 –