Change the language of the dataTable client-side.
Change the language of the dataTable client-side.
Hello there,
I want to provide the datatable autogenerated information (search,show entries,showing 1ourofx entries, first, previous, next, last.
My problem is the following, I am using id's or class css tags in order to identify the item and properly translate it.
The first, previous, next, last elements do have an id so it is easy for me to write directly and replace the original text.
However , search, show entries, showing 1outofx entries is information that is directly placed without any id. Could you please add something like "<span id="search"></span> instead of the "Search".
Kind Regards,
Answers
Actually I just figure out this my own, I replaced the Search: inside the js with <span id="search"></span> and now i can handle the text in my other javascript library.