bootstrap-wysihtml5
bootstrap-wysihtml5 copied to clipboard
Unable to render an i18n translation
Done as doc, but it posts an error:
bootstrap-wysihtml5.zh-CN.js:5
Uncaught TypeError: Cannot set property 'zh-CN' of undefined
The error lines are:
(function($){
$.fn.wysihtml5.locale["zh-CN"] = {
font_styles: {
normal: "正文",
h1: "标题 1",
h2: "标题 2",
h3: "标题 3"
},
Hey @serser please take a look at this issue #322 It may help you with the error you get.