Using external language file

Using external language file

komserbeykomserbey Posts: 25Questions: 0Answers: 0
edited June 2013 in Editor
Hello,

Is it possible to use an external language file in Editor? In Datatables, it is possible. But I cant figure out for Datatables.

Please help.

Regards,

K

Replies

  • allanallan Posts: 61,446Questions: 1Answers: 10,054 Site admin
    In DataTables you can use the oLanguage.sUrl option, but in Editor there isn't the option to have it get the language information by Ajax. That's something I'll look at adding in 1.3, and also the ability to have it read language information from the DataTables language object, so you could have just one Ajax request.

    At the moment, you'd need to make the $.ajax call yourself and assign the result as required in the initialisation variables.

    Regards,
    Allan
  • komserbeykomserbey Posts: 25Questions: 0Answers: 0
    Thank you Allan!

    Regards,

    Komserbey
This discussion has been closed.