Change language for TableTools buttons
Change language for TableTools buttons
joelones
Posts: 7Questions: 1Answers: 0
I am trying to change the language for the three buttons I'm using for TableTools. I am able to change the locale correctly using oLanguage, but it does not affect the TableTools buttons.
[code]
"oTableTools": {
"sSwfPath": "{{ STATIC_URL }}datatables/extras/TableTools/media/swf/copy_csv_xls_pdf.swf",
"aButtons": [ "csv", "pdf", "print" ]
},
[/code]
Thoughts
[code]
"oTableTools": {
"sSwfPath": "{{ STATIC_URL }}datatables/extras/TableTools/media/swf/copy_csv_xls_pdf.swf",
"aButtons": [ "csv", "pdf", "print" ]
},
[/code]
Thoughts
This discussion has been closed.
Replies
Allan
I guess I would put the sButtonText text in my language file mapping:
[code]
"oLanguage": {
"sUrl": langFile
},
[/code]
[code]
...
"sSortDescending": ": activer pour trier la colonne par ordre décroissant"
},
"aButtons": {
"print": "imprimer"
}
[/code]
Or that just wouldn't work
Allan
Hi,
I can modify the language of the COPY button and the tooltip but I can't modify the text of the dialog window with the result "Tabled copied" and the text above: "Copied 57 rows to the clipboard"
thanks
Susana