The language options don't apply in search panes
The language options don't apply in search panes

Hello, When we set translations for language options such as "sZeroRecords", "sEmptyTable", "sInfo" the translations apply to the table and are shown correctly but in search panes the translations don't apply and the default messages are shown for ZeroRecords, EmptyTable, etc instead of translations.
Please help how to set any translations for language options in search panes?
When we set Info option for a column in search panes like:
columnDefs: [
{
searchPanes: {
dtOpts: {
info: true
}
},
targets: [2]
}
]
Is it possible to customize translation for this option?
Replies
At the moment you would use the
dtOpts
object similar to how you have done for theinfo
property. In that would you specify thelanguage
options you want.Good point though, I think it should propagate the language options down to the pane tables. I’ve filed a bug for that and we’ll post back when done (although it might be a few weeks).
Allan
Hi @saeid2020 ,
That should be the issue fixed now as you can see at this example. This will be available in the next SearchPanes release which we hope will be in the next few weeks. Until then you can access the fix from the nightly builds.
Hope this helps,
Sandy