• Resolved digiblogger

    (@digiblogger)


    How can I translate language options into the shortcode:

    Original from datatables.net

    
    
    $('#example'String).DataTable( {
    
        language: {
    
            paginate: {
    
                previous: '?',
    
                next:     '?'
    
            },
    
            aria: {
    
                paginate: {
    
                    previous: 'Previous',
    
                    next:     'Next'
    
                }
    
            }
    
        }
    
    } );
Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author samsk

    (@samsk)

    Just add the language block into wp-datatable block.

    Thread Starter digiblogger

    (@digiblogger)

    This was, what I tried first:

    
        language: {paginate: {previous: '<', next: '>'}, aria: {paginate: {previous: 'Zurück',next: 'Weiter'}},
    

    Dont work

    Thread Starter digiblogger

    (@digiblogger)

    Got it ??

    
      language: {
        "decimal":        ",",
        "emptyTable":     "No data available in table",
        "info":           "Showing _START_ to _END_ of _TOTAL_ entries",
        "infoEmpty":      "Showing 0 to 0 of 0 entries",
        "infoFiltered":   "(filtered from _MAX_ total entries)",
        "infoPostFix":    "",
        "thousands":      ",",
        "lengthMenu":     "Show _MENU_ entries",
        "loadingRecords": "Loading...",
        "processing":     "Processing...",
        "search":         "Search:",
        "zeroRecords":    "No matching records found",
        "paginate": {
        "first":      "First",
        "last":       "Last",
        "next":       "Next",
        "previous":   "Vorherige"
        },
        "aria": {
            "sortAscending":  ": activate to sort column ascending",
            "sortDescending": ": activate to sort column descending"
        }
    }
    
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Language options’ is closed to new replies.