Is there a way to internationalize my plugin without modifying the original ckeditor/lang/*.js files? I don't know where to place my i18n files, how to load them, etc.
And another thing, is there a way to load plugins outside of ckeditor/plugins? I've tried using CKEDITOR.plugins.addExternal, but to no luck. The same plugin placed under ckeditor/plugins and loaded with CKEDITOR.config.extraPlugins works perfectly.
Thank you.
And another thing, is there a way to load plugins outside of ckeditor/plugins? I've tried using CKEDITOR.plugins.addExternal, but to no luck. The same plugin placed under ckeditor/plugins and loaded with CKEDITOR.config.extraPlugins works perfectly.
Thank you.
Re: Plugin i18n
I created this plugin which pulls in all it's bits and bobs from another area where I have some funky perl that passes the javascript thr a template toolkit like parser... long story as to why but it was necessary.
Is this any use to you?
Re: Plugin i18n
Still trying to find out how to internationalize my plugin...
Re: Plugin i18n
Unless you want to tweak the core/lang.js
Good luck
Re: Plugin i18n
You can read the code of other plugins in the forum to learn how to do it, or read the source.
Re: Plugin i18n
Re: Plugin i18n
Add a language file for each language in a directory 'lang' in your plugin directory:
Start your plugin with the available language codes:
Now you can use you locales: