select extension and i18n. Hide "rows, columns and cells selected" when nothing is selected?
select extension and i18n. Hide "rows, columns and cells selected" when nothing is selected?
berndy2001
Posts: 7Questions: 2Answers: 0
Hello,
I use datatables with translation and the select extension. I have a question about this.
Without localisation, "x rows selected" is only displayed when rows are selected.
With localisation, "x row selected x columns selected x cells selected" is always displayed, regardless of whether a row is selected or not.
I find the first behaviour optimal, how can I adopt this for internationalisation?
http://live.datatables.net/vuquzuva/2/edit
Thank you
Replies
Here is how it can be done: http://live.datatables.net/vuquzuva/3/edit .
I'd say the translation is a little wrong there - it should really try to follow the behaviour of the original, and the
0
options are missing there.Allan
Hello allan,
Thank you very much for the quick help. I have looked at other languages and also in the language editor, there is generally no option for
0
?That's a mistake - they should be in there. Thanks for flagging that up!
Allan