We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
close icon

ShedulerComponent with locale

Hello.

I wanted to know if it is possible to inject a locale to the scheduler component or if it is possible to replace the default texts with a customized one.
For example i wanted to translate to Portuguese.


I tried the following but with no results:

<ScheduleComponent
locale="pt-PT"
selectedDate={this.state.date}
startHour="06:00"
endHour="22:00"

>
<ViewsDirective>
<ViewDirective option="Day" eventTemplate={this.eventTemplate}/>
<ViewDirective option="WorkWeek" eventTemplate={this.eventTemplate} />
<ViewDirective option="Month" eventTemplate={this.eventMonthTemplate}/>
<ViewDirective option="TimelineDay" eventTemplate={this.eventTimelineTemplate}/>
</ViewsDirective>
<Inject services={[Day, WorkWeek, Month, Agenda, TimelineViews, Resize, DragAndDrop]}/>
</ScheduleComponent>


1 Reply

KK Karthigeyan Krishnamurthi Syncfusion Team April 15, 2019 05:38 AM UTC

Hi Angelo, 
 
Greetings from Syncfusion. 
 
Yes, kindly refer the below UG link. 
 
Regards, 
Karthi 


Loader.
Live Chat Icon For mobile
Up arrow icon