laughinghan / tinymce_mathquill_plugin

A MathQuill plugin for TinyMCE
7 stars 6 forks source link

Language should be customizable #11

Open laughinghan opened 12 years ago

laughinghan commented 12 years ago

We should TinyMCE's language pack system (e.g. so that @piacentini can plug in Portuguese), but it's terribly documented, this appears to be the best plugin-developer-oriented documentation they have: http://www.tinymce.com/wiki.php/Creating_a_plugin

ianconsolata commented 12 years ago

I believe we already do (hence the langs folder). I'm not sure what else we have to do, but form what I could gather you just replace the 'en' with the proper language, and duplicate what we did for english.

piacentini commented 12 years ago

As far as customizing the plugin strings one could duplicate/edit the lang/en.js and en-dlg.js files, no problem. But a related problem is the ability to customize the strings that show up in the editor tabs: Basic, Greek, Delimiters. Right now I am simply editing mathquill.js, but this is not ideal. At the same time, we do not want to bloat matquill.js.