How to change language after initialization ?

How to change language after initialization ?

janbugujanbugu Posts: 4Questions: 2Answers: 0
edited May 2016 in Free community support

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

Answers

  • allanallan Posts: 61,740Questions: 1Answers: 10,111 Site admin
    Answer ✓

    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

  • janbugujanbugu Posts: 4Questions: 2Answers: 0

    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.

This discussion has been closed.