Language problem
Language problem
satyriasis
Posts: 30Questions: 7Answers: 0
in General
Link to test case:
Debugger code (debug.datatables.net):
Error messages shown:
Description of problem: Hi guys, how do I put my language (Croatian) in $(document).ready(function() {
$('#moja').DataTable( {
language: {
url: 'dataTables.hr.json'
}
} );
} );
Because this doesnt translate anything!
This question has an accepted answers - jump to answer
Answers
It works OK here - are you sure you have that file available?
Colin
I am sorry, I am a bit new. How do You mean that I have that file available?
Solved it. Thanks! I am interested in how did you manage to make style like this? I have put this argument:
<link rel="stylesheet" type="text/css" href="https://cdn.datatables.net/1.11.3/css/jquery.dataTables.min.css">
and it still looks like basic table?
Glad sorted. In my example, there's
class="display nowrap"
on the table's HTML element. You would need to add that, or the styling that you prefer.Colin
This solved it. Thanks!