default language
default language
hello
Excuse my english but I'm French developer.
I want extend datatable to put the olanguage option with french value without having to write to each new database.
I try this :
[code]
$.fn.dataTable = $.extend($.fn.dataTable,
function classSettings (){
this.oLanguage = {
"sProcessing": "Traitement en cours...",
"sLengthMenu": "Afficher _MENU_
Excuse my english but I'm French developer.
I want extend datatable to put the olanguage option with french value without having to write to each new database.
I try this :
[code]
$.fn.dataTable = $.extend($.fn.dataTable,
function classSettings (){
this.oLanguage = {
"sProcessing": "Traitement en cours...",
"sLengthMenu": "Afficher _MENU_
This discussion has been closed.
Replies
You can also use an AJAX source:
[code]
$('#table').dataTable({
"oLanguage": { "sUrl": "../res/js/dataTables.fr.txt" }
});
[/code]
where the text contains the oLanguage object:
[code]
{
"sProcessing": "Traitement en cours...",
"sLengthMenu": "Nombre maximum d'