Open kevinLB opened 7 years ago
@kevinLB Does the error you're seeing look something like this one:
TypeError: undefined is not an object (evaluating 'proto._localizationCache.messages = {}')
If so, this is a duplicate of #74, which was fixed in #65, which made it into version 1.0.1
. I've confirmed that upgrading to 1.0.1
or 1.0.2
resolved this issue for me.
Description
Actually we have a crash on old Safari browser (9.1) on El Capitan OS. The localize webcomponents seems buggy on it and crash badly.
Expected outcome
Everything is translated according to chrome / FF behaviors http://www.francetvinfo.fr/elections/resultats/export/histograms.html#lang=en
Actual outcome
Cause webcomponent crash because of localize on Safari 9.1 (El capitan). http://www.francetvinfo.fr/elections/resultats/export/histograms.html#lang=en
Steps to reproduce
Try to use "this.localize" for our translations. See errors on the browser console.
Browsers Affected