Closed rogergithubbing closed 11 years ago
I fixed that ! the error mentioned that $.fn.wysihtml5.locale was undefined, so I went to bootstrap-wysihtml5.js and saw that that was no mention to locale there.
What happened was that I've followed the link to download 'The latest version' from the page https://github.com/jhollingworth/bootstrap-wysihtml5/, section 'quick start'... The latest version referenced here does not seem to be the latest bootstrap-wysihtml5-0.0.2.zip, updated a year ago.
Once I've downloaded the version from that 'Download ZIP' button instead it worked.
The only thing left to do was to add header 4-6 to the translation file in spanish, as on the editor's toolbar were appearing three 'undefined' items. I hope it helps others.
Hello,
I'm getting the mentioned error when trying to use the localized es-ES version.
The order I'm including the .js files is this:
jquery-1.9.1.min.js bootstrap.min.js bootstrap-editable.js moment_langs.js bootstrap-formhelpers-selectbox.js wysihtml5-0.3.0_rc2.js bootstrap-wysihtml5.es-ES.js bootstrap-wysihtml5-0.0.2.js
If I delete the reference for bootstrap-wysihtml5.es-ES.js the error dissapears, obviously, but I cannot get I18n.
Thanks in advance,
Roger Tranchez