[issue] Custom toolbar Example invalid when specified a i18n language file

[issue] Custom toolbar Example invalid when specified a i18n language file

BigBrother5BigBrother5 Posts: 2Questions: 1Answers: 0

Hello everyone, I am newer to datatables. And When I practiced the "Custom toolbar elements" snippets, I found a problem that custom element can not visibile when you specified a language file. here is the demo code.

http://live.datatables.net/rogagedu/29/
And another problem is when I specified a language file and I selected a row. that message in pagination info was not translate.

What can I do to resolve these problems? thank you so much

Answers

  • BigBrother5BigBrother5 Posts: 2Questions: 1Answers: 0

    hey guys. I resolved the second problem by review the i18n plugin api. add some json data to lang files.

    "select": {
    "rows": {
    "_": "选中%d行数据",
    "0": "",
    "1": "选中1行数据"
    }
    }

This discussion has been closed.