Closed redamimouni closed 11 years ago
Have you find the solution ? Localize works with 1.9 version ?
I also tried with jquery 1.9 and have this error : [LOG] Error: SyntaxError: JSON Parse error: Unexpected EOF
No, I didn't find the solution, so I moved and I worked with i18next, another jquery plugin.
hi eclectic
apparently there is something wrong with your json file
i have successfully managed to integrate jquery.localize in my apps using jquery 1.9
{ "key" : "value", "key1" : "value1" }
that is valid json object
alex
I've added your json and have the same error. It works with jQuery 1.7
I'm sure you've since solved the problem, but the error is about malformed JSON. An easy mistake is to forget that JSON is not javascript, and you need quotes around your keys in JSON. That's sometimes the tricky source of JSON parse errors. The plugin works w/ jQuery 1.9.
Hi,
i'm trying to localize my jquery mobile application with jquery-localize, I followed the steps in https://github.com/coderifous/jquery-localize , I have an exception in jquery-1.9.1 "Uncaught SyntaxError: Unexpected end of input". I tried to resolve it, but the problem still persist. Now I'm wondering if the plugin works with the jquery version that i'm using.