How to change language after initialization ?
How to change language after initialization ?
janbugu
Posts: 4Questions: 2Answers: 0
i understand that language.url
option can be used to support multiple languages. But is there a way to change the language after the table is initialized and data is loaded. Here I'm specifically interested on the text in the pagination controls, length menu etc... Thank you.
This question has an accepted answers - jump to answer
This discussion has been closed.
Answers
No - sorry. At this time the language strings are not configurable after the table has been created. You would need to destroy the existing table and create a new one with the new settings.
Allan
Thanks Allan for the quick reply. Im trying to use dataTables plugin in single page application. So i doubt destroying and recreation is the best option for me due to the memory concerns. Anyway thanks again and let me try.