We are trying to translate our pivot grid (v2.416) to french (fr.json that we get from the github)
but it doesn’t seem to work and it throws a lot of errors in the browser console.
The fr.json file is loaded (see screens) and we tried other files (en.json, es.json …).
Whenever we try to add localization to the Flexmonster instance (global), the pivot grid can’t be drawn and we get a
“Maximum call stack size exceeded” in the console. (flexmonster_global.jpg)
On the other hand, when we put the localization directly into the report, the pivot grid is drawn but only the Fields sub-screen
is partially translated. (flexmonster_report_fields.jpg & flexmonster_report_console.jpg)
Any ideas would be really appreciated.
Thx in advance
Thank you for your question. Please find the example of applying localization here: http://jsfiddle.net/Lz8sjbnf/67/. Also, we have attached the latest localization file with all the necessary properties. Please note, that some of the properties may be untranslated. In such case, you will need to search them in the file and replace the English translation with the French.
Please let us know if everything works fine for you.
Thanks for the answer Dmytro.
I used that exact example to implement localization (and tried your fr.json file) but I get the same errors.
I think another framework is causing the issue. Our pivot grid is embedded in an ExtJS 3.4 container or panel.
Everything works just fine if we don’t use localization, but when we do : https://jsfiddle.net/zh2fevr0/
Thank you for the detailed feedback. We have managed to reproduce the issue on our side. The necessary fix will be added to the next minor release ETA May 7.
We are glad to inform you that the version with the fix has already been released. You are welcome to update the component.
Thanks Dmytro, everything works just fine with the last version.