Missing translation

Missing translation

mertsaracmertsarac Posts: 2Questions: 0Answers: 0

I'm using the SearchBuilder feature on Datatables. Today, when I changed the liveSearch property to false, I noticed that the Search button did not appear in my language. I wanted to contribute through i18n to fix this, but there is no translation field for the Search button.

Replies

  • allanallan Posts: 63,916Questions: 1Answers: 10,535 Site admin

    Hi,

    Thanks for offering to contribute to the language!

    Under the "searchBuilder" section, find button.0 and button._ - those are the ones to translate the search button.

    button.0 is used when there is no search applied from the builder. button._ is used when a search is applied (with %d being replaced by the number of filters applied).

    Allan

  • mertsaracmertsarac Posts: 2Questions: 0Answers: 0
    edited January 28

    Hi,

    The button I mentioned appears when the liveSearch property is set to false, as marked in the attachment. button.0 and button._ do not change this button. There is no translation available for this button.

  • allanallan Posts: 63,916Questions: 1Answers: 10,535 Site admin

    Ah! Sorry, I was thinking of a different button. Thank you for flagging that up. searchBuilder.search is the property to control that one. Looks like I've missed it from the i18n contribution panel. I'll sort that out - thanks for letting me know.

    Allan

Sign In or Register to comment.