Title: TableTools -Code to translate from developer examples
Last modified: August 21, 2016

---

# TableTools -Code to translate from developer examples

 *  Resolved [James Barr](https://wordpress.org/support/users/james-barr/)
 * (@james-barr)
 * [13 years ago](https://wordpress.org/support/topic/tabletools-code-to-translate-from-developer-examples/)
 * Hi Tobias,
 * Thanks again.
    I am unsure how to convert or use the code examples from the Datatables
   for Tabletools website. If you could provide where it needs to be placed and 
   the language it needs to be translated to. I had success in editing the php file
   for hiding the csv icon etc. So I can follow the instruction. I am a noob at 
   this code but i can see its not the same as in the php file. example: [http://www.datatables.net/release-datatables/extras/TableTools/pdf_message.html](http://www.datatables.net/release-datatables/extras/TableTools/pdf_message.html)
   $(document).ready( function () { $(‘#example’).dataTable( { “sDom”: ‘T<“clear”
   >lfrtip’, “oTableTools”: { “aButtons”: [ “copy”, “csv”, “xls”, { “sExtends”: “
   pdf”, “sPdfOrientation”: “landscape”, “sPdfMessage”: “Your custom message would
   go here.” } “print” ] } } ); } );
 * [http://wordpress.org/extend/plugins/tablepress/](http://wordpress.org/extend/plugins/tablepress/)

Viewing 1 replies (of 1 total)

 *  Plugin Author [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [13 years ago](https://wordpress.org/support/topic/tabletools-code-to-translate-from-developer-examples/#post-3784888)
 * Hi James,
 * similar as to the changes with the buttons, and as in the other thread about 
   TableTools, you’ll have to modify line 60 of the file tablepress-datatables-tabletools.
   php with these new parameters.
 * Regards,
    Tobias

Viewing 1 replies (of 1 total)

The topic ‘TableTools -Code to translate from developer examples’ is closed to new
replies.

 * ![](https://ps.w.org/tablepress/assets/icon.svg?rev=3192944)
 * [TablePress - Tables in WordPress made easy](https://wordpress.org/plugins/tablepress/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/tablepress/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/tablepress/)
 * [Active Topics](https://wordpress.org/support/plugin/tablepress/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/tablepress/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/tablepress/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * Last activity: [13 years ago](https://wordpress.org/support/topic/tabletools-code-to-translate-from-developer-examples/#post-3784888)
 * Status: resolved