Localization for a custom button in TinyMCE

I added a TinyMCE button with this:

editor.addButton('x', {
    title : 'do stuff',
    onclick : function() {
    }
});

      

In the setting function. It works well. But I need to localize the title. How can I do this (easiest way)?

+3


source to share





All Articles