guillaumevincent / vue-polyglot

basic translation plugin for VueJS 2+
https://guillaumevincent.github.io/vue-polyglot/example/
MIT License
43 stars 7 forks source link

XML Parsing Error "not well-formed Location" #8

Closed Seb35 closed 5 years ago

Seb35 commented 6 years ago

When using LessPass as Firefox extension, I got the warning "Erreur d’analyse XML : mal formé Emplacement : jar:file://[firefox-profile]/extensions/contact@lesspass.com.xpi!/dist/i18n/fr.json Numéro de ligne 1, Colonne 1 :" in the browser console log. I guess it is more precisely an issue in this library, hence filling an issue here.

Seb35 commented 6 years ago

Searching a bit about this type of warning, there is for instance this link on StackOverflow. It seems the MIME type should be explictely defined as "application/json". I’m not fluent in Vue.js, hopefully someone else will know how to implement this properly in Vue.js given this report.

guillaumevincent commented 6 years ago

I can only check this on monday :(

guillaumevincent commented 5 years ago

I don't get this issue on Firefox I close. Feel free to post on this thread to ask for extra help.