Angularjs 更改ui.bootstrap.datepicker中的语言
我试图使日历信息以乌克兰语显示,因此首先我查看了这一点,并希望我能覆盖该模板:Angularjs 更改ui.bootstrap.datepicker中的语言,angularjs,datepicker,angular-ui-bootstrap,Angularjs,Datepicker,Angular Ui Bootstrap,我试图使日历信息以乌克兰语显示,因此首先我查看了这一点,并希望我能覆盖该模板: angular.module("uib/template/datepicker/datepicker.html", []).run(["$templateCache", function($templateCache) { $templateCache.put("uib/template/datepicker/datepicker.html", "<div class=\"uib-datepicke
angular.module("uib/template/datepicker/datepicker.html", []).run(["$templateCache", function($templateCache) {
$templateCache.put("uib/template/datepicker/datepicker.html",
"<div class=\"uib-datepicker\" ng-switch=\"datepickerMode\" role=\"application\" ng-keydown=\"keydown($event)\">\n" +
" <uib-daypicker ng-switch-when=\"day\" tabindex=\"0\"></uib-daypicker>\n" +
" <uib-monthpicker ng-switch-when=\"month\" tabindex=\"0\"></uib-monthpicker>\n" +
" <uib-yearpicker ng-switch-when=\"year\" tabindex=\"0\"></uib-yearpicker>\n" +
"</div>\n" +
"");
}]);
angular.module(“uib/template/datepicker/datepicker.html”,[])。运行([“$templateCache”,函数($templateCache){
$templateCache.put(“uib/template/datepicker/datepicker.html”,
“\n”+
“\n”+
“\n”+
“\n”+
“\n”+
"");
}]);
当我在datepicker.js中找不到任何内容时,我在datepicker.js中搜索,希望找到一些可以覆盖的名称为月份和天数的数组,但我什么也没找到。我不知道该怎么做,在这里也找不到合适的解决方案。如果您能告诉我(或显示我找不到的已回答的问题)如何使用最少的黑客和模拟进行此操作,我将非常感激:)到您的脚本中。将帮助您找到正确的文件。添加到脚本中。应该可以帮助您找到正确的文件。很高兴我能帮忙:)很高兴我能帮忙:)