Open alexeydg opened 1 year ago
I found a bug, if you connect the translation from the json file, then the filter is not shown
language: {
url: "/static/plugins/datatables/ru.json"
},
I can confirm the behavior described above. The filter are gone after activating the translation via the json file. I used the german translation file.
Oh, thank you ... that's really puzzling, isn't it?
I will label this issue as a bug and sooner or later hopefully investigate it.
In the meantime, a quick and dirty workaround, although not very elegant, could be:
language: {
"sProcessing": "Подождите...",
"sLengthMenu": "Показать _MENU_ записей",
"sZeroRecords": "Записи отсутствуют.",
"sInfo": "Записи с _START_ до _END_ из _TOTAL_ записей",
"sInfoEmpty": "Записи с 0 до 0 из 0 записей",
"sInfoFiltered": "(отфильтровано из _MAX_ записей)",
"sInfoPostFix": "",
"sSearch": "Поиск:",
"sUrl": "",
"oPaginate": {
"sFirst": "Первая",
"sPrevious": "Предыдущая",
"sNext": "Следующая",
"sLast": "Последняя"
},
"oAria": {
"sSortAscending": ": активировать для сортировки столбца по возрастанию",
"sSortDescending": ": активировать для сортировки столбцов по убыванию"
}
}
instead of
language: {
url: "https://cdn.datatables.net/plug-ins/9dcbecd42ad/i18n/Russian.json"
}
Hello, in your demo has flters in my example they don't show