zdarsky.peter zdarsky.peter - 21 days ago 4x
Javascript Question

How to translate Summernote editor

I found that Summernote plugin, has a lot of js files with translations. But how to apply them? I already included them to my page.


You have to include translation source file on your page, a then when you initialize summernote editor, set the language.

<script type="text/javascript">  
        toolbar: [.....],
        lang: "da-DK"