jquery-localize
jquery-localize copied to clipboard
Firefox takes 13.2 seconds to load JSON file, IE/Chrome take 5ms - Firefox won't load translated labels
Hi, I have a solution that works fine for Chrome/IE/Safari, but when run in Firefox it never loads the translated labels. Additionally the references JSON file takes 13 seconds to load (versus 5ms for Chrome).
How do I debug or attempt to resolve this ? Do the JSON files have to be saved in a certain way ? Kind regards Rich
UPDATE After some debugging, it turns out my JSON files were not stored in the correct format. Once I changed to UTF-8, everything worked great. Hope this helps someone else.
You may close your issue.