I am writing the plugin for jQuery. I have the problem with the extension plugin. I wrote the plugin for example: http://docs.jquery.com/Plugins/Authoring.
See the following example code:
(function($){
var i18n = {};
var methods = {};
$.fn.myPlugin = function(options){
//...
};
})(jQuery);
How can I extend the property i18n?
I want to be able to support the internationalization plug-in settings which are stored in the separate file. How should I do?
For example:
From here http://www.learningjquery.com/2007/10/a-plugin-development-pattern.
This is a very nice tutorial to get started with