Internationalisation for (at least) "info" does not apply if 0 elements are shown

Internationalisation for (at least) "info" does not apply if 0 elements are shown

modogomodogo Posts: 2Questions: 1Answers: 0

Link to test case: https://codepen.io/vigorouscoding/pen/wvprEPg
Debugger code (debug.datatables.net): -
Error messages shown: -
Description of problem: In the above test case I have set the "language.info" setting to "Showing START to END of XXX TOTAL XXX entries". When a search is performed and 0 results are shown, then this is not applied.

(in my real world usage I have HTML inside that string to enable testing)

Any chance that this is fixed? Or is this intentional.

Thank you!

This question has an accepted answers - jump to answer

Answers

  • colincolin Posts: 15,112Questions: 1Answers: 2,583
    Answer ✓

    That's intentional - for that empty table message you would use language.infoEmpty,

    Colin

  • modogomodogo Posts: 2Questions: 1Answers: 0

    thank you!

    I've obviously been blind - sorry!

Sign In or Register to comment.