I used the i18n plugin to download the * .properties file for translation and its work on the Android platform, but the same library does not work on iOS 10.3.1. This gives me the error below:

I made some changes to the i18n library, but still does not work.
function loadAndParseFile(filename, settings) { $.ajax({ url: filename, async: false, cache: settings.cache, crossDomain: true, jsonpCallback:'callback' contentType:'text/plain;charset='+ settings.encoding, dataType: 'text', success: function(data, status) { parseData(data, settings.mode); } }); }
In the above code:
i was added Cross Domain 'true' and datatype 'text' .. when I changed the data type 'text' to 'jsonp' it works, but it gives a .properties file error. Please check below errors.

It means. file uploaded, but internal data format is different.
javascript jquery ajax ios
Goku
source share