Datatables Language, i don't get it.
Datatables Language, i don't get it.
halycon
Posts: 2Questions: 1Answers: 0
Hi,
i'm trying to use provided translation file like this:
<script src="//cdn.datatables.net/1.10.16/js/jquery.dataTables.min.js"></script>
<script>
$(function () {
$('#usertable').DataTable({
"language": {
"url": "//cdn.datatables.net/plug-ins/1.10.16/i18n/German.json"
},
"paging": false,
"lengthChange": false,
"searching": true,
"ordering": true,
"info": true,
"autoWidth": false,
});
});
</script>
But the DataTable is still englisch
Any advice?
Thank you!
Cheers
This question has an accepted answers - jump to answer
This discussion has been closed.
Answers
I'm afraid it looks like the German language file has a JSON error in it in the 1.10.16 release. It was corrected here.
For the moment your best option is probably just to use the file from the 1.10.15 release which doesn't have this issue: http://live.datatables.net/yoxepazo/1/edit .
Allan
Changing to 1.10.15 did it.
Thank you!