Hi,
I've recently had an issue regarding the *.json file extension used for the localization files. My web application (SharePoint 2010) hosting your plugin has an http handler defined for this extension and interferes with the plugin... hence, it doesn't work. I've had no other choice but to recode your plugin to use an optional fileExtension option parameter:
...
loadLanguage = function (pkg, lang, level) {
var file,
fileExt = ".json";
if (options.fileExtension) {
fileExt = options.fileExtension;
}
...
It works fine when I use *.js file extensions. Hopefully, you can include this in your next release! ;)
Thanks,
Hi, I've recently had an issue regarding the *.json file extension used for the localization files. My web application (SharePoint 2010) hosting your plugin has an http handler defined for this extension and interferes with the plugin... hence, it doesn't work. I've had no other choice but to recode your plugin to use an optional fileExtension option parameter: ... loadLanguage = function (pkg, lang, level) { var file, fileExt = ".json"; if (options.fileExtension) { fileExt = options.fileExtension; } ...
It works fine when I use *.js file extensions. Hopefully, you can include this in your next release! ;) Thanks,
Yohan