why do I have only one word translated in internationalization?

why do I have only one word translated in internationalization?

izumovizumov Posts: 178Questions: 14Answers: 0

My kod is

$(document).ready(function()

    {
    $('#goods').DataTable(
    
      
    {
        language: {
    search: "поиск",
    show: "показать",
     entries: "строк"
},
         
         "order": [[ 0, "desc" ]],
         select: true,
         scrollY: true,
         scrollX:true,
         "sRowSelect": "single",
        "processing": true,
        "bPaginate": true,
        "bSort": true,
        "serverSide": true,
        "autoWidth":true,
        // "ajax": "proc.php"
        "ajax": "server_processingclients011.php",

when the table is displayed, only the word search is translated and the words show and entries are not translated. What am I doing wrong?

Replies

  • kthorngrenkthorngren Posts: 21,152Questions: 26Answers: 4,919
    edited July 2019

    The language option doesn't have show and entries options. The docs show what all the options are. You will want to use the language.lengthMenu option.

    Kevin

This discussion has been closed.