How to switch language on pages containing charts created using Forena? I have created a chart using Forena Reports. I have created a menu with this chart as one of the links.

I have also installed the Language Switcher Dropdown module for choosing between 3 languages. When I choose between any of the languages, the page will get refreshed and I will be able to see the transalated version.

But this is not happening when I am in the chart page. When I choose other language page is not even getting refreshed also language is not getting changed. When I go to other pages and try the same, everything is working as expected.



Note: When I go to the chart page I can see this error in console: 


  Uncaught TypeError: $(...).dataTable is not a function


which is coming from the datatables.js file inside the forena report.
As per the "uncaught TypeError: $(...).dataTable is not a function" you mentioned, it sounds to me that what your language problem is actually not a language problem, but some installation issue related to what's required to Enable Data Tables support. I'd recommend you to first try to resolve that error (as explained in the documentation in the mink I mentioned before, which you can also find in your own site located at /reports/help.setup#datatables.

You may also want to look at my answer to the question about "How to translate the title, axis labels and legend of a chart?" for the typical steps required to correctly translate a chart create with Forena (just to make sure such translation exist for each of your languages, and that the URL for each translation of the report is correct, and does exist).

If neither of this helps to sort out what's happening, then please further enhance your question by including your report/chart specifications (= what's called the "frx"-source in Forena). After doing so, I'd be happy to try to further enhance my answer also.

Disclosure: I'm a co-maintainer of Forena Reports.