i18n Support

Include libraries with lang file. eg: muds-da-DK.min.js.


Example:


                    

                    
<!-- Include the MUDS stylesheet -->
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/muds-editor@1.6.0/muds.min.css">

<!-- Create the editor container -->
<textarea id="editor"></textarea>

<!-- Include the MUDS library -->
<script src="https://cdn.jsdelivr.net/npm/muds-editor@1.6.0/muds.min.js"></script>

<!-- Include language file -->
<script src="https://cdn.jsdelivr.net/npm/muds-editor@1.6.0/muds-da-DK.min.js"></script>

<!-- Initialize MUDS editor -->
<script>
var muds = new muds({
    selector: 'editor',
    language: 'da-DK'
});
</script>
                    

Supported languages

Language Option CDN
Danish 'da-DK' https://cdn.jsdelivr.net/npm/muds-editor@1.6.0/muds-da-DK.min.js
German 'de-DE' https://cdn.jsdelivr.net/npm/muds-editor@1.6.0/muds-de-DE.min.js

Is your language not yet supported? Download the template and translate it yourself.