Search Builder internationalization

Search Builder internationalization

ioclaudioioclaudio Posts: 13Questions: 3Answers: 0

Hi,
I'm using the Search Builder plugin in a table like this:
https://jsfiddle.net/ioclaudio/ugtz5m8x/6/

And I have added the directive to translate the labels of the table:
language: {
url: 'https://cdn.datatables.net/plug-ins/1.10.24/i18n/Italian.json',
},

However the labels of the Search Builder are not translated.

How can I translate the labels: "Add Condition", "Clear All", "Condition", etc.?

Is it possible to remove completely the label "Custom Search Builder" ?

Thank you

cld

Replies

  • tangerinetangerine Posts: 3,350Questions: 37Answers: 394

    There are some SearchBuilder translation examples here:
    http://live.datatables.net/fafewata/1/edit

  • sandysandy Posts: 913Questions: 0Answers: 236

    Hi @ioclaudio ,

    Tangerine has pointed you in the right direction. There was an error in the example that was referenced though so I've fixed that - the date time library needed to be included. See the example here - http://live.datatables.net/goluyutu/1/edit

    All of the translations for Italian have been provided to us, take a look at this page. It is possible that this has not been included in a release yet though which is why you can't access it from the cdn. It should be released there soon though.

    Thanks,
    Sandy

This discussion has been closed.