🍉 Meet Flexmonster Pivot Table & Charts 2.9.Check out all hot features!
Get Free Trial

UpdateData triggers localization file loading

Answered
Ilaria asked on May 25, 2021

Hi,
I would like to ask if there is any reason for loading localization files every time an ‘updateData’ fires.
We do a lot of calls to UpdateData method, so this is very time-consuming. Is there a way to ‘switch off’ programmatically this loading? Obviously we also use translations, so we need localization files but I think they should be loaded only once (or at least at each language change).
Here is a JSFiddle that shows you the issue (if you look at the network activity).
Select a language and then click ‘Update data’. I’ve also attached a screenshot from the Google-DevTools. You can see the multiple calls to the **.json file: the call stack starts from the updateData method.
Thank you in advance,
Ilaria
 

Attachments:
DevTools-Network.png

1 answer

Public
Vera Didenko Vera Didenko Flexmonster May 26, 2021

Hello, Ilaria,
 
Thank you for writing to us.
 
We have managed to reproduce the same behavior on our end as well.
Our team will provide an improvement so that the localization file is loaded only when required.
This will be available in the minor release version with the ETA 29th of June.
 
Please let us know if this would work fine for you.
 
Kind regards,
Vera

Please login or Register to Submit Answer