Localization of the thext (x) selected

Hi Syncfusion team,

i can't find nothing in the documentation how to change the text of the "selected" text.

In https://ej2.syncfusion.com/javascript/documentation/multi-select/localization/
there are just 2 examples:
 'noRecordsTemplate': "Aucun enregistrement trouvé",
'actionFailureTemplate': "Modèle d'échec d'action"

i added a capture of the text i need to change.

Thank you in advance

Attachment: multiselect_text_23460cac.zip

1 Reply 1 reply marked as answer

PM Ponmani Murugaiyan Syncfusion Team October 8, 2020 09:00 AM UTC

Hi Alberto, 

Greeting from Syncfusion support. 

You can set the selected text using localization “totalCountTemplate” properties. Please find the sample below for reference. 

L10n.load({ 
    'fr-BE': { 
      "multi-select": { 
            "noRecordsTemplate": "Aucun enregistrement trouvé", 
            "actionFailureTemplate": "La demande a échoué", 
            'overflowCountTemplate': "+${count} plus..", 
            'totalCountTemplate': "${count} choisi" 
         } 
     } 
}); 


Output: 

 


You can find the list of localize static text content properties according to the culture currently assigned to the Multiselect component. 


Regards, 
Ponmani M 


Marked as answer
Loader.
Up arrow icon