Adding an option for localization for SearchBuilder delete button?

Adding an option for localization for SearchBuilder delete button?

fiji885fiji885 Posts: 7Questions: 3Answers: 0

Hi.
Is there a way to add a language option (localization) for the delete button for criteria? Currently, I do not see any options in the documentation to do so. Instead of an 'x' used for it, where could I define the option to instead have the delete button display something else?

Test case: http://live.datatables.net/huzexoni/1/

Replies

  • colincolin Posts: 15,177Questions: 1Answers: 2,590

    I believe it should be language.searchBuilder.deleteTitle, but it's setting the title, but not the text. I've raised it internally (DD-2353 for my reference) and we'll report back here when there's an update.

    Cheers,

    Colin

  • sandysandy Posts: 913Questions: 0Answers: 236

    Hi @fiji885 ,

    I've created three new language options for this. One each for the delete, left and right buttons.

    • language.searchBuilder.delete
    • language.searchBuilder.left
    • language.searchBuilder.right

    This will be available in the next SearchBuilder release which we hope will be in the next few weeks. Until then you can access the fix from the nightly builds.

    Thanks,
    Sandy

  • fiji885fiji885 Posts: 7Questions: 3Answers: 0

    @sandy
    That's awesome! Thanks :smile:

Sign In or Register to comment.