Changing Default text in Scheduler Component

Hi,

I am self hosting the default Nylas Scheduler and would like to know how can I change the default text for the buttons. I want to change the “Next” button to “Book Now” because I have added an eventOverride to book the meeting right after the time is selected. Would any advice on it. Thank you.

Hey @alienator , the localization prop in the component allows you to edit any label you like :slight_smile: here are the docs: Scheduler localization | Nylas Docs

Thank you @antoine. I ended up using a different method.

I used the slot label to update the text:
<div slot="timeslot-picker-cta-label">Book Now</div>

1 Like