I want to translate those toggle On and Off

I have a related list in an SpDataTable with toggles buttons, but they show in english when the list is edited.

How may I do that ?

1 Like

I finaly find the way to do it :

fd.spRendered(function () {

fd.control('SpDataTableSourcesDonnees').$on('edit', function(editData) {
    $('.k-switch-label-on').text('Oui');
    $('.k-switch-label-off').text('Non');
});

});

Have a good day :wink:

1 Like