coderifous / jquery-localize

a jQuery plugin that makes it easy to internationalize your web site.
465 stars 142 forks source link

Local execution of website #65

Open alisandre opened 8 years ago

alisandre commented 8 years ago

Hi. I use your plugin in an application that can be used locally or hosted in a web server. I suggest to add an option for local use. I have modified the code with :

ajaxOptions = { url: file, dataType: "json", /async: false,/ crossDomain: true, isLocal: true, timeout: options.timeout != null ? options.timeout : 500, success: successFunc, error: errorFunc };

at the line 71. Excuse me if I had some mistake with posting suggestion, but it's my first time :) Have a good day. Alessandra.