I have a problem with the translation of select2 which is filled via an ajax call. I would like to translate the text result not found. If someone can help me it will be really nice.
CodePudding user response:
You can customize not found text using property noResults
Example of code
{
"language": {
"noResults": function(){
return "My custom No Results Found";
}
},