bootstrap table 插件多语言切换

在bootstrap中的bootstrap table 插件在多语言切换的审核,只需要如下操作

引入bootstrap-table-locale-all.js文件

$('#Grid').bootstrapTable({

locale: "zh-CN"

});

或者直接引用相应的本地化js文件,如bootstrap-table-zh-CN.min.js