GIJGO
Run Example
Close Window
<!DOCTYPE html> <html> <head> <title>jQuery Editor Localization</title> <meta charset="utf-8" /> <script src="https://code.jquery.com/jquery-3.3.1.min.js"></script> <link href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet" type="text/css" /> <script src="https://unpkg.com/gijgo@1.9.14/js/gijgo.min.js" type="text/javascript"></script> <script src="https://unpkg.com/gijgo@1.9.14/js/messages/messages.fr-fr.js" type="text/javascript"></script> <script src="https://unpkg.com/gijgo@1.9.14/js/messages/messages.bg-bg.js" type="text/javascript"></script> <script src="https://unpkg.com/gijgo@1.9.14/js/messages/messages.de-de.js" type="text/javascript"></script> <script src="https://unpkg.com/gijgo@1.9.14/js/messages/messages.pt-br.js" type="text/javascript"></script> <script src="https://unpkg.com/gijgo@1.9.14/js/messages/messages.ru-ru.js" type="text/javascript"></script> <script src="https://unpkg.com/gijgo@1.9.14/js/messages/messages.es-es.js" type="text/javascript"></script> <script src="https://unpkg.com/gijgo@1.9.14/js/messages/messages.it-it.js" type="text/javascript"></script> <script src="https://unpkg.com/gijgo@1.9.14/js/messages/messages.tr-tr.js" type="text/javascript"></script> <script src="https://unpkg.com/gijgo@1.9.14/js/messages/messages.ja-jp.js" type="text/javascript"></script> <script src="https://unpkg.com/gijgo@1.9.14/js/messages/messages.zh-cn.js" type="text/javascript"></script> <script src="https://unpkg.com/gijgo@1.9.14/js/messages/messages.zh-tw.js" type="text/javascript"></script> <link href="https://unpkg.com/gijgo@1.9.14/css/gijgo.min.css" rel="stylesheet" type="text/css" /> <link href="/Content/demo.css" rel="stylesheet" type="text/css" /> </head> <body> <div class="gj-margin-top-10"> <form class="display-inline"> <label for="ddlLanguage">Language:</label> <select id="ddlLanguage"> <option value="en-us">English</option> <option value="fr-fr">French</option> <option value="bg-bg">Bulgarian</option> <option value="de-de" selected="selected">German</option> <option value="pt-br">Portuguese (Brazil)</option> <option value="ru-ru">Russian</option> <option value="es-es">Spanish</option> <option value="it-it">Italian</option> <option value="tr-tr">Turkish</option> <option value="ja-jp">Japanise</option> <option value="zh-cn">Chinise Simplified</option> <option value="zh-tw">Chinise Traditional</option> </select> </form> </div> <div class="gj-clear-both"></div> <div class="gj-margin-top-10"> <textarea id="editor">Hover <b><u>buttons</u></b> in the toolbar in order to see localized tooltips</textarea> </div> <script type="text/javascript"> var editor, editorConfig; editorConfig = { locale: 'de-de', uiLibrary: 'bootstrap' }; $(document).ready(function () { editor = $('#editor').editor(editorConfig); $('#ddlLanguage').on('change', function () { var newLang = $(this).val(); editorConfig.locale = newLang; editor.destroy(true, true); editor = $('#editor').editor(editorConfig); }); }); </script> </body> </html>