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?
CKEDITOR.plugins.add( 'add', { init : function( editor ) { var command = editor.addCommand( 'add', new CKEDITOR.dialogCommand( 'add' ) ); command.modes = { wysiwyg:1, source:1 }; command.canUndo = false; editor.ui.addButton( 'Add', { label : editor.lang.add.title, command : 'add' }); CKEDITOR.dialog.add( 'add', '/cgi-bin/go.pl/ckfire/plugins/add/dialogs/add.js' ); } });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:
CKEDITOR.plugins.setLang( 'myPlugin', 'en', { myPlugin : { button : 'my button tooltip' } });Start your plugin with the available language codes:
CKEDITOR.plugins.add( 'imageXpert', { lang : [ 'en','nl' ],Now you can use you locales: