(function($){
	$.extend({
        i18n: function(str, args){
            var trans = str;
            if ( typeof this.regional != "undefined" && typeof  this.regional[str] != "undefined") {
                trans = this.regional[str];
            }
            if (args) {
                return $.sprintf(trans, args);
            }
            return trans;
        }

    });
})(jQuery);
