zdarsky.peter zdarsky.peter - 2 months ago 22
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.

Answer

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

<script type="text/javascript">  
    $(".summernote").summernote({
        toolbar: [.....],
        lang: "da-DK"
    });
</script>
Comments