Missing translation for key warning in the Query widget

We are using some custom condition in Query widget as below shown,

var isLength = {

        id: "IsLength",

        value: "IsLength",

        batch: "text",

        handler: (a, v) => a.length <= v,

    };

While using these custom condition we are facing some console error in browser,

image

“Warning: Missing translation for key: “IsLength””

Is i need to add the IsLength in language list?

Please do the needful on this,

Thanks & Regards,
Vinosh M

Hello @vinoshmani ,

The Query is localized with a Locale plugin and _ method of the Webix Jet (including the fields conditions).

And, yes, this warning indicates that there is a missing translation for some label / filter condition in your case.

You could add the translation to the IsLength this way:

webix.ready(function(){
 // add translation to the default [en-US] locale
  query.locales.en.IsLength = "IsLength";
})

Here is an example with custom conditions: Code Snippet .
Notice that the provided translation will be applied here:
queryLocale