Internationalisation
Internationalisation
I am addapting the DataTable to our language, it seems to work fine for most fields, but some just do not want to change, sFirst, sNext, sPrevious and sLast all work, but sSearch and the others do not change on my page.
[code]
$(document).ready(function() {
$('#historyTable').dataTable( {
'oLanguage': {
'oPaginate': {
'sFirst' : 'Eerste',
'sLast' : 'Laatste',
'sNext' : 'Volgende',
'sPrevious': 'Vorige',
'sSearch':'Zoek',
'sEmptyTable': 'Leeg',
"sInfo": "Totaal van _TOTAL_ lijnen (_START_ tot _END_)",
"sLengthMenu": 'Toon '+
'10'+
'20'+
'30'+
'40'+
'50'+
'Alles'+
' records'
}
}
} );
} );
[/code]
[code]
$(document).ready(function() {
$('#historyTable').dataTable( {
'oLanguage': {
'oPaginate': {
'sFirst' : 'Eerste',
'sLast' : 'Laatste',
'sNext' : 'Volgende',
'sPrevious': 'Vorige',
'sSearch':'Zoek',
'sEmptyTable': 'Leeg',
"sInfo": "Totaal van _TOTAL_ lijnen (_START_ tot _END_)",
"sLengthMenu": 'Toon '+
'10'+
'20'+
'30'+
'40'+
'50'+
'Alles'+
' records'
}
}
} );
} );
[/code]
This discussion has been closed.
Replies