Select2: Can the default translation and noResult key be used?
Here is my select2 working mode:
$('.select2-customers-search').select2({
language: {
noResults: formatNoCustomer
}
});
Here's my default translation:
$.fn.select2.defaults.set('language', 'fr');
When I remove noResults from select2 the translation works fine, but when I add it the translation no longer works.
Is it possible to use both?
+3
source to share
No one has answered this question yet
Check out similar questions: